Run a collection
run_collectionExecutes HTTP and GraphQL requests in a collection or folder in order, applies test scripts, and returns pass/fail per request; realtime requests are skipped.
Instructions
Run the HTTP and GraphQL requests of a collection or folder in order, with their test scripts, and return a pass/fail summary per request. Realtime requests are skipped. Reports progress after each request when the call carries a progressToken.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "run_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | Only run requests under this folder path (slash-separated). | |
| failFast | No | Stop at the first failing request. | |
| variables | No | Variable overrides for this call, as name to value. They win over the environment. | |
| collection | No | Collection name. Omit to run every collection. | |
| environment | No | Environment name. Defaults to the one the server was started with. |