api_surface
Analyzes a repository to extract all API endpoints, tools, and commands across REST, MCP, CLI, GraphQL, gRPC, and public exports.
Instructions
Extract the complete API surface — REST endpoints, MCP tools, CLI commands, GraphQL, gRPC, public exports.
Args: path: Absolute path to the repository root directory.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "api_surface"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |