smartsuite_move_layout_field
Move a field to a new position in the record-view layout: reorder within the same tab, place under a section, or transfer to another tab. Preview changes unless confirmed.
Instructions
Move/arrange a field in the record-view layout — reorder it, place it under a section, or move it to a different tab. Requires readwrite/admin + SMARTSUITE_ENABLE_SCHEMA_WRITE. To move a field to ANOTHER tab, pass toTab = the destination tab id: the field is removed from its current tab and added to the destination (this is the cross-tab move — plain reorder can't pull a field in from another tab). Otherwise it reorders within the current layout. Pass afterField = a field slug OR a section__ slug to position this field right after it (right after a section marker = first field under that section); omit afterField for the end. In two-column layouts the field is placed as its own full-width row. When tabs are enabled and toTab is NOT used, tabId is required (a tab id, "all", or "top"). Dry-run preview unless confirm:true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The field slug to move. | |
| tabId | No | For within-layout reorder when tabs are enabled (required then): a tab id, "all", or "top". Ignored when toTab is set. Omit when tabs are disabled. | |
| toTab | No | Destination tab id — moves the field to that tab (removing it from its current tab). Use this for cross-tab moves. | |
| confirm | No | Must be true to apply (default false = preview). | |
| afterField | No | Field slug or section__ slug to place this field after (default: end). | |
| applicationId | Yes | The application (table) ID. |