Edit a form
form_applyApplies a batch of ops (set_form, set_generator, set_range, reset_range, clear_params) to a form document, whole or not at all. Costs 1 unit.
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": {
"form": "<form>",
"ops": "<ops>"
},
"name": "form_apply"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ops | Yes | The edits to apply in order, each an object with an op name (set_form, set_generator, set_range, reset_range, clear_params). The batch applies whole or not at all. | |
| form | Yes | The form document, written inline as JSON. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ms | No | Milliseconds the run took. | |
| job | Yes | The job id; the job tool reads it. | |
| verb | No | The tool that made it. | |
| files | No | Files made, each with a name, type, size and a signed URL. | |
| units | No | Units this call cost. | |
| result | No | The engine's own answer, a JSON document. | |
| status | No | queued when the job runs in the background. |