create_macro
Store an empty macro, then assign command strings to sequential lines. Optionally label the macro for organization.
Instructions
Create a macro with command lines.
Stores an empty macro, then assigns each command to sequential lines.
Optionally labels the macro.
Args:
macro_id: Macro number to create
commands: List of command strings for each macro line
name: Optional label for the macro
pool: Macro pool number (default: 1)
Returns:
str: Operation result message
Examples:
- Create macro 10 with commands ["Go Sequence 1", "Go Sequence 2"]
- Create macro 10 named "Start Show" with one command
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_id": "<macro_id>",
"commands": "<commands>"
},
"name": "create_macro"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| macro_id | Yes | ||
| commands | Yes | ||
| name | No | ||
| pool | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |