> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Describe one provider-backed tool

> Returns the tool input schema, output schema, pricing guidance, and execution metadata. Read this before executing an unfamiliar tool.

Authentication: workspace API key in `Authorization: Bearer <key>`.

URL-encode path values, including `/` characters inside Play references and run IDs.

## Errors

| Status | Meaning |
| - | - |
| 400 | The request conflicts with current state or a retained request identity. |
| 401 | The request conflicts with current state or a retained request identity. |
| 404 | The request conflicts with current state or a retained request identity. |
| 500 | The request conflicts with current state or a retained request identity. |


## OpenAPI

````yaml openapi.json GET /api/v2/integrations/{toolId}/get
openapi: 3.1.1
info:
  title: Deepline API
  version: v2
  description: >-
    Discover typed GTM tools and callable Plays, then execute a tool or start
    and inspect a durable Deepline Play run. Use the MCP endpoint when your
    client supports Model Context Protocol.
  contact:
    name: Deepline support
    email: team@deepline.com
    url: https://deepline.com/contact
servers:
  - url: https://code.deepline.com
    description: Deepline production runtime API
security: []
tags:
  - name: Health
    description: Availability checks.
  - name: Billing
    description: Safe recovery of existing purchase intent.
  - name: Tools
    description: Discover and execute typed provider tools.
  - name: Plays
    description: Discover, start, and inspect durable Play runs.
externalDocs:
  description: API reference
  url: https://deepline.com/docs/api-reference
paths:
  /api/v2/integrations/{toolId}/get:
    get:
      tags:
        - Tools
      summary: Describe one provider-backed tool
      description: >-
        Returns the tool input schema, output schema, pricing guidance, and
        execution metadata. Read this before executing an unfamiliar tool.
      operationId: getTool
      parameters:
        - name: toolId
          in: path
          required: true
          description: The toolId returned by the related Deepline API call.
          schema:
            type: string
            minLength: 1
      responses:
        '200':
          description: A successful Runtime API response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToolDescription'
        '400':
          description: >-
            The request conflicts with current state or a retained request
            identity.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Unauthorized
        '401':
          description: >-
            The request conflicts with current state or a retained request
            identity.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Unauthorized
        '404':
          description: >-
            The request conflicts with current state or a retained request
            identity.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Unauthorized
        '500':
          description: >-
            The request conflicts with current state or a retained request
            identity.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: Unauthorized
      security:
        - bearerAuth: []
components:
  schemas:
    ToolDescription:
      oneOf:
        - $ref: '#/components/schemas/Tool'
        - $ref: '#/components/schemas/MonitorTool'
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          oneOf:
            - type: string
              description: Route-specific error message.
            - type: object
              properties:
                code:
                  type: string
                message:
                  type: string
                resolution:
                  type: string
              additionalProperties: true
    Tool:
      type: object
      required:
        - toolId
        - provider
        - operationId
        - description
      properties:
        toolId:
          type: string
        provider:
          type: string
        operationId:
          type: string
        description:
          type: string
        inputSchema:
          type: object
          additionalProperties: true
        outputSchema:
          type: object
          additionalProperties: true
      additionalProperties: true
    MonitorTool:
      type: object
      required:
        - toolId
        - provider
        - description
        - kind
        - callable
      properties:
        toolId:
          type: string
        provider:
          type: string
        description:
          type: string
        kind:
          type: string
          enum:
            - monitor_type
            - monitor_variant_index
        callable:
          type: boolean
          const: false
        payload_schema:
          type: object
          additionalProperties: true
        streams:
          type: array
          items:
            type: object
        variants:
          type: array
          items:
            type: object
      additionalProperties: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Deepline workspace API key
      description: >-
        Create a workspace API key in the Deepline dashboard before calling
        authenticated endpoints.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.