add_api_collection
Add API collections to Postman by copying existing ones, creating new collections, or generating from schemas to organize and manage API testing workflows.
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 |
|---|---|---|---|
| apiId | Yes | API ID | |
| operationType | Yes | Type of collection operation | |
| data | No | Collection data based on operation type |