update_custom_variable
Update a custom variable's presentation and fallback behaviour: its label, default_value, or description. Pass an empty string to clear a default. This tool does NOT change the token. To change the token call rename_custom_variable, which is safe and cheap; do NOT create a second variable just to get a different name, that leaves the workspace with two half-populated variables.
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": {
"custom_variable_id": "<custom_variable_id>"
},
"name": "update_custom_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | New display label for the variable. | |
| description | No | New description of what the variable holds. | |
| default_value | No | Substituted when a lead has no value of its own. Trimmed and truncated at 500 characters; the response echoes the stored variable, so a shortened default is visible in what comes back. | |
| custom_variable_id | Yes | Id of the custom variable (from list_custom_variables). |