Excel Add Table Rows
excel_add_table_rowsAppend one or more rows to an existing Excel table in Microsoft 365 by providing comma-separated values. Insert rows at the end or at a specified position.
Instructions
Append one or more rows of data into an existing Excel table.
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": {
"item_id_or_path": "<item_id_or_path>",
"worksheet_name": "<worksheet_name>",
"table_name_or_id": "<table_name_or_id>",
"rows": "<rows>"
},
"name": "excel_add_table_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | Comma-separated values for a row (e.g. '2026-09-06, Laptop Pro, 1200'), or multiple rows separated by newlines. | |
| index | No | Optional 0-indexed row position (default None appends to the end). | |
| site_id | No | Optional SharePoint Site ID. | |
| drive_id | No | Optional SharePoint Drive ID. | |
| worksheet_name | Yes | Worksheet name (e.g. 'Sheet1'). | |
| item_id_or_path | Yes | Drive item ID or file path (e.g. '/Reports/Sales.xlsx'). | |
| table_name_or_id | Yes | Name or ID of the table (e.g. 'Table1' or 'SalesData'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |