Delete an asset or a debt
delete_assetDeletes one of the customer's own assets or debts. Take the id and the module_state from list_assets. Confirm the delete with the customer before you call this tool: the asset cannot be restored. When module_state is edit_restarts_alignment, also tell the customer that the delete restarts the alignment of the couple and can email the partner, and get a yes. After an asset, family, or allocation write, tell the customer that the alignment restarted when alignment_restarted is true. Tell the customer that the partner got an email when partner_emailed is true. When a value is false, say nothing about it. When the customer asks about these values, answer from the results of all the writes in this conversation. Send the module_state that you read as expected_module_state, also when it is open.
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": {
"id": "<id>"
},
"name": "delete_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The id from the list tool. Only an own row of the customer. | |
| expected_module_state | No | The module_state that you read from the list or describe tool of this module, also when it is open. When the state is now different, the tool saves nothing and gives the new state. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| status | Yes | ||
| app_url | Yes | ||
| partner_emailed | Yes | True when the partner got an email that the alignment restarted. | |
| alignment_restarted | Yes | True when the write restarted the alignment of the couple. |