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

# Get a built-in tool by slug

> Returns a built-in tool's details by its slug identifier.



## OpenAPI

````yaml https://api-trial.cognigy.ai/swagger/openapi.json get /builtin-tools/{slug}
openapi: 3.0.3
info:
  contact:
    email: support@example.com
    name: API Support
  description: API for managing agents and related resources
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  termsOfService: http://swagger.io/terms/
  title: Agents API
  version: '1.0'
servers:
  - url: https://api-trial.cognigy.ai/v1
security:
  - ApiKey: []
tags:
  - name: Agents
  - name: Brand personas
  - name: Tools
  - name: Built-in tools
  - name: Skills
  - name: Built-in skills
  - name: MCP servers
  - description: >-
      Remote agents that speak the A2A (Agent2Agent) protocol. Available only
      while FEATURE_ENABLE_A2A_TOOLS is on; every route answers 404 otherwise.
    name: A2A agents
  - name: Tool references
paths:
  /builtin-tools/{slug}:
    get:
      tags:
        - Built-in tools
      summary: Get a built-in tool by slug
      description: Returns a built-in tool's details by its slug identifier.
      parameters:
        - description: The unique identifier for the built-in tool, in slug format.
          in: path
          name: slug
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/internal_builtinresources.BuiltinToolItem'
          description: Returns the built-in tool.
        '403':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/github_com_cognigy_ai-agents-v2_internal_middleware.ProblemDetailForbidden
          description: Access denied.
        '404':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/github_com_cognigy_ai-agents-v2_internal_middleware.ProblemDetailNotFound
          description: Built-in tool not found.
        '500':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/github_com_cognigy_ai-agents-v2_internal_middleware.ProblemDetailInternalError
          description: Internal server error.
components:
  schemas:
    internal_builtinresources.BuiltinToolItem:
      properties:
        available:
          description: |-
            `true` if the catalog currently offers the tool; `false` if it is no
            longer offered. Existing tool instances keep working if the value is
            `false`.
          example: true
          type: boolean
        defaultParameters:
          description: The default parameters of the built-in tool.
          items:
            $ref: >-
              #/components/schemas/internal_builtinresources.BuiltinToolParameterItem
          type: array
        description:
          description: A description of the built-in tool.
          example: What this tool does, in one line
          type: string
        imageUrl:
          description: The URL of the image for the built-in tool.
          example: https://example.com/icon.png
          type: string
        name:
          description: The name of the built-in tool.
          example: My Tool
          type: string
        slug:
          description: The unique identifier for the built-in tool, in slug format.
          example: my-tool-slug
          type: string
      type: object
    github_com_cognigy_ai-agents-v2_internal_middleware.ProblemDetailForbidden:
      properties:
        detail:
          example: 'access denied: insufficient permissions'
          type: string
        instance:
          example: /v1/{resource}/{id}
          type: string
        status:
          example: 403
          type: integer
        title:
          example: Forbidden
          type: string
        traceId:
          example: api--a4d2f126-bec4-4544-a049-7c0cf08524ed
          type: string
        type:
          example: about:blank
          type: string
      type: object
    github_com_cognigy_ai-agents-v2_internal_middleware.ProblemDetailNotFound:
      properties:
        detail:
          example: the requested resource does not exist
          type: string
        instance:
          example: /v1/{resource}/{id}
          type: string
        status:
          example: 404
          type: integer
        title:
          example: Not Found
          type: string
        traceId:
          example: api--a4d2f126-bec4-4544-a049-7c0cf08524ed
          type: string
        type:
          example: about:blank
          type: string
      type: object
    github_com_cognigy_ai-agents-v2_internal_middleware.ProblemDetailInternalError:
      properties:
        detail:
          example: internal server error
          type: string
        instance:
          example: /v1/{resource}
          type: string
        status:
          example: 500
          type: integer
        title:
          example: Internal Server Error
          type: string
        traceId:
          example: api--a4d2f126-bec4-4544-a049-7c0cf08524ed
          type: string
        type:
          example: about:blank
          type: string
      type: object
    internal_builtinresources.BuiltinToolParameterItem:
      properties:
        connectionTypes:
          description: >-
            The slugs of the connection types that the parameter accepts. The
            field

            applies only if `type` is `connection`.
          example:
            - http_basic
            - http_oauth2
          items:
            type: string
          type: array
        description:
          description: A description of the parameter.
          example: What this parameter is used for
          type: string
        key:
          description: The key that identifies the parameter in the tool.
          example: paramKey
          type: string
        mode:
          description: |-
            The mode of the parameter. The allowed values are `dynamic` and
            `aiFilled`.
          example: aiFilled
          type: string
        modeLocked:
          description: |-
            `true` if the mode of the parameter is fixed; `false` otherwise. A
            request that changes the mode of a locked parameter is rejected.
          example: true
          type: boolean
        name:
          description: The name of the parameter.
          example: paramKey
          type: string
        params:
          additionalProperties: {}
          description: >-
            Additional configuration for the widget. For the `select` widget,
            the

            `options` key holds a list of objects with `label` and `value`

            properties, which are the choices of the dropdown.
          type: object
        type:
          description: >-
            The data type that the parameter must have when you create a tool
            from the

            built-in tool. The API derives it from `widget`. The allowed values
            are

            `string`, `number`, `boolean`, `object`, `array`, and `connection`.
            Use it

            when you build a `POST /tools` request.
          example: string
          type: string
        value:
          description: >-
            The default value of the parameter. The field is absent if the
            parameter

            has no default value.
        widget:
          description: >-
            The UI control that the parameter uses. The allowed values are
            `text`,

            `select`, `json`, `keyValuePair`, `connection`, `number`,

            `booleanSelect`, and `textArray`. To decide how to render the
            parameter,

            use this field and not `type`.
          example: text
          type: string
      type: object
  securitySchemes:
    ApiKey:
      description: '[Production] API key for production authentication'
      in: header
      name: X-API-Key
      type: apiKey

````