Learn API contract
learn_contractRead the Learn API contract to inspect every operation, fetch a specific operation with its schemas by operationId or method and path, or load a whole contract file.
Instructions
Read the Learn API contract (OpenAPI 3.1 and JSON Schema, snapshot of 2026-11-26). With no arguments: every operation, by method, path and operationId. With operation (an operationId such as "developerChat", or "POST /v1/chat"): that operation with every schema it uses filled in. With file: one whole contract file (large). Use only fields the contract defines.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "learn_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | One whole contract file. | |
| operation | No | An operationId, or a method and path such as "GET /v1/requests/{request_id}". |