insert_xlsx_row
Insert a new row with cell values at a specified position in an XLSX spreadsheet. Define sheet, row index, and values to add.
Instructions
Insert a new row in an XLSX sheet
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>",
"sheet_name": "<sheet_name>",
"row_index": "<row_index>",
"values": "<values>"
},
"name": "insert_xlsx_row"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | Yes | List of cell values for the new row | |
| file_path | Yes | Absolute path to the .xlsx file | |
| row_index | Yes | Row position to insert at (1-based) | |
| sheet_name | Yes | Sheet name | |
| output_path | No | Save to different path (omit to overwrite) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |