TablesWriteRetry-safe

Update table

update_table

Update a table’s METADATA — name, icon, retention policy. Grid arrangement lives on views (see list_table_views / update_table_view), never on the table. Fields are deliberately not editable here: a schema change is a compare-and-set operation against a version this surface cannot hold safely, so field edits and typed→custom conversion belong to the table editor.

Parameters

ParameterTypeRequiredDescription
tableIdstringrequiredTable ID — get from list_tables
namestringoptionalNew name
iconstringoptionalNew emoji
retentionobjectoptionalRow retention, e.g. { mode: "forever" } or { mode: "days", days: 365 }. Rows older than the window are purged by the maintenance workflow, so `days` must be between 1 and 3650 — there is deliberately no "keep nothing" policy.

Example call

The tool call an MCP client sends (required arguments shown with placeholder values).

{
"tool": "update_table",
"arguments": {
"tableId": "tableId_123"
}
}

Use this tool in

Related Tables tools