getSpecFile
Retrieve the contents of a specific file from an API specification. Provide the spec ID and file path to access the file.
Instructions
Gets the contents of an API spec's file.
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>",
"filePath": "<filePath>"
},
"name": "getSpecFile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| specId | Yes | Spec ID | |
| filePath | Yes | Path to the file |