delete_record
Permanently removes one or more records by model and ID(s) from an Odoo ERP, enabling irreversible data cleanup through policy-checked tool calls.
Instructions
Delete one or more records. Irreversible.
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": {
"model": "<model>"
},
"name": "delete_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Several record ids | |
| model | Yes | Technical model name, e.g. 'res.partner' | |
| record_id | No | One record id |