Skip to main content

manage_tools

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: core  ·  Module: services.tools.manage_tools

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

Description​

Find Unity tools, actions and readable resources for a task; inspect schemas or manage visible groups. Actions: list_groups (show all groups and their status), activate/deactivate (select exactly one group or tool), sync (refresh availability from Unity Editor's toggle states), reset (restore configured profile), describe (full schema for one tool, optionally bind operation), catalog (choose a domain by purpose, then browse tools, actions or readable resources), search (discover routes for a task in any language), inspect_inventory (compare server advertisement with this host's exact-name evidence). Choose one search mode. For exhaustive browsing, use selection=agent with the verbatim query, then open returned family IDs and follow next_offset. For lexical or required evidence searches, use selection=ranked. catalog_query, intent, observation_source and required_values are ranked only. Selection changes server tools/list; it does not confirm the client's callable inventory. Use sync after toggling tools in the Unity Editor GUI.

Parameters​

NameTypeRequiredDescription
actionLiteral['list_groups', 'activate', 'deactivate', 'sync', 'reset', 'describe', 'search', 'catalog', 'inspect_inventory']yesAction to perform.
groupstr | None—Group name for activate/deactivate/catalog. Catalog also supports resources for fixed URIs and resource_templates for parameterized Unity observations. Valid groups: animation, asset_gen, assets, camera, core, docs, graphics, legacy, physics, prefabs, probuilder, profiling, scene, scripting_ext, testing, ui, vfx
toolstr | None—Single exact tool name for activate/deactivate/describe/catalog/inspect_inventory.
querystr | None—Original user request. Keep its language, names, paths and text verbatim. Required for the agent directory. Optional for an exact agent family or ranked evidence search.
limitint—Maximum search or catalog page entries (1..20).
include_schemabool—Describe always includes the schema. On single-tool activation attach schema and readiness. On inspect_inventory include the advertised inputSchema and its SHA-256.
catalog_querystr | None—Ranked search only. Optional English action and target terms or exact tool/action identifier for lexical matching. Keep the original request in query.
offsetint—Page offset for catalog or selection=agent search.
operationstr | None—For describe, select one exact action from catalog. The returned full schema binds that action.
intentLiteral['observe', 'interact', 'edit'] | None—Choose the requested purpose by meaning in any language: observe for reading state, interact for operating the Editor or running game, edit for changing project content. Use with selection=ranked for search or with a tool/group in catalog.
observation_sourceLiteral['editor_live', 'asset_file', 'imported_asset', 'compile_job', 'scenario_job'] | None—Ranked search only. Require evidence from the current Editor (editor_live), a saved file (asset_file), import results (imported_asset), a compilation job (compile_job), or a Play Scenario job (scenario_job).
required_valueslist[Literal['unityCameras', 'cinemachineCameras', 'cinemachineInstalled', 'render_size.width', 'render_size.height', 'current_size', 'view_instance_id', 'presets', 'rendered_image', 'pointer_hit_order', 'console.entries', 'menu.declared_paths', 'active_scene.name', 'active_scene.path', 'compilation.is_compiling', 'compile_job.outcome', 'scenario_job.outcome', 'nodeCount', 'edgeCount', 'nodes', 'edges', 'properties', 'keywords', 'unsaved_graph_structure', 'property_values', 'shader_source', 'contents', 'encodedContents', 'nextOffset', 'shader_graph_structure', 'unsaved_source', 'compilation', 'passes', 'subshader_count', 'navigation.module_available', 'navigation.package_available', 'project_auditor.api_supported', 'project_auditor.rules_available']] | None—Ranked search only. Require every listed result field as evidence. Combine with observation_source to require its provenance.
route_surfacesLiteral['both', 'tools', 'resources'] | None—For either search mode, show tools, resources or both (default).
host_tool_nameslist[str] | None—For search or inspect_inventory, supply this host's complete callable tool names. Omit if unknown.
host_tool_evidenceHostToolEvidence | None—For search or inspect_inventory, check exact candidate names on this host's same connection and target. Use instead of host_tool_names. Incomplete misses stay unknown.
selectionLiteral['ranked', 'agent']—Choose agent for exhaustive browsing or ranked for lexical and required evidence search.
familystr | None—Agent browse only. Provide an exact family ID. query is optional.
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​

List available tool groups and their activation state. Check for the testing group before calling a Play Scenario or verification tool.

MCP arguments
{
"action": "list_groups"
}