brc_update_sales_credit_note
Updates a sales credit note by first providing a draft for user review, then processing the update only after explicit confirmation.
Instructions
Updates a BRC sales credit note using structured safe text/reference fields. First call without confirmWrite: true returns confirmation_required and a payload preview — show a plain-English draft in chat, then retry with confirmWrite: true only after explicit user confirmation in a later message. Passing preflight is not confirmation.
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": {
"companyName": "<companyName>",
"id": "<id>"
},
"name": "brc_update_sales_credit_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Sales credit note id. | |
| note | No | ||
| reference | No | ||
| companyName | Yes | Company context name, for example YOUR-COMPANY-NAME. | |
| confirmWrite | No | Must be true only after a plain-English draft has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. |