Create a template variable
create_template_variableAdd a custom variable ({{name}}) that every template of the organization can use; its defaultValue replaces it when a post is made from a template. At most 50 per organization; a name that is a system variable is refused (409).
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": {
"name": "<name>",
"defaultValue": "<defaultValue>"
},
"name": "create_template_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Lowercase letters, digits and underscores, starting with a letter (e.g. product_name, max 50 characters); used as {{product_name}} | |
| description | No | What it stands for (max 200 characters); never published | |
| defaultValue | Yes | The text that replaces {{name}} (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 |