unity_run_workflow
Run a node graph against the Unity editor in one call, executing dependent steps in order with {{nodeId.field}} placeholders and returning per-node outputs and errors.
Instructions
Run a node graph against the Unity editor in one call. Pass either a saved workflow file name or an inline graph. Nodes run in dependency order; a node reads upstream output with {{nodeId.field}} placeholders. Returns per-node outputs plus errors. Use this instead of many separate calls when a job has several dependent steps. (Unity editor offline right now: schemas are cached; calls will fail until it reconnects)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "unity_run_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | saved workflow file name (see unity_list_workflows), e.g. "构建一个场景.json" | |
| graph | No | inline graph: {name, nodes:[{id,tool,args,when?}], edges:[{from,to}]} |