コンテンツにスキップ

batch_execute

Execute multiple MCP tool calls in a single request. Supports atomic mode (all operations as one undo group with rollback on failure).

分類: Editor

名前 型 必須 既定値 説明
commands array 必須 List of tool calls to execute sequentially
atomic boolean true If true, all operations are grouped as a single undo step with rollback on failure
stop_on_error boolean true If true, stop execution on first error

必須の引数だけを入れています。ほかは必要に応じて足してください。

{
"name": "batch_execute",
"arguments": {
"commands": []
}
}

Unity を NANORA_MCP_SUPERSAVE=1 で起動したときは、メタツール execute から {"tool": "batch_execute", "args": { … }} の形で呼びます。SuperSave モードを参照。

Assets/NanoraUnityMCP/Editor/Tools/BatchExecuteTool.cs(版 1.2.1)から生成しています。説明文はツール定義のまま(英語)です。AI クライアントは tools/list で同じスキーマを受け取ります。