---
title: "table_set"
description: 'Creates or activates a JSON Schema definition with the draft 2020-12 `$schema` and `type: "object"` at its root.'
---

| Operation | OAuth scope | Description |
| :-- | :-- | :-- |
| `table_set` | `files:write` | Creates or activates a JSON Schema definition with the draft 2020-12 `$schema` and `type: "object"` at its root. To create, choose a new UUID for `tableId` and use `expectedVersion: 0`; to change it, use the current version. A definition the current records fail is refused without activation. Requires write permission on the table. |

Group: [Tables, records and exports](/docs/en-US/agents/mcp/tables-records-and-exports).
