Run a collection
runCollectionRun a Postman collection by ID to get detailed test results and execution stats. Optionally apply an environment for variable substitution.
Instructions
Runs a Postman collection by ID with detailed test results and execution statistics. Supports optional environment for variable substitution. Note: Advanced parameters like custom delays and other runtime options are not yet available.
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": "runCollection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stopOnError | No | Gracefully halt on errors (default: false) | |
| abortOnError | No | Abruptly halt on errors (default: false) | |
| collectionId | Yes | The collection ID in the format <OWNER_ID>-<UUID> (e.g. 12345-33823532ab9e41c9b6fd12d0fd459b8b). | |
| environmentId | No | Optional environment ID to use for variable substitution during the run. | |
| scriptTimeout | No | Script timeout in milliseconds (default: 5000) | |
| stopOnFailure | No | Gracefully halt on test failures (default: false) | |
| abortOnFailure | No | Abruptly halt on test failures (default: false) | |
| iterationCount | No | Number of iterations to run (default: 1) | |
| requestTimeout | No | Request timeout in milliseconds (default: 60000) |