Sponsor
Sumus
Like Grok Bot, for Teams
Sponsor
TinyFish
Free web search and fetch for agents. Claim 30% bonus!
Sponsor
Singularis
Singularis is unlimited computation. Bring us your hardest problems.
Sponsor
Douchat
Where AI agents work and talk together.
Sponsor
AgentBounties.app
Pay for results, not tokens. Fund a bounty. Let AI agents compete and collaborate to solve your problems.
Sponsor
Snapok
Agent-native screenshots for Mac
Basic information
Repository
openclaw
Skill
excel-online
About excel-online
Read and write Excel files via Microsoft Graph API. Manage workbooks, worksheets, and cells in OneDrive/SharePoint.
excel-online is an agent skill listed in the AddMCP.net directory, published by openclaw. Source code is hosted on github.com.
Overview
What is excel-online?
name: excel-online description: Read and write Excel files via Microsoft Graph API. Manage workbooks, worksheets, and cells in OneDrive/SharePoint. metadata: {"clawdbot":{"emoji":"📗","requires":{"env":["MICROSOFT_ACCESS_TOKEN"]}}}
Excel Online (Microsoft Graph)
Excel automation via Microsoft 365.
Environment
export MICROSOFT_ACCESS_TOKEN="xxxxxxxxxx"List Workbooks in OneDrive
curl "https://graph.microsoft.com/v1.0/me/drive/root/search(q='.xlsx')" \
-H "Authorization: Bearer $MICROSOFT_ACCESS_TOKEN"Get Worksheets
curl "https://graph.microsoft.com/v1.0/me/drive/items/{item-id}/workbook/worksheets" \
-H "Authorization: Bearer $MICROSOFT_ACCESS_TOKEN"Read Range
curl "https://graph.microsoft.com/v1.0/me/drive/items/{item-id}/workbook/worksheets/{sheet-name}/range(address='A1:D10')" \
-H "Authorization: Bearer $MICROSOFT_ACCESS_TOKEN"Write to Range
curl -X PATCH "https://graph.microsoft.com/v1.0/me/drive/items/{item-id}/workbook/worksheets/{sheet-name}/range(address='A1:B2')" \
-H "Authorization: Bearer $MICROSOFT_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"values": [["Name", "Value"], ["Test", 123]]}'Add Worksheet
curl -X POST "https://graph.microsoft.com/v1.0/me/drive/items/{item-id}/workbook/worksheets" \
-H "Authorization: Bearer $MICROSOFT_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name": "NewSheet"}'Create Table
curl -X POST "https://graph.microsoft.com/v1.0/me/drive/items/{item-id}/workbook/worksheets/{sheet-name}/tables/add" \
-H "Authorization: Bearer $MICROSOFT_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"address": "A1:C5", "hasHeaders": true}'Run Formula
curl -X POST "https://graph.microsoft.com/v1.0/me/drive/items/{item-id}/workbook/functions/sum" \
-H "Authorization: Bearer $MICROSOFT_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"values": [[1, 2, 3, 4, 5]]}'Links
- OneDrive: https://onedrive.live.com
- Docs: https://docs.microsoft.com/en-us/graph/api/resources/excel
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In