list_api_definitions
Find YAML API definitions under .mcp/api, filter by path or catalog service/summary, and page results with cursor-based limits.
Instructions
List YAML API definition files under .mcp/api/. Returns files (paths), or entries (path/service/summary) with includeCatalogMeta or query; plus totalMatched, truncated and, when capped by maxFiles, a nextCursor to pass back as cursor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Case-insensitive substring filter on path and on service/summary from _catalog.yaml. | |
| cursor | No | `nextCursor` from the previous page. | |
| fields | No | Keep only these keys of each `entries` item (path/service/summary). | |
| sortBy | No | path | |
| maxFiles | No | Page size. | |
| globPattern | No | glob pattern relative to .mcp/api/ (default "**/*.{yaml,yml}") | |
| workspaceRoot | No | Absolute path to the project root (optional when MCP_WORKSPACE_ROOT is set). | |
| includeCatalogMeta | No | Return service/summary per path from `.mcp/api/_catalog.yaml`, if present. |