Execute API tests against a live server
run_testsGenerate a test plan and execute it against a running server, saving full responses to results.json and a Markdown report.
Instructions
Generates the test plan and executes it against the running server (like Postman). Saves full responses to results.json and a Markdown report. Requires baseUrl unless endpoints use absolute URLs.
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": {
"path": "<path>"
},
"name": "run_tests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Project root path. | |
| dryRun | No | If true, list the planned requests without sending them. | |
| baseUrl | No | Base URL of the running server, e.g. http://localhost:3000. | |
| headers | No | Extra headers applied to every request. Supports ${ENV_VAR}. | |
| categories | No | Only run these test categories. Omit to run all. | |
| bearerToken | No | Bearer token for Authorization header. Supports ${ENV_VAR}. | |
| concurrency | No | How many requests to run in parallel. |