Claude · Schema
Tool
Definition of a tool that the model can use.
Artificial IntelligenceChatbotsConversational AIGenerative AILarge Language ModelsMachine-LearningNatural Language Processing
Properties
| Name | Type | Description |
|---|---|---|
| name | string | The name of the tool. Must match the regex ^[a-zA-Z0-9_-]{1,64}$. |
| description | string | A detailed description of what the tool does, when it should be used, and what each parameter means. |
| input_schema | object | JSON Schema object defining the expected parameters for the tool. |
| cache_control | object | |
| type | string | The type of tool. Omit for custom tools. Use specific type strings for server tools like web_search_20260209, code_execution_20260120, text_editor_20250728, etc. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Tool",
"title": "Tool",
"type": "object",
"description": "Definition of a tool that the model can use.",
"required": [
"name",
"input_schema"
],
"properties": {
"name": {
"type": "string",
"description": "The name of the tool. Must match the regex ^[a-zA-Z0-9_-]{1,64}$.",
"pattern": "^[a-zA-Z0-9_-]{1,64}$",
"example": "get_stock_price"
},
"description": {
"type": "string",
"description": "A detailed description of what the tool does, when it should be used, and what each parameter means.",
"example": "A sample description."
},
"input_schema": {
"type": "object",
"description": "JSON Schema object defining the expected parameters for the tool.",
"properties": {
"type": {
"type": "string",
"const": "object"
},
"properties": {
"type": "object",
"additionalProperties": true
},
"required": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"type"
],
"example": "example_value"
},
"cache_control": {
"$ref": "#/components/schemas/CacheControl"
},
"type": {
"type": "string",
"description": "The type of tool. Omit for custom tools. Use specific type strings for server tools like web_search_20260209, code_execution_20260120, text_editor_20250728, etc.",
"example": "example_value"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/claude-tool"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.