Get a spec's generated collections
getSpecCollectionsFetch all collections generated for an API specification using the spec ID. Pagination supported via limit and cursor to navigate results.
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. |