query_api
Query your API graph with natural language to find routes, models, and middleware. Identify unprotected routes or unused models.
Instructions
Query the API graph with natural language. Builds a graph of routes, models, frontend components, and middleware, then queries it. Examples: "unprotected routes", "routes that write to users", "unused models".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural language query (e.g., "unprotected routes", "routes that write to users") | |
| rebuild | No | Force rebuild the API graph (default: use cache) | |
| projectPath | Yes | Absolute path to the project root directory |