macro_set_text
Set the text content of a macro to define or modify its code, enabling automated updates to Python or program macros without manual editing.
Instructions
Set the text content of a 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_path": "<macro_path>",
"text": "<text>"
},
"name": "macro_set_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| macro_path | Yes | ||
| macro_type | No | PythonGlobal |