update_collection_columns
Add or change a collection’s custom columns by sending the full column schema; any column omitted from the payload is removed.
Instructions
Add or change a collection's custom columns. Reads the current schema, then PATCHes it with the system columns + your custom columns (the PATCH replaces the whole schema, so omitting a column drops it).
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": {
"collection_id": "<collection_id>",
"columns": "<columns>"
},
"name": "update_collection_columns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| columns | Yes | The FULL set of custom columns the table should have. | |
| collection_id | Yes | Collection id (from list_collections / get_collection). |