Update a template variable
update_template_variableChange a custom variable's description or default value. The name cannot change (create a new variable instead). Posts already made keep the text they were made with; templates pick the new value up the next time a post is made from them.
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": {
"variableId": "<variableId>"
},
"name": "update_template_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variableId | Yes | The variable's ID (from list_template_variables) | |
| description | No | New description (max 200 characters) | |
| defaultValue | No | New replacement text (max 500 characters) | |
| organizationId | No | Organization to act in — an id from list_organizations. Required when this connection was authorized for more than one organization; omit it when there is only one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variable | No |