Get a spec's definition
getSpecDefinitionRetrieve the complete OpenAPI or AsyncAPI definition using a spec ID to access the full API structure and details.
Instructions
Gets the complete contents of an OpenAPI or AsyncAPI specification's definition.
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": {
"specId": "<specId>"
},
"name": "getSpecDefinition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| specId | Yes | The spec's ID. |