Describe a database table
describe_tableOne table of the connected database in full: every field's name, kind, database type, whether a new entry must give it, its default, the key, what a link points at, an option's values, and whether a page can show it; who can see and change entries; and how the site's code reads it with the data kit (DataList table, useRow, data-field). With source "xodia" (or when get_project database.source is "xodia") it works on the site's own Xodia database, whose tables and rules are the file xodia/data-rules.json in the repo: also the indexes a list can filter and sort along, and how a server task reads it (env.XODIA_DATA). Reads only, never entries or keys.
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>",
"projectId": "<projectId>"
},
"name": "describe_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | The table's name as list_tables gives it (bookings) | |
| source | No | Which database: "xodia" (the site's own Xodia database, kept by Xodia) or "supabase" (the Supabase project the owner connected). Leave out to use the one get_project database.source names | |
| projectId | Yes | Project id from list_projects |