Back to Unity Mcp

get_test_job

website/docs/reference/tools/testing/get_test_job.md

9.7.11.2 KB
Original Source

get_test_job

Auto-generated from the Python tool registry. Do not hand-edit outside <!-- examples:start --><!-- examples:end --> blocks — the generator (tools/generate_docs_reference.py) will overwrite them.

Group: testing  ·  Module: services.tools.run_tests

Description

Polls an async Unity test job by job_id.

Parameters

NameTypeRequiredDescription
job_idstryesJob id returned by run_tests
include_failed_testsboolInclude details for failed/skipped tests only (default: false)
include_detailsboolInclude details for all tests (default: false)
wait_timeoutint | NoneIf set, wait up to this many seconds for tests to complete before returning. Reduces polling frequency and avoids client-side loop detection. Recommended: 30-60 seconds. Returns immediately if tests complete sooner.

Returns

A dict containing the Unity response. The exact shape depends on the action.

Examples

<!-- examples:start -->

No examples yet. Add usage examples here — they will be preserved across regenerations.

<!-- examples:end -->