akb_create_table
Create structured data tables in a vault to organize data alongside documents. Specify columns with name and type (text, number, boolean, date, json) and place them in a collection or vault root.
Instructions
Create a structured data table in a vault. The response carries the canonical uri — akb://{vault}/coll/{collection}/table/{name} when stored under a collection, or akb://{vault}/table/{name} at the vault root. Tables live alongside documents inside collections and follow the same permissions. Define columns with name and type (text, number, boolean, date, json). Optional collection (e.g. 'sessions/learnings') groups the table under that collection so it appears beside the documents and files there in akb_browse; omit for vault root.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parent | No | Parent location as a canonical URI — `akb://{vault}` for the vault root, `akb://{vault}/coll/{path}` for a collection. When given, the table is created there and `vault`/`collection` are derived from the URI. | |
| vault | No | Target vault name. Required unless `parent` is given. | |
| name | Yes | Table name (unique within the vault) | |
| collection | No | Collection path (e.g. 'specs' or 'sessions/learnings'). Omit for vault root. Ignored when `parent` is given. | |
| description | No | ||
| columns | Yes | Column definitions |