read_api_definition
Load and validate a full API YAML definition from a given workspace path, verifying the spec before running or chaining API requests.
Instructions
Read and validate a whole API YAML definition. Prefer summarize_api_definition for triage.
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": {
"definitionRelativePath": "<definitionRelativePath>"
},
"name": "read_api_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceRoot | No | Optional when MCP_WORKSPACE_ROOT is set. | |
| definitionRelativePath | Yes | Path under workspace, e.g. .mcp/api/default.yaml |