setup_song_macro
Create a macro to store the current song name in a variable, enabling song tracking during music shows.
Instructions
Create a macro that sets a user variable to the song name.
Stores a macro, labels it with the song name, and assigns a SetVar
command on line 1. This is used to track the current song in
music show workflows.
Args:
macro_id: Macro number to create
song_name: Song name used for label and variable value
var_name: Variable name for the SetVar command (default: "$song")
Returns:
str: Operation result message
Examples:
- Create macro 101 that sets $song to "Opening+Childhood"
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>",
"song_name": "<song_name>"
},
"name": "setup_song_macro"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| macro_id | Yes | ||
| song_name | Yes | ||
| var_name | No | $song |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |