Stop serving a table
demote_tableWithdraws a table's live pointer and detaches its refresh schedule: readers stop being served it and it stops refreshing. Nothing built is deleted, and promote_table later revives the same table. A live table must be demoted before archive_table will retire it. Example: {"table_id": "…", "expected_version": 4}. Pass expected_version from get_table so a table that moved in between is refused rather than withdrawn. Only call it when the person you are working for has asked for it. Returns {table_id, dataset_id, promotion_status, live_version_id, version, dashboard_url}. A table that was never promoted, or is already demoted, says so — read get_table rather than retrying.
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_id": "<table_id>"
},
"name": "demote_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_id | Yes | ||
| expected_version | No |