Insert, change, move or remove one macro line (never runs it)
gma3_edit_macro_lineEdit individual grandMA3 macro lines: insert, update, move, or delete commands, waits, names, notes, and flags, then verify each line without running the macro.
Instructions
action insert (line 1..count+1, needs command), set (any of command, wait, enabled, add_to_cmdline, execute, name, note), move (line -> to; sent as upward moves only, because a downward Move lands one place short), remove. References in a written command are checked unless raw: true. Refuses a locked or running macro. Every line is read back and compared with the expected order and content; accept_console_form as in gma3_store_macro. Never runs the macro.
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": {
"macro": "<macro>",
"action": "<action>",
"line": "<line>"
},
"name": "gma3_edit_macro_line"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| raw | No | ||
| line | Yes | ||
| name | No | ||
| note | No | ||
| wait | No | ||
| macro | Yes | ||
| action | Yes | ||
| verify | No | ||
| command | No | ||
| enabled | No | ||
| execute | No | ||
| preview | No | ||
| add_to_cmdline | No | ||
| accept_console_form | No | ||
| allow_unresolved_dependents | No | Edit even when a later line uses an object this edit stops an earlier line from storing (default false: refuse). |