Run Tests
run_testsDispatch Unity tests and get a durable run ID immediately. Retry with the same request_id to avoid duplicate executions when transport fails.
Instructions
Dispatch Unity tests and return their durable identity immediately.
A successful response is
``tests-started|request_id=...|run_id=...|utf_guid=...|state=dispatched``.
If transport fails after dispatch may have happened, the result is
``START-UNKNOWN`` with the same request_id; resolve it instead of retrying
with a new identity.
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": "run_tests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Test runner mode: EditMode or PlayMode | EditMode |
| filter | No | NUnit filter expression (e.g. 'MyNamespace.MyTest') | |
| request_id | No | Caller-supplied idempotency ID — reuse to retry a failed dispatch without double-running |