test_status
Retrieves a test run's record by ID, or returns the current active run when no ID is provided.
Instructions
One test run's record, or the current active run when no id is given.
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": "test_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | No | Run id; omit for the current (most recent active) run |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| lock | No | The host lock this run holds (owner test:<id>), when it is still its own | |
| name | Yes | ||
| note | No | ||
| step | No | ||
| state | Yes | ||
| host_id | No | ||
| web_url | No | Absolute URL of this run's page in the web UI (Activity page) | |
| created_at | Yes | ||
| project_id | No | ||
| started_at | No | ||
| updated_at | Yes | ||
| elapsed_sec | No | Seconds since started_at (frozen at finished_at once terminal) | |
| finished_at | No |