Set user attribute
set-user-attributeSet a custom attribute on a messenger user via POST /v1/add-user-attribute.
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": {
"fbId": "<fbId>",
"key": "<key>",
"value": "<value>"
},
"name": "set-user-attribute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Attribute key name | |
| fbId | Yes | End-user fbId | |
| value | Yes | Attribute value to store |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | JSON or plain text body returned by the Botsify HTTP API |