smartsuite_create_fields
Create multiple table fields in a single validated batch, with per-field success or error reporting so you can retry only the failed entries. Use this to avoid repeated single-field calls.
Instructions
Create MULTIPLE fields in one call — use this instead of calling smartsuite_create_field repeatedly. Requires readwrite/admin mode AND SMARTSUITE_ENABLE_SCHEMA_WRITE=true. Pass applicationId and fields: an array of { fieldType, label, params?, aiPrompt? } entries with exactly the same shape and semantics as smartsuite_create_field (see that tool for the per-type params guide). Slugs are generated. Every entry is validated before anything is written, so a malformed entry fails the whole call cleanly rather than half-creating the batch. Note SmartSuite has no bulk add-field API, so this performs one request per field (~1s each — a 20-field batch takes ~20s); it is sequential on purpose, because parallel field adds get rate-limited and silently drop fields. If a field fails, the batch continues and the result reports every field individually with created:true/false plus the error, so you can re-call with just the failures. Fields append to the end of the table in the order given (SmartSuite ignores field positioning on create — use smartsuite_move_layout_field to rearrange). TO CREATE A TABLE AND ITS FIELDS TOGETHER, pass fields to smartsuite_create_application instead — that provisions all of them in a SINGLE request and is far faster. Dry-run preview unless confirm:true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | The fields to create, in order. Each entry: { fieldType, label, params?, aiPrompt? } — same semantics as smartsuite_create_field. | |
| confirm | No | Must be true to create (default false = preview). | |
| applicationId | Yes | The application (table) ID to add the fields to. |