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

# Get detailed tool information

> Retrieve complete information about a specific tool including input/output schemas, examples, and usage.



## OpenAPI

````yaml /api-reference/openapi.yaml get /tools/{tool_name}
openapi: 3.0.0
info:
  title: Agent-CoreX API
  description: Dynamic tool retrieval and execution for AI agents using MCP servers
  version: 1.0.0
  contact:
    name: Agent-CoreX Support
    email: support@agent-corex.com
    url: https://github.com/anthropics/agent-corex
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
servers:
  - url: https://api.agent-corex.com/v1
    description: Production API
  - url: https://staging-api.agent-corex.com/v1
    description: Staging API
  - url: http://localhost:3000/v1
    description: Local development
security:
  - bearerAuth: []
  - apiKey: []
tags:
  - name: Tools
    description: Tool discovery and execution
  - name: Servers
    description: MCP server management
  - name: System
    description: System and health endpoints
externalDocs:
  description: Full documentation
  url: https://docs.agent-corex.com
paths:
  /tools/{tool_name}:
    get:
      tags:
        - Tools
      summary: Get detailed tool information
      description: >-
        Retrieve complete information about a specific tool including
        input/output schemas, examples, and usage.
      operationId: getTool
      parameters:
        - name: tool_name
          in: path
          required: true
          description: Name of the tool
          schema:
            type: string
          example: create-pull-request
      responses:
        '200':
          description: Tool information retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetToolResponse'
              examples:
                github_tool:
                  summary: GitHub tool example
                  value:
                    success: true
                    data:
                      name: create-pull-request
                      server: github-mcp
                      description: Create a new pull request on GitHub
                      category: version-control
                      tags:
                        - github
                        - git
                        - pr
                        - collaboration
                      inputSchema:
                        type: object
                        properties:
                          repository:
                            type: string
                          title:
                            type: string
                          from_branch:
                            type: string
                          to_branch:
                            type: string
                      outputSchema:
                        type: object
                        properties:
                          pr_number:
                            type: integer
                          pr_url:
                            type: string
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    GetToolResponse:
      type: object
      properties:
        success:
          type: boolean
        data:
          type: object
          properties:
            name:
              type: string
            server:
              type: string
            description:
              type: string
            category:
              type: string
            tags:
              type: array
              items:
                type: string
            inputSchema:
              type: object
            outputSchema:
              type: object
            examples:
              type: array
              items:
                type: object
                properties:
                  input:
                    type: object
                  output:
                    type: object
            authentication_required:
              type: string
            rate_limit:
              type: object
        meta:
          $ref: '#/components/schemas/ResponseMeta'
    ResponseMeta:
      type: object
      properties:
        request_id:
          type: string
          description: Unique request identifier
        timestamp:
          type: string
          format: date-time
          description: Request timestamp
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          example: false
        error:
          type: object
          properties:
            code:
              type: string
              enum:
                - INVALID_REQUEST
                - UNAUTHORIZED
                - FORBIDDEN
                - NOT_FOUND
                - RATE_LIMITED
                - SERVER_ERROR
            message:
              type: string
            details:
              type: object
              additionalProperties: true
        meta:
          $ref: '#/components/schemas/ResponseMeta'
  responses:
    Unauthorized:
      description: Authentication failed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT token obtained from dashboard
    apiKey:
      type: apiKey
      in: header
      name: Authorization
      description: API key in format "Bearer YOUR_API_KEY"

````