Batch
hf_batchRuns multiple HullForge read and write calls in one ordered request, with loops and conditions; stops at the first failure and compiles touched Blueprints and C++ files.
Instructions
Run several HullForge read and write calls in ONE request, in order: the usual way to build something. A tool step is {tool, args, as?, select?}: 'as' names its result so a later argument can use "$name.field" (a whole-string reference keeps the value's type), 'select' keeps only the listed fields. Control steps: {foreach: <list or $ref>, as, do: [steps]}, {if: , then: [steps], else: [steps]}, {assert: , message}; a cond is {left, op, right} with op ==, !=, <, <=, >, >=, contains, not_contains, exists, empty or not_empty. 'return' (top level) sends back only that value instead of every step's result. Stops at the first failure and reports it in full; earlier steps stay applied, so give 'checkpoint' to be able to roll back. Afterwards it compiles every Blueprint and C++ file the steps touched and reports errors, and saves if 'save' is true. At most 200 tool steps. Destroying tools are refused: use hf_destroy.
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": {
"steps": "<steps>"
},
"name": "hf_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | hf_save_all after the steps succeed. | |
| steps | Yes | Tool steps and control steps, as described above. | |
| return | No | Optional. A value or $name.field reference to return instead of every step's result. | |
| compile | No | Compile the Blueprints and C++ files the steps touched and report errors. | |
| verbose | No | Return the full report (what was and was not checked, touched packages). By default a success comes back short; a failure always comes back in full. | |
| checkpoint | No | Optional. Set a checkpoint with this label before the first step. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||