Save a macro
save_macroCreate a browser automation macro or replace an existing macro’s steps by ID, with validated actions and user approval before saving.
Instructions
Creates a macro, or replaces an existing one's steps (id). Steps are data, checked by the same validator as the app's editor. Step types: goto {url}, click {selector}, type {selector, value}, keypress {key}, scroll {steps}, wait {ms}, move {selector | x,y}, hover {selector, ms}, select {selector, value, by}, waitFor {selector, state visible|hidden}, submit {selector}, check {selector, state checked|unchecked}, clear {selector}; optional: true and timeout (ms) on element steps. Use {{name}} placeholders for personal values. Asks the user first.
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": {
"name": "<name>",
"steps": "<steps>"
},
"name": "save_macro"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Existing macro to replace. | |
| name | Yes | ||
| steps | Yes | ||
| description | No |