smartsuite_create_application
Create a new SmartSuite table in a solution, optionally provisioning all its fields in one request to avoid slow follow-up additions.
Instructions
Create a new table (application) in a solution. Requires readwrite/admin mode AND SMARTSUITE_ENABLE_SCHEMA_WRITE=true. Supply a name and the solutionId. The table is created with a default "Title" primary field and a record term ("what each record is called", default "Record") — the record term is always set explicitly so it is never left empty (an empty record term can break list-view/grid widget creation against the table). PASS fields TO CREATE THE TABLE AND ALL ITS FIELDS IN ONE REQUEST: an array of { fieldType, label, params? } entries (same shape as smartsuite_create_field — params ARE honoured here, and the params that carry a field's configuration are validated: a linkedrecordfield without linked_application, or a rollup/lookup without linked_field + field_selection, is rejected rather than created half-built, and select choices get their stored value filled in from the label when omitted). This is the ONLY true bulk field path SmartSuite offers and it is dramatically faster than adding fields afterwards — one request for all of them, versus ~1s per field via smartsuite_create_fields against an existing table. So when a table is new, always create its fields here. SmartSuite also adds its own default field set (Title, Description, Assigned To, Status, Due Date, Priority, …) alongside yours. Dry-run preview unless confirm:true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The table name. | |
| fields | No | Optional: fields to provision inline with the table, in order — all in this single request. Each entry: { fieldType, label, params? }, same semantics as smartsuite_create_field. aiPrompt is not supported here (the fields it would reference do not exist yet); set AI prompts after the table exists. | |
| confirm | No | Set true to create; otherwise returns a dry-run preview. | |
| recordTerm | No | What each record is called (singular), e.g. "request". Defaults to "record". Use lower case — SmartSuite stores the term lower-case and capitalizes it for display, so "Record" renders wrong. | |
| solutionId | Yes | The solution to create the table in. |