list_endpoints
Extract and list all API endpoints from an OpenAPI spec, including paths, methods, summaries, and operation IDs. Filter results by tag or HTTP method to find specific routes.
Instructions
Extract and list all API endpoints from a previously parsed OpenAPI specification. Returns all paths, methods, summaries, and operation IDs.
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>"
},
"name": "list_endpoints"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | OpenAPI specification as JSON string | |
| filterByTag | No | Optional: Filter endpoints by tag | |
| filterByMethod | No | Optional: Filter endpoints by HTTP method (GET, POST, etc.) |