# Update Table Tool

Changes a table's display name or description.

## When to Use

Use this when what a table is *called* is wrong, or when it needs to say what it holds. Columns are
not changed here — `modify_table_schema` owns those.

## Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `table_id` | string | Yes | The table's id or slug, as `list_tables` gives them; the slug aliases the id and either is accepted |
| `name` | string | No | New display name |
| `description` | string | No | What this table holds |

## Returns

| Field | Type | Description |
|-------|------|-------------|
| `success` | boolean | Whether the update succeeded |
| `table_id` | string | The table's slug |
| `name` | string | The name after the change |
| `description` | string \| null | The description after the change |

## Example

```json
{ "table_id": "reading-list", "description": "Books, and what became of them" }
```

## Notes

- A call naming neither `name` nor `description` is refused: there is nothing to change.
- The slug does not change. Stored references — a widget, a plugin config, a workflow node — point
  at the table, and rewriting its handle would break every one of them.
- Refused with `ai_access_denied` when the table's AI access policy denies writes.
