Tools

List server tools

Changed on

Lists every server tool OpenRouter can run on behalf of a model: accepted tools[].type spellings per API format, the engines behind it with their pricing, and how many endpoints run it natively.

get/tools

Request

  • Base URL
    https://openrouter.ai/api/v1
  • Auth
    HTTP bearer

Query parameters

offset, integer nullable

Number of records to skip for pagination. When both offset and limit are omitted, the full list is returned

limit, integer

Maximum number of records to return (max 100). When both offset and limit are omitted, the full list is returned

Example:50
api_format, 'responses' | 'chat-completions' | 'anthropic-messages'

Only tools usable on this API format

Example:responses

Response

The server tool catalog

ListToolsResponse required
data, ServerTool[] required
links, object required
total_count, integer required

Total number of tools

Example response

{
  "data": [
    {
      "aliases": [
        {
          "output_names": [
            {
              "name": "web_search",
              "type": "web_search_call"
            }
          ],
          "type": "web_search_20250305"
        }
      ],
      "default_engine": "native",
      "engines": [
        {
          "byok": "none",
          "data_regions": [
            "global",
            "us"
          ],
          "default_mode": "auto",
          "executed_by": "openrouter",
          "id": "exa",
          "name": "Exa",
          "pricing": [
            {
              "mode": "auto",
              "price": "0.007",
              "unit": "request"
            }
          ],
          "pricing_source": "openrouter"
        }
      ],
      "fallback_engine": "exa",
      "id": "openrouter:web_search",
      "input_schema": {
        "properties": {},
        "type": "object"
      },
      "name": "Web search",
      "native_support": {
        "endpoint_count": 18,
        "model_count": 12
      },
      "output_schema": {
        "properties": {},
        "type": "object"
      },
      "parameters_schema": {
        "properties": {},
        "type": "object"
      },
      "status": "active"
    }
  ],
  "total_count": 12
}

Changes