add_api_collection
Add a collection to an API using copy, create, or generate from schema operations.
Instructions
Add a collection to an API
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": {
"apiId": "<apiId>",
"operationType": "<operationType>"
},
"name": "add_api_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Collection data based on operation type | |
| apiId | Yes | API ID | |
| operationType | Yes | Type of collection operation |