brc_delete_prepayment
Deletes a prepayment by its id after retrieving its Base64 timestamp via brc_get_prepayment. User confirmation required before finalizing deletion.
Instructions
Removes an existing parent Prepayment by id. Requires the prepayment timestamp in Base64 string format. Use brc_get_prepayment first to retrieve the current timestamp. Do not call with confirmWrite=true until the user explicitly confirms deletion.
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>",
"timestamp": "<timestamp>"
},
"name": "brc_delete_prepayment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Parent prepayment id. | |
| timestamp | Yes | Base64 timestamp returned by the prepayment, for example bgUcQIbL3gg=. | |
| companyName | Yes | Company context name, for example YOUR-COMPANY-NAME. | |
| confirmWrite | No | Must be true only after the user explicitly confirms deleting this prepayment. |