mirror of
https://github.com/haris-musa/excel-mcp-server.git
synced 2025-12-24 08:36:38 +08:00
-removed write_headers parameter (#4)
-write_data_to_excel is now context aware and checks for headers -fixed issue where headers were duplicated when appending data
This commit is contained in:
4
TOOLS.md
4
TOOLS.md
@ -50,8 +50,7 @@ write_data_to_excel(
|
||||
filepath: str,
|
||||
sheet_name: str,
|
||||
data: List[Dict],
|
||||
start_cell: str = "A1",
|
||||
write_headers: bool = True
|
||||
start_cell: str = "A1"
|
||||
) -> str
|
||||
```
|
||||
|
||||
@ -59,7 +58,6 @@ write_data_to_excel(
|
||||
- `sheet_name`: Target worksheet name
|
||||
- `data`: List of dictionaries containing data to write
|
||||
- `start_cell`: Starting cell (default: "A1")
|
||||
- `write_headers`: Whether to write dictionary keys as headers
|
||||
- Returns: Success message
|
||||
|
||||
### read_data_from_excel
|
||||
|
||||
Reference in New Issue
Block a user