Skip to main content

manage_project_auditor

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: profiling  ·  Module: services.tools.manage_project_auditor

Maturity: experimental (support status; independent of enabled state, readiness and permissions).

Description​

Optional Unity Project Auditor integration. availability checks the loaded analysis API and its installed rule databases. start requests one Editor-session audit and returns audit_id; reuse that ID after an uncertain response. status observes its queued/running/completed/failed/unavailable/interrupted state. issues pages captured diagnostics after completion (page_size 1..100, opaque cursor). Analysis uses the current build target and may compile Player assemblies and save Auditor settings. Missing rules and failed modules are distinct from completed zero diagnostics. The package is never installed automatically. No cancellation or arbitrary report file writes are supported.

Parameters​

NameTypeRequiredDescription
actionLiteral['availability', 'start', 'status', 'issues']yesavailability, start, status, or issues.
audit_idstr | None—Editor-session audit identity. Omit on start to allocate once; required for status/issues.
page_sizeint | None—issues only: row limit (default 50).
cursorstr | None—issues only: opaque cursor returned by the previous page.
wait_timeoutint—Optional bounded completion observation, in seconds.
unity_instancestr | int | None—Target Unity instance for this call: Name@hash or hash prefix; an integer selects only that exact port over stdio and is rejected over HTTP. Read mcpforunity://instances for available targets. Omit to use the legacy active selection or the sole available instance.

Returns​

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

Examples​

Check Project Auditor availability before starting analysis. The action reports setup without starting the analysis or installing a package.

MCP arguments
{
"action": "availability"
}