btt_get_variable
Retrieve the current value of a BetterTouchTool variable, including built-in system variables or user-defined custom variables, to access dynamic system information.
Instructions
Get the value of a BTT variable.
BTT has many built-in variables (like BTTActiveAppBundleIdentifier)
and supports user-defined variables.
Args:
params: Variable name and type (string or number).
Returns:
Current value of the variable.
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": {
"params": "<params>"
},
"name": "btt_get_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |