---
title: "Table kit commands — Kition SDK reference"
description: "The 57 commands an AI agent can run on .ktable files with the Table kit (0.4.0) through table_run: what each does, its parameters and its result."
canonical: "https://developer.kition.ai/docs/kits/table"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/table](https://developer.kition.ai/docs/kits/table)

# Table kit commands

The 57 commands an AI agent can run on .ktable files with the Table kit (0.4.0) through table_run: what each does, its parameters and its result.

## How an agent uses them

`table_commands` finds commands by keywords; `table_run` runs them as steps, `{ path, steps: [{ command, params }] }`, then saves the file and answers each step’s result. With the server’s `--unified` tools the same commands go through `kit_run`. Setup: [Agents (MCP)](https://developer.kition.ai/docs/agent.md).

## Commands

### edit

- [`edit.redo`](https://developer.kition.ai/docs/kits/table/commands/edit.redo.md): Redo (changes the document)
- [`edit.undo`](https://developer.kition.ai/docs/kits/table/commands/edit.undo.md): Undo (changes the document)

### table

- [`table.ai.apply`](https://developer.kition.ai/docs/kits/table/commands/table.ai.apply.md): Write an AI field's results (changes the document)
- [`table.ai.prepare`](https://developer.kition.ai/docs/kits/table/commands/table.ai.prepare.md): Prepare an AI field run
- [`table.attachments.put`](https://developer.kition.ai/docs/kits/table/commands/table.attachments.put.md): Store an attachment (changes the document)
- [`table.attachments.read`](https://developer.kition.ai/docs/kits/table/commands/table.attachments.read.md): Read an attachment
- [`table.changes.since`](https://developer.kition.ai/docs/kits/table/commands/table.changes.since.md): List the records changed since a version
- [`table.csv.export`](https://developer.kition.ai/docs/kits/table/commands/table.csv.export.md): Export a table as CSV text
- [`table.csv.import`](https://developer.kition.ai/docs/kits/table/commands/table.csv.import.md): Import CSV text into a table (changes the document)
- [`table.dashboards.delete`](https://developer.kition.ai/docs/kits/table/commands/table.dashboards.delete.md): Delete a dashboard (changes the document)
- [`table.dashboards.list`](https://developer.kition.ai/docs/kits/table/commands/table.dashboards.list.md): List dashboards
- [`table.dashboards.upsert`](https://developer.kition.ai/docs/kits/table/commands/table.dashboards.upsert.md): Create or replace a dashboard (changes the document)
- [`table.documents.get`](https://developer.kition.ai/docs/kits/table/commands/table.documents.get.md): Read the document
- [`table.fields.create`](https://developer.kition.ai/docs/kits/table/commands/table.fields.create.md): Create a field (changes the document)
- [`table.fields.delete`](https://developer.kition.ai/docs/kits/table/commands/table.fields.delete.md): Delete a field (changes the document)
- [`table.fields.duplicate`](https://developer.kition.ai/docs/kits/table/commands/table.fields.duplicate.md): Duplicate a field (changes the document)
- [`table.fields.linkCandidates`](https://developer.kition.ai/docs/kits/table/commands/table.fields.linkCandidates.md): Find records to link
- [`table.fields.list`](https://developer.kition.ai/docs/kits/table/commands/table.fields.list.md): List fields
- [`table.fields.update`](https://developer.kition.ai/docs/kits/table/commands/table.fields.update.md): Update a field (changes the document)
- [`table.file.export`](https://developer.kition.ai/docs/kits/table/commands/table.file.export.md): Export a table as a CSV or Markdown file
- [`table.file.render`](https://developer.kition.ai/docs/kits/table/commands/table.file.render.md): Render a preview image
- [`table.historyState`](https://developer.kition.ai/docs/kits/table/commands/table.historyState.md): Read whether undo and redo are possible
- [`table.import.preview`](https://developer.kition.ai/docs/kits/table/commands/table.import.preview.md): Preview a file import
- [`table.import.run`](https://developer.kition.ai/docs/kits/table/commands/table.import.run.md): Import a file into a table (changes the document)
- [`table.links.delete`](https://developer.kition.ai/docs/kits/table/commands/table.links.delete.md): Remove a record's links (changes the document)
- [`table.links.list`](https://developer.kition.ai/docs/kits/table/commands/table.links.list.md): List a record's links
- [`table.links.replace`](https://developer.kition.ai/docs/kits/table/commands/table.links.replace.md): Set a record's links (changes the document)
- [`table.markdown.export`](https://developer.kition.ai/docs/kits/table/commands/table.markdown.export.md): Export a table as a Markdown table
- [`table.preview.show`](https://developer.kition.ai/docs/kits/table/commands/table.preview.show.md): Show a table, view or dashboard in the picture
- [`table.read`](https://developer.kition.ai/docs/kits/table/commands/table.read.md): Read a table's or a view's records
- [`table.records.bulkCopy`](https://developer.kition.ai/docs/kits/table/commands/table.records.bulkCopy.md): Copy records (changes the document)
- [`table.records.bulkDelete`](https://developer.kition.ai/docs/kits/table/commands/table.records.bulkDelete.md): Delete many records (changes the document)
- [`table.records.create`](https://developer.kition.ai/docs/kits/table/commands/table.records.create.md): Create a record (changes the document)
- [`table.records.delete`](https://developer.kition.ai/docs/kits/table/commands/table.records.delete.md): Delete a record (changes the document)
- [`table.records.history`](https://developer.kition.ai/docs/kits/table/commands/table.records.history.md): Read a record's history
- [`table.records.list`](https://developer.kition.ai/docs/kits/table/commands/table.records.list.md): List records
- [`table.records.update`](https://developer.kition.ai/docs/kits/table/commands/table.records.update.md): Update a record (changes the document)
- [`table.redo`](https://developer.kition.ai/docs/kits/table/commands/table.redo.md): Redo a step (changes the document)
- [`table.tables.create`](https://developer.kition.ai/docs/kits/table/commands/table.tables.create.md): Create a table (changes the document)
- [`table.tables.delete`](https://developer.kition.ai/docs/kits/table/commands/table.tables.delete.md): Delete a table (changes the document)
- [`table.tables.list`](https://developer.kition.ai/docs/kits/table/commands/table.tables.list.md): List tables
- [`table.tables.update`](https://developer.kition.ai/docs/kits/table/commands/table.tables.update.md): Update a table (changes the document)
- [`table.transact`](https://developer.kition.ai/docs/kits/table/commands/table.transact.md): Run record and field operations as one step (changes the document)
- [`table.undo`](https://developer.kition.ai/docs/kits/table/commands/table.undo.md): Undo a step (changes the document)
- [`table.views.create`](https://developer.kition.ai/docs/kits/table/commands/table.views.create.md): Create a view (changes the document)
- [`table.views.delete`](https://developer.kition.ai/docs/kits/table/commands/table.views.delete.md): Delete a view (changes the document)
- [`table.views.getFilterTree`](https://developer.kition.ai/docs/kits/table/commands/table.views.getFilterTree.md): Read a view's filter
- [`table.views.getGroups`](https://developer.kition.ai/docs/kits/table/commands/table.views.getGroups.md): Read a view's groups
- [`table.views.getSorts`](https://developer.kition.ai/docs/kits/table/commands/table.views.getSorts.md): Read a view's sorts
- [`table.views.list`](https://developer.kition.ai/docs/kits/table/commands/table.views.list.md): List views
- [`table.views.listFields`](https://developer.kition.ai/docs/kits/table/commands/table.views.listFields.md): List a view's field settings
- [`table.views.patchConfig`](https://developer.kition.ai/docs/kits/table/commands/table.views.patchConfig.md): Change a view's row height or frozen columns (changes the document)
- [`table.views.patchField`](https://developer.kition.ai/docs/kits/table/commands/table.views.patchField.md): Show, hide, resize or move a field in a view (changes the document)
- [`table.views.putFilterTree`](https://developer.kition.ai/docs/kits/table/commands/table.views.putFilterTree.md): Set a view's filter (changes the document)
- [`table.views.putGroups`](https://developer.kition.ai/docs/kits/table/commands/table.views.putGroups.md): Set a view's groups (changes the document)
- [`table.views.putSorts`](https://developer.kition.ai/docs/kits/table/commands/table.views.putSorts.md): Set a view's sorts (changes the document)
- [`table.views.update`](https://developer.kition.ai/docs/kits/table/commands/table.views.update.md): Update a view (changes the document)

Generated from kition-sdk packages/script/kits/table.ts, kition-table kit.json and the kit itself (kition-table@ee73209). All of them as JSON Lines: [commands.jsonl](https://developer.kition.ai/commands.jsonl).
