Organize dataset tables
configure_dataset_layoutSave ordered sections, table display titles and descriptions, collapsed sections, a separate default opening table and an optional search_table_id. search_table_id names the preferred table for dataset chat retrieval when that is not the opening table: a passages table that searches long text and folds its matches to one result per entity of the main table (its search spec collapses by the entity key). Absent or null, search opens on the opening table; the Data tab always opens on default_table_id. To point search at a passages table, in this order: declare collapse in its search spec; wait until its search has been rebuilt and is active for that declaration (a newly declared collapse reaches search only after its search build finishes and activates); run one search on that table and confirm the answer carries collapsed_by; only then set search_table_id. If the answer does not carry collapsed_by, do not set search_table_id. Read get_my_dataset for dataset_layout and its revision; use expected_revision 0 only when absent. For first creation also send expected_main_table_id from get_my_dataset.chosen_main_table_id (null if absent), to detect concurrent legacy opening-table edits. Choose sections around the dataset use case. Preserve owner choices; on layout_changed reread and reconcile instead of overwriting. Reference exact table IDs, each in at most one section. Unassigned tables stay visible. This changes presentation only, never SQL/API names, data, access or schedules. dry_run validates without saving. Returns the saved layout and revision.
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": {
"dataset_id": "<dataset_id>",
"expected_revision": "<expected_revision>",
"config": "<config>"
},
"name": "configure_dataset_layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | ||
| dry_run | No | ||
| dataset_id | Yes | ||
| expected_revision | Yes | ||
| expected_main_table_id | No |