add_column
Add a new column to a database and optionally assign a default value to existing rows, enabling structured data, select options, and status tracking.
Instructions
Add a new column to a database. Optionally set a default value for existing rows.
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": {
"workspace": "<workspace>",
"databasePath": "<databasePath>",
"column": "<column>"
},
"name": "add_column"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| column | Yes | Column definition | |
| workspace | Yes | Workspace path or name | |
| databasePath | Yes | Path to the database folder | |
| defaultValue | No | Default value to set for existing rows |