delete_record
Permanently deletes a farmOS record by entity type, bundle, and UUID after confirmation; irreversible and may leave dangling references, so archive assets and plans instead.
Instructions
Permanently delete a record. This cannot be undone and may leave other records with dangling references. For assets and plans, set_archived is almost always what is wanted. Requires FARMOS_ALLOW_DELETE=true; confirm with the user first.
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": {
"entity_type": "<entity_type>",
"bundle": "<bundle>",
"id": "<id>"
},
"name": "delete_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Record UUID | |
| bundle | Yes | Bundle of the record | |
| entity_type | Yes | One of: asset, log, plan, quantity, taxonomy_term, organization |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||