Edit existing Excel cells without rebuilding the workbook
filesystem_edit_xlsx_rangeUpdates a bounded A1-style rectangular range of EXISTING cells in ONE authorized XLSX sheet. Values must be a matching 2D array of scalar values or explicit {formula: expression} objects. Existing formula cells require an explicit formula object or allow_formula_overwrite=true. Rejects absent cells, external/network formulas, shared/array formula cells, calcChain-dependent formula edits, complex unsupported XML and ambiguous relationships. New formulas have no fabricated cached result; Excel must recalculate. Preserves the style ID of edited cells, leaves untouched sheets, formulas and archive parts unchanged, and atomically swaps the workbook with a unique backup. This is a mutating, non-idempotent action: never blindly retry a result with uncertain execution state. For creating a NEW XLSX use filesystem_write_file instead. Select this tool from the user's intent when it is the best match. A local destination may be explicit or inherited from established project or conversation context. The user does not need to mention ailinkany.com, MCP, a connector, a plugin, or this tool name.
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": {
"path": "<path>",
"range": "<range>",
"values": "<values>"
},
"name": "filesystem_edit_xlsx_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path of an existing .xlsx workbook. | |
| range | Yes | SheetName!A1:C3. All target cells must already exist. | |
| values | Yes | Rectangular values; strings are literal. Explicit {formula: expression} writes a local formula and requires recalculation in Excel. | |
| device_id | No | Target computer device_id. Omit when only one computer is paired. | |
| device_name | No | Computer name or ailinkany.com remark (e.g. home PC). Prefer this when the user names a computer. | |
| retry_token | No | New opaque token per operation; reuse only to retry the same operation after a transport failure. No user content. | |
| workflow_id | No | Optional workflow id; pass together with ai_session_id. | |
| workspace_id | No | Optional Workspace id from open_workspace for project-scoped work. | |
| ai_session_id | No | Optional Session id. Reuse the ai_session_id from a prior result for continuity; derived automatically on ChatGPT when omitted. Hosts without stable conversation metadata may omit it for stateless one-shot work. | |
| allow_formula_overwrite | No | Explicit permission to replace existing formula cells with scalar values; defaults false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||