agent_tables
Creates and manages project table schemas and data, enabling schema migration, row queries, inserts, updates, deletes, and availability diagnostics.
Instructions
[Arch Build] Arch creates and changes projects, agents, tools, configuration, versions, and deployments. Manage Agent Tables within a project. Actions: availability, list, describe, create, update, migrate, delete, insert, query, get_row, update_row, delete_row, upsert, reveal. Use availability first to diagnose TABLE_UNAVAILABLE. Delete actions require confirm=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | No | Row or rows for insert/upsert | |
| count | No | Return count for legacy GET query | |
| onKey | No | Unique key columns for upsert | |
| patch | No | Display metadata patch for update | |
| query | No | Structured query, predicate query, or SQL body | |
| rowId | No | Row ID for row-specific actions | |
| table | No | Table slug/name for table-specific actions | |
| action | Yes | ||
| columns | No | Sensitive columns to reveal | |
| confirm | No | Set true to confirm destructive delete operations | |
| migration | No | Schema migration request | |
| projectId | Yes | Project ID | |
| rowVersion | No | Optimistic row version | |
| environment | No | Target deployment environment for availability checks | |
| deploymentId | No | Deployment ID for direct availability checks | |
| invocationMode | No | Invocation path to evaluate for availability; defaults to direct | |
| tableDefinition | No | Table definition for create |