search
Find API endpoints across all specifications using natural language or structured queries. Filter by HTTP method, tag, or path to target the exact endpoint you need.
Instructions
search
The ONLY tool for finding endpoints when you don't have the endpoint ID.
Searches endpoints across all specifications using full-text and structured queries.
When to use
Use this tool when:
The user asks to find a method/endpoint by description, name, path, tag, or functionality
The user describes functionality without knowing specific paths or tags
You need to find relevant endpoints based on natural language descriptions
You want to filter by HTTP method (
method:GET), tag (tag:auth), or path (path:user)
DO NOT
❌ Do NOT manually traverse spec → collection → tag → endpoint to find something. Use
search.❌ Do NOT guess endpoint IDs. Use
search.❌ Do NOT use
endpoint_by_tag/endpoint_by_collection/endpoint_by_specfor discovery — those are for navigation after you already know what you're looking for.❌ Do NOT skip
searchand try to brute-force your way through collections. Onesearchcall replaces dozens of manual navigation steps.
User Intent → Search Query Examples
User says | What to search |
"Find the create user endpoint" |
|
"Show all GET endpoints" |
|
"What relates to orders?" |
|
"Find endpoint by path /api/v1/users" |
|
"How do I delete a pet?" |
|
"Show all auth endpoints" |
|
"Find something about inventory" |
|
"Give me all POST requests in the store section" |
|
Parameters
query(required): Natural language or structured search query. Supports field filters (method:POST,tag:pet,path:/api/v1/*), boolean operators (+must,-exclude), fuzzy (term~), wildcards (*,?), and phrases ("exact phrase").path:filters match the full path prefix — e.g.path:/api/v3/*returns only endpoints whose path starts with/api/v3/;path:/api/v3/usersmatches that exact path. Queries containing/use AND between tokens — e.g./v1/seasonalmatches only endpoints with bothv1ANDseasonal, not all/v1/*endpoints.limit(required): Maximum number of results to return (min: 1, max: 50)
Returns
A list of endpoints matching the query with their IDs, methods, paths, and summaries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | Yes | required,Maximum number of results to return | |
| query | Yes | required,Search query. Supports field filters (method:GET tag:pets path:/v1/...). Queries containing '/' use AND between tokens for precise path matching. |