write_row
Writes a row of values into an Excel worksheet at a specified row and optional starting column, enabling targeted batch data entry in .xlsx files.
Instructions
Write a row of values starting from a given row number and optional start column.
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": "<sheet>",
"row": "<row>",
"values": "<values>"
},
"name": "write_row"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| row | Yes | Row number (1-based) | |
| sheet | Yes | Sheet name or 1-based index | |
| values | Yes | Array of values to write (max 16,384 — Excel column limit) | |
| file_path | Yes | Absolute path to the .xlsx file | |
| start_column | No | Start column letter (default 'A') |