Get a test run (steps, observations, fixes)
get_test_runA synthetic test subscription with every step (checkout, acknowledgment email, reminders at each legal window, cancellation, confirmation): what was observed, check results, evidence ids and fixes. While running, next_action.type is "wait" and waiting_for says what it waits for (pass wait: 30 to get the answer as soon as the run moves on). When finished, apply the fixes (usually via get_compliance_plan) and start another run to verify. Without test_run, returns the newest run of the site.
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": "get_test_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Site id (site_…). Optional when the account has exactly one site in this mode; list_sites shows them. | |
| wait | No | Long-poll: wait up to this many seconds for the run to move on before answering. | |
| test_run | No | Test run id (run_…). Default: the newest run of the site. |