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

# Get OpenAPI Tool Info

> Fetches detailed information about a specific OpenAPI tool.

### Endpoint

**GET** `/v3/tools/openapi/{tool_id}`

### Description

Fetches detailed information about a specific OpenAPI tool.

### Authentication

API Key (`x-api-key`) in the header.

### Request Parameters

| Parameter | Type   | Description                     |
| --------- | ------ | ------------------------------- |
| `tool_id` | String | The ID of the tool to retrieve. |

### Curl Request

```bash theme={null}
curl -X GET "https://agent-prod.studio.lyzr.ai/v3/tools/openapi/{tool_id}" ^
-H "accept: application/json" ^
-H "x-api-key: sk-default-REDACTED"
```

### Response

Returns detailed information about the specified OpenAPI tool, including paths and methods.

***


## OpenAPI

````yaml get /tools/openapi/{tool_id}
openapi: 3.0.3
info:
  title: Lyzr OpenAPI Tool API
  version: 1.0.0
servers:
  - url: https://agent-prod.studio.lyzr.ai/v3
security: []
paths:
  /tools/openapi/{tool_id}:
    get:
      tags:
        - Tools
      summary: Get OpenAPI Tool Info by ID
      description: Fetches detailed information about a specific OpenAPI tool.
      operationId: getOpenApiToolById
      parameters:
        - name: tool_id
          in: path
          required: true
          description: The ID of the tool to retrieve.
          schema:
            type: string
      responses:
        '200':
          description: OpenAPI tool info retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    example: tool123
                  name:
                    type: string
                    example: Sample OpenAPI Tool
                  openapi_schema:
                    type: object
                    description: The OpenAPI schema defining the tool
                  paths:
                    type: object
                    description: Paths and operations available in the tool
        '401':
          description: Unauthorized - Invalid API key
        '404':
          description: Tool not found
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````