get_endpoint_details
Retrieve detailed schema for an API endpoint, with options for compact field:type summary or full OpenAPI schema and selective sections.
Instructions
Get detailed schema for a specific endpoint. Returns compact field:type summary by default. Use compact=false for raw OpenAPI schema. Use sections to request only specific parts.
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": {
"path": "<path>",
"method": "<method>"
},
"name": "get_endpoint_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | API path | |
| method | Yes | HTTP method (GET, POST, etc.) | |
| sections | No | Request specific sections only: 'summary', 'parameters', 'request_body', 'responses', 'content_types'. Default: all. | |
| compact | No | If true (default), show compact field:type summary. If false, return raw OpenAPI schema including $refs. Use compact=false if compact shows empty body. |