move_visible_columns
Move Airtable columns to a specific position based on their visible order, using the index of the leftmost shown column. Ideal for reordering columns as seen by users, ignoring hidden fields.
Instructions
Move columns by visible-only index (index 0 = leftmost shown column, hidden columns not counted). Use when you want to position relative to what the user sees. Use move_overall_columns when you need to position relative to the full underlying column order including hidden fields. ⚠️ The API preserves existing relative order of supplied IDs — to place columns in a custom sequence, issue one call per column with incrementing targets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | The Airtable base/application ID | |
| viewId | Yes | The view ID | |
| columnIds | Yes | Field IDs to move as a contiguous block to targetVisibleIndex. ⚠️ The Airtable API preserves existing relative order of the supplied IDs — it does NOT re-sequence them by input array order. To place columns in a specific custom sequence, issue separate single-column calls with incrementing targets (e.g. ["fldA"]→1, ["fldB"]→2, ["fldC"]→3). | |
| targetVisibleIndex | Yes | Destination index in the visible-only column ordering (0 = leftmost visible) | |
| debug | No | When true, include raw Airtable response in output for diagnostics |