El catálogo/Excel

Excel

app.microsoft.excel

Read and write Excel ranges, formulas, tables, and charts via Microsoft Graph

OAuth 2productivityLeer el código↗
Versión1.0.2
Categoríaproductivity
AutenticaciónOAuth 2
Herramientas20
Transportestdio
LicenciaMIT
01

Qué hace

La aplicación, en sus propias palabras.

Microsoft Excel workbook automation — read and write ranges, formulas, tables, and charts via the Microsoft Graph workbook API.

excelspreadsheetmicrosoftworkbookxlsxoffice365formulas
02

Herramientas

20 herramientas que el agente puede llamar.

Todas se declaran con parámetros tipados y devuelven resultados estructurados, así que el anfitrión puede renderizarlas en vez de narrarlas.

  • 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

Autenticación y permisos

Qué pide.

Declarado en el manifiesto y por adelantado. La aplicación no puede alcanzar nada que no haya pedido aquí.

Permisos

openidprofileemailoffline_accessUser.ReadFiles.ReadWrite.All

Secretos de sistema

CLIENT_IDCLIENT_SECRETREDIRECT_URI

Secretos de instalación

ACCESS_TOKENREFRESH_TOKENEMAILEXPIRY_DATE

Seguir leyendo

El manifiesto y el código de Excel están en el repositorio, junto al resto de apps.

Leer el código↗Volver al catálogo→

Excel · Agent Apps