Add tables or columns to a Data Space
propose_schema_additionAdd tables or columns to a Data Space. New tables and new optional columns apply immediately (editor role). Anything destructive (a new required column, a type change, tightening nullability, renames, drops) is not applied: it becomes a schema proposal that a space owner must approve in the Kovlet console. Pass tables (the columns you need; existing identical columns are ignored) or explicit changes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"space": "<space>"
},
"name": "propose_schema_addition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| space | Yes | The Data Space: its id (from list_spaces), slug or exact name. | |
| tables | No | Tables by name, each mapping column names to column definitions, e.g. {"expenses": {"vendor": {"type": "string"}, "amount": {"type": "number"}, "note": {"type": "string", "optional": true}}}. "id" is implicit; do not declare it. | |
| changes | No | Explicit changes, applied in order: {"op": "create_table", "table", "columns"}, {"op": "add_column", "table", "column", "def"}, or (destructive, become proposals) drop_column, rename_column (new_name), change_type (def), make_required, drop_table, rename_table (new_name), add_unique, drop_unique, drop_index (column). add_index (column) applies at once. |