putCollection
Replaces an existing Postman collection's contents with a new collection in v2.1.0 format. Include ID values to avoid recreation; supports async updates with 'respond-async'.
Instructions
Replaces collection contents using Postman Collection v2.1.0 format. Include ID values or they'll be removed and recreated. Max size 100MB.
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": {
"collectionId": "<collectionId>"
},
"name": "putCollection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collectionId | Yes | Collection ID in format <OWNER_ID>-<COLLECTION_ID> | |
| Prefer | No | Use 'respond-async' for async update (returns 202) | |
| collection | No | Collection object in Postman Collection v2.1.0 format |