api_contracts
Find every API endpoint in your codebase by parsing OpenAPI/Swagger, GraphQL, Express/Fastify, NestJS, and FastAPI definitions; returns methods, paths, parameters, and types.
Instructions
Find all API endpoints in the codebase. Parses OpenAPI/Swagger specs, GraphQL schemas, Express/Fastify routes, NestJS controllers, FastAPI decorators. Returns method, path, parameters, and types.
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": "api_contracts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sources | Yes | ||
| endpoints | Yes | ||
| totalEndpoints | Yes | ||
| scannedPatterns | No |