Add property
add_propertyAdd a new property (column) to a Shoanta collection by defining its name and type, with option support for select fields.
Instructions
Add a new property (column) to a collection. Type one of TEXT, NUMBER, SELECT, MULTI_SELECT, DATE, CHECKBOX, URL, FORMULA, RELATION (default TEXT). For SELECT/MULTI_SELECT, pass options as [{value, color?}].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Property name (column header) | |
| type | No | Property type (default TEXT) | |
| options | No | Options for SELECT/MULTI_SELECT properties | |
| collectionId | Yes | ID of the collection (database) |