split_table
Splits a table into two separate tables at a specified row index, moving rows from the split point onward to a new table inserted immediately after.
Instructions
Split a table into two tables at the given row index.
Rows 0..at_row_index-1 remain in the original table; rows at_row_index..end move to a new table inserted immediately after.
Args: table_idx: 0-based table index. at_row_index: 0-based row index to split at (must be > 0 and < row_count).
Returns: {"table1_rows": int, "table2_rows": int}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_idx | Yes | ||
| at_row_index | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |