table_data
Manage table data by adding, retrieving, updating, or deleting rows and cells. Perform batch insertions or precise cell edits for structured data.
Instructions
š č”Øę ¼č³ęęä½ļ¼ę°å¢/åå¾/ę“ę°/åŖé¤ å & å²åę ¼ć
Operations:
add_rows: ę¹ę¬”ę°å¢č³ęå
get_row: åå¾å®åļ¼å«å¼ēØļ¼
update_row: ę“åę“ę°
delete_row: åŖé¤å
get_cell: åå¾å®ę ¼ļ¼å«å¼ēØļ¼
update_cell: ę“ę°å®ę ¼
clear_cell: ęø é¤å®ę ¼
Args: operation: ęä½é”å table_id: č”Øę ¼ ID rows: [add_rows] č³ęåå蔨 row: [update_row] ę°ēåč³ę row_index: [get/update/delete_row, cell ops] åē“¢å¼ (0-based) column_name: [cell ops] ę¬ä½å value: [update_cell] ę°ēå¼
Examples: table_data("add_rows", "tbl_xxx", rows=[{"Drug":"A","Dose":1}]) table_data("get_row", "tbl_xxx", row_index=0) table_data("update_cell", "tbl_xxx", row_index=0, column_name="Drug", value="B")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| row | No | ||
| rows | No | ||
| limit | No | ||
| value | No | ||
| offset | No | ||
| row_id | No | ||
| search | No | ||
| filters | No | ||
| table_id | Yes | ||
| operation | Yes | ||
| row_index | No | ||
| column_name | No | ||
| include_coverage | No | ||
| selected_columns | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |