Discover workspace APIs
discover_apiList available APIs or inspect a specific API definition before scaffolding a test. Optionally include full file content for detailed review.
Instructions
Call when listing APIs or inspecting one API before scaffolding a test. For a single API, prefer api_card. For new tests, prefer scaffold_test once apiPath is known. selectedApi omits full file content unless includeContent is true. Do not use testlight, npx, npm, shell, or node dist/mcp/server.js.
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": {
"workspaceRoot": "<workspaceRoot>"
},
"name": "discover_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiPath | No | Optional API .mmt file path relative to workspaceRoot | |
| workspaceRoot | Yes | Workspace root directory | |
| includeContent | No | Include full API file content (default false) |