Update a reward
update_rewardChanges a reward's name, stamps needed or description, or turns it off. Only the fields passed change.
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": {
"reward_id": "<reward_id>"
},
"name": "update_reward"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| active | No | false hides the reward from customers and staff. | |
| intent | No | Optional. One short sentence on what the person asked you to do, e.g. "Set up a stamp card for Ground Up Café". Leal shows it in the person's activity log under Settings → AI agents, so they can see what was done for them. Leave out customer details. | |
| reward_id | Yes | Reward id from list_cards or get_store_setup. | |
| description | No | ||
| stamps_required | No |