cancel_unity_test_run
Cancel an active Unity Test Framework run by its run ID. Stops ongoing tests via the public CancelTestRun API on Test Framework 1.6+; older packages return an unsupported-capability error.
Instructions
Request cancellation of an active Unity Test Framework run. Uses the public CancelTestRun API when the installed Test Framework exposes it (1.6+). Older packages return an explicit unsupported-capability error.
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": {
"runId": "<runId>"
},
"name": "cancel_unity_test_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | Active run ID returned by run_unity_tests |