Get a spec's generated collections
getSpecCollectionsRetrieve all collections generated from an API specification by providing its spec ID and element type.
Instructions
Gets all of an API specification's generated collections.
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>",
"elementType": "<elementType>"
},
"name": "getSpecCollections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | The maximum number of rows to return in the response. | |
| cursor | No | The pointer to the first record of the set of paginated results. To view the next response, use the `nextCursor` value for this parameter. | |
| specId | Yes | The spec's ID. | |
| elementType | Yes | The `collection` element type. |