List API Endpoints
swagger_list_pathsLists all API paths and HTTP methods from a loaded OpenAPI spec, with optional tag filtering and pagination for progressive exploration.
Instructions
List all API endpoints (paths and HTTP methods) from a loaded OpenAPI spec, optionally filtered by tag.
Use this tool to get a high-level overview of all available API operations. Results can be filtered by tag for progressive exploration.
Args:
spec_name (string): Name of the previously loaded spec
tag (string, optional): Filter endpoints by this tag/group name
limit (number): Maximum results to return, between 1-200 (default: 50)
offset (number): Number of results to skip for pagination (default: 0)
Returns: { "total": number, // Total number of matching endpoints "count": number, // Number of results in this response "offset": number, // Current pagination offset "endpoints": [...], "has_more": boolean, "next_offset": number }
Examples:
Use when: "Show me all endpoints" -> params with spec_name=""
Use when: "List all user-related endpoints" -> params with spec_name="", tag="users"
Error Handling:
Returns error if the spec name has not been loaded yet
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Filter endpoints by tag/group name (e.g., 'users', 'pets', 'store'). Use swagger_list_tags to see available tags. | |
| limit | No | Maximum results to return (default: 50, max: 200) | |
| offset | No | Number of results to skip for pagination (default: 0) | |
| spec_name | Yes | Name of the previously loaded OpenAPI/Swagger spec (use swagger_list_loaded to see available names) |