Delete records
odoo_unlinkPermanently deletes Odoo records. Returns JSON with model, ids and deleted. When write confirmation is enabled for the account, nothing is deleted and the result is a pending-action code with a description of the change.
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>",
"ids": "<ids>"
},
"name": "odoo_unlink"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | IDs of the records to delete. | |
| model | Yes | Odoo model technical name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |