mark_credit
Records whether a card credit was used or confirmed unused this billing period, so the agent stops asking about it until the period resets.
Instructions
Record what the user said about one card credit this period: used = true if they've used it, false if they confirmed it's still unused (Tap then stops asking until the period resets). Credit ids come from optimize_purchase and ask_user.
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": {
"card": "<card>",
"credit": "<credit>",
"used": "<used>"
},
"name": "mark_credit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | Yes | ||
| date | No | ISO date; defaults to today. | |
| used | Yes | ||
| credit | Yes | The credit's id. |