Save a database entry
save_entryAdds an entry to a table of the site's Xodia database, or changes one by id, in the TEST data only (what the preview uses), as the owner would in the Database view: the table's fields by name (the rules file's types), never id, created_at, updated_at or created_by. Use it for sample or starting entries the owner asked for (a menu, services, events to try the blocks with). The live site's data never changes from here: the owner copies test data to live in the Database view. Refused past the plan's entries (plan_limit), when Xodia stopped saving data on the site (data_stopped), and for workspace members who aren't an owner or admin. No tool deletes entries: the owner does that in the Database view.
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": {
"table": "<table>",
"values": "<values>",
"projectId": "<projectId>"
},
"name": "save_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The entry to change, by its id (list_entries gives it). Leave out to add a new entry | |
| table | Yes | The table's name as list_tables gives it (bookings) | |
| values | Yes | The fields to set, by name: text, numbers, true or false, a date (2026-11-25), a date and time with its zone, an entry id for a link. Never id, created_at, updated_at or created_by: Xodia sets them | |
| projectId | Yes | Project id from list_projects |