run_macro
Executes an existing public Klipper macro by name; use list_macros first to find the macro and its parameters.
Instructions
Run an existing public Klipper macro. Use list_macros to find its name and parameters.
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>"
},
"name": "run_macro"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Public macro name from list_macros. | |
| params | No | Uppercase parameter names with numbers or single-token strings. | |
| printer | No | Printer name from list_printers. Optional when only one is configured. |