get_variable
Read console variables to retrieve system or user values and list global show or user-profile variables for monitoring.
Instructions
Read variables from the console (SAFE_READ).
Args:
action: One of:
"echo" — read any variable via `Echo $NAME` (system + user vars).
Use this for built-in system variables: $SELECTEDEXEC,
$TIME, $DATE, $VERSION, $FADERPAGE, $BUTTONPAGE,
$SELECTEDFIXTURESCOUNT, $USER, $HOSTNAME, $HOSTSTATUS, etc.
"get_user" — read a user variable via GetUserVar.
"list_var" — list all global show variables.
"list_user_var"— list all user-profile variables.
var_name: Variable name (required for "echo" and "get_user").
May include or omit leading $. E.g. "SELECTEDEXEC" or "$mycounter".
Returns:
str: JSON with command_sent, raw_response, risk_tier.
For "echo", also includes `variable` and `value` keys.
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": {
"action": "<action>"
},
"name": "get_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| var_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |