move_view_to_section
Move views or sections within the Airtable sidebar to organize your base. Supports placing a view into a section, moving it to ungrouped, reordering sections, or rearranging views within a section.
Instructions
Move a view (or a section itself) within the sidebar. The single endpoint covers four user actions depending on the arguments:
viewId + sectionId → put the view INTO that section at targetIndex
viewId + sectionId: null → move the view OUT to ungrouped at table-level targetIndex
sectionId-as-viewIdOrSectionId + targetIndex → reorder the section among other sections
viewId + same section → reorder the view within its current section For section reorders, targetIndex is into the table's top-level mixed viewOrder; for in-section moves, it's into that section's viewOrder.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | The Airtable base/application ID | |
| tableId | Yes | The table ID (tbl-prefixed) | |
| viewIdOrSectionId | Yes | A view ID (viw...) or section ID (vsc...) to move | |
| targetIndex | Yes | Destination index (0 = top). Per-section for in-section moves; per-table for section reorders. | |
| targetSectionId | No | Optional vsc-prefixed section ID to move INTO. Omit (or pass null) to move the view to ungrouped. | |
| debug | No | When true, include raw Airtable response in output for diagnostics |