Get a spec's files
getSpecFilesRetrieves all files associated with an API specification by its ID, enabling direct access to the spec's components.
Instructions
Gets all the files in an API specification.
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": "getSpecFiles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| specId | Yes | The spec's ID. |