Call C4D Command
call_commandExecute any Cinema 4D command by its plugin ID, from rendering to saving or making objects editable. Use this to trigger built-in or plugin commands when you know the command ID.
Instructions
Invoke a Cinema 4D command by plugin id via c4d.CallCommand(). Works for built-in commands (render, save, make editable, ...) and any registered command plugin.
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": {
"command_id": "<command_id>"
},
"name": "call_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subid | No | Optional sub-id (rarely needed). | |
| command_id | Yes | Cinema 4D command id. Examples: 12099 = Render to Picture Viewer, 12161 = Save Document, 12236 = Make Editable, 12168 = New Document. Use list_plugins (plugin_type="command") to discover. | |
| timeout_ms | No | Request timeout in ms (default 60000). CallCommand often runs synchronously; increase for long-running ones like Render. |