get_openapi_spec
Retrieve the full OpenAPI spec or a filtered section, and filter paths by regex to inspect specific endpoints and components.
Instructions
Return the full OpenAPI spec or a filtered section. Use section to get specific parts (info, paths, components, tags, servers, full). Use pathFilter to filter paths by regex pattern. Platform guides are tags carrying an x-guide object with an id (a common naming is guide:); use list_guides, get_guide and search_docs to read them instead of dumping the spec.
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": "get_openapi_spec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| section | No | Section to retrieve: info, paths, components, tags, servers, or full (default: full) | |
| pathFilter | No | Regex pattern to filter paths (e.g., '/users' to get all user-related endpoints) |