The catalogue/Excel
Excel
app.microsoft.excel
Read and write Excel ranges, formulas, tables, and charts via Microsoft Graph
Version1.0.2
Categoryproductivity
AuthOAuth 2
Tools20
Transportstdio
LicenceMIT
01
What it does
The app, in its own words.
Microsoft Excel workbook automation — read and write ranges, formulas, tables, and charts via the Microsoft Graph workbook API.
02
Tools
20 tools the agent can call.
Every one is declared with typed parameters and returns structured results, so the host can render them instead of narrating them.
- add-chartAdd a chart to a worksheet from a range of data. Use get-chart-image afterwards to see the result.
- add-tableTurn a range of cells into an Excel table, so it can be appended to, sorted and filtered as a unit.
- add-table-rowsAppend rows to an Excel table. The table grows automatically — no need to find the next free row.
- add-worksheetAdd a new worksheet to an Excel workbook.
- calculate-workbookForce Excel to recalculate a workbook. Use after writing formulas if dependent cells still show stale values.
- clear-rangeClear a range: its contents, its formatting, or both. This cannot be undone by this app.
- create-workbookCreate a new, empty Excel workbook in OneDrive. Fails if a file already exists at that path unless overwrite is set. This is not a workbook API call: it uploads an empty .xlsx, after which the workbook endpoints become available on that item. Returns the drive item, whose id addresses every other Excel tool.
- delete-rows-or-columnsDelete rows or columns at a range, shifting the surviving cells to close the gap. This cannot be undone by this app.
- delete-worksheetDelete a worksheet and everything on it. This cannot be undone by this app — the workbook must be restored from OneDrive version history.
- format-rangeApply number formatting and cell styling to a range: currency or date formats, bold, italic, font size and colour, fill colour, and alignment.
- get-chart-imageRender a chart as a PNG image, returned base64-encoded. Use this to visually check a chart you created. Pass width and height to keep the image small — a render over 5 MB is rejected.
- get-workbookGet an Excel workbook: its file metadata and the list of worksheets it contains. Confirms the item is a usable .xlsx — this is the only tool that validates the extension when addressing by itemId, because it is the only one that fetches the item metadata; the others surface Graph's own error for a wrong item type.
- insert-rows-or-columnsInsert blank rows or columns at a range, shifting existing cells out of the way. Use a whole-row address like "3:4" or a whole-column address like "B:B" to insert entire rows or columns.
- list-tablesList every Excel table in a workbook, across all worksheets. Table names address the add-table-rows tool.
- list-worksheetsList every worksheet in an Excel workbook, with its position and visibility.
- read-rangeRead a range of cells from a worksheet. Returns raw values, display text, and the underlying formulas.
- read-used-rangeRead every populated cell on a worksheet without knowing its extent in advance. Use this to survey a sheet before reading specific ranges.
- rename-worksheetRename a worksheet, or change its position or visibility.
- sort-rangeSort a range by one or more columns. Column indexes are zero-based and relative to the range, not the sheet.
- write-rangeWrite cells into a worksheet range. Writes literal values by default; set formulas:true to write formula strings such as "=A1*B1". The payload shape must match the address. This app does not manage workbook sessions: each call runs as its own implicit session and there is no batching, so prefer one write over a wide range to many small ones.
03
Auth and permissions
What it asks for.
Declared in the manifest, in advance. The app cannot reach anything it did not ask for here.
Scopes
openidprofileemailoffline_accessUser.ReadFiles.ReadWrite.All
System secrets
CLIENT_IDCLIENT_SECRETREDIRECT_URI
Installation secrets
ACCESS_TOKENREFRESH_TOKENEMAILEXPIRY_DATE
Reading further
The manifest and the source for Excel live in the repository, alongside the other apps.