configure_editor
Configure Unity Editor settings for optimal MCP operation. Use this to enable background execution (runInBackground) so MCP responds even when Unity is not focused.
分類: 診断
| 名前 | 型 | 必須 | 既定値 | 説明 |
|---|---|---|---|---|
action |
string | 必須 | Action to perform: status (show current settings), enable_background (enable runInBackground), disable_background, optimize_for_mcp (apply all recommended settings) 値: status, enable_background, disable_background, optimize_for_mcp |
呼び出しの例
Section titled “呼び出しの例”必須の引数だけを入れています。ほかは必要に応じて足してください。
{ "name": "configure_editor", "arguments": { "action": "status" }}SuperSave モードでは
Section titled “SuperSave モードでは”Unity を NANORA_MCP_SUPERSAVE=1 で起動したときは、メタツール execute から {"tool": "configure_editor", "args": { … }} の形で呼びます。SuperSave モードを参照。
Assets/NanoraUnityMCP/Editor/Tools/ConfigureEditorTool.cs(版 1.2.1)から生成しています。説明文はツール定義のまま(英語)です。AI クライアントは tools/list で同じスキーマを受け取ります。