Update agent custom variables
update_custom_variablesAdd or remove custom variable names on an agent while preserving existing ones. Manage the full variable list in one operation.
Instructions
Add or remove custom variable names on an agent. The upstream API replaces the entire variable list on every write, so this tool reads the agent's current variables, applies your add/remove as a set operation, and writes the complete merged list back - variables you do not mention are preserved. Custom variables are names only (e.g. 'loan_amount'); values are supplied per call or per campaign row. Prompts reference them as @{{variable_name}}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | Variable names to add. Already-present names are ignored. | |
| remove | No | Variable names to remove. Names that are not present are ignored. | |
| agent_id | Yes | The agent's UUID. |