kitty_set_user_vars
Define or remove user variables in kitty windows to enable custom match expressions. Use 'NAME=VALUE' to set, 'NAME' to unset, or omit to list current variables.
Instructions
Set user variables for the specified kitty windows. User variables are accessible via kitty match expressions (var:NAME). Use "NAME=VALUE" to set, or just "NAME" to unset. If no variables provided, prints current vars.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "kitty_set_user_vars"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| var | No | User variable specs as "NAME=VALUE" or "NAME" to unset. | |
| self | No | Target the window this command runs in. | |
| match | No | Window match expression. |