api_newman_run
Run Postman/Newman collections against API endpoints to validate API behavior. Supply a collection JSON and optional environment JSON to execute tests.
Instructions
Run a Postman/Newman collection against API endpoints.
Args: collection: Path to Postman collection JSON file environment: Path to Postman environment JSON file
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": {
"collection": "<collection>"
},
"name": "api_newman_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection | Yes | ||
| environment | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |