fusion_run
Run Python code inside Fusion's main thread to build or inspect parametric models; set result to return data and get a checkpoint for rollback.
Instructions
Run Python inside Fusion's main thread (90 s limit). Predefined: app, ui, design, root, adsk, P3, VI, FO, IN,
coll(), board(name,x,y,z,sx,sy,sz) in inches. Set result to return data. Returns a checkpoint you can pass to
fusion_rollback. Dangerous operations (file deletion, network, cloud save) are blocked by default.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"code": "<code>"
},
"name": "fusion_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| label | No |