describe_operation
Describe one API operation from an OpenAPI spec, showing merged path/operation parameters, request body, and all responses with resolved schemas in a compact, depth-limited outline.
Instructions
Describe one operation: parameters (merged path-level + operation-level), the request
body and every response with their schemas fully resolved and shown as a compact outline
(* = required property, ? = nullable, recursive schemas end in a <cycle: Name> marker).
path may use any parameter names (/pets/{id} matches /pets/{petId}). depth limits the
outline nesting (1-12).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"spec": "<spec>",
"path": "<path>",
"method": "<method>"
},
"name": "describe_operation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| spec | Yes | ||
| depth | No | ||
| method | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |