btt_set_variable
Set variables in BetterTouchTool to store and manage data for automation workflows, with options for persistent or runtime-only storage.
Instructions
Set a BTT variable to a specified value.
Variables can be persistent (survive BTT restart) or runtime-only.
Args:
params: Variable name, value, type, and persistence setting.
Returns:
Confirmation of variable being set.
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_set_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |