api_batch
Run up to 100 ordered KOMPAS-3D SDK operations in one call, stopping at the first failure and returning partial results.
Instructions
Execute up to 100 ordered SDK steps; stop on first failure and return partial results.
Targets/arguments support {handle:id}, {ref:prior_step_id}, {constant:enum_name}. Typed arrays: {variant:{type:dispatch_array|int_array|double_array|variant_array,values:[...]}}. Set expect=truthy for BOOL operations or not_null for object creation. No rollback. This has the same unrestricted local COM authority as api_invoke.
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": {
"plan": "<plan>"
},
"name": "api_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes |