Experimental Microsoft 365 tools for Piclaw.
Requires Piclaw >=2.13.3.
Open Settings → Add-Ons and install m365 from the catalog. The add-on loads after installation; the former PICLAW_ENABLE_M365_EXPERIMENTAL core gate is not used.
The add-on exposes tools for:
m365_todoEleven bundled skills document the main Graph, Outlook, Teams, OneDrive, and SharePoint workflows.
Graph-backed operations support consumer Microsoft accounts through an Outlook Live browser session and the consumer OAuth flow.
The following operations still require a work or school Microsoft 365 account:
m365_teams_*)Consumer accounts are detected through the Microsoft consumer tenant ID. When a consumer session is visible, Graph authentication prefers the Outlook Live PKCE flow before enterprise Teams-based token recovery.
The add-on supports Windows, macOS, and Linux. Browser discovery always prefers:
Set M365_EDGE_PATH when automatic browser discovery is not sufficient.
Stale browser and CDP cleanup is platform-aware:
taskkill.ps enumeration and process-group signals.Most validation has been performed on Windows.
PICLAW_M365_YOLO=1.confirm; supported flows provide dryRun previews.| Variable | Purpose |
|---|---|
M365_EDGE_PATH |
Explicit Edge, Chrome, or Chromium executable |
M365_USE_TEMP_EDGE_PROFILE=true |
Use a temporary browser profile instead of the normal signed-in profile |
PICLAW_M365_YOLO=1 |
Skip the explicit consent interstitial before authentication navigation |
M365_TENANT_ID |
Force a tenant ID instead of starting from common and auto-discovering it |
M365_CHATSVC_REGION |
Force the Teams chat-service region instead of auto-discovering it |
m365_todom365_todo provides a read-only task view that combines Microsoft To Do task lists and flagged email tasks.
m365_todo({ action: "list" })
m365_todo({ sources: ["flaggedEmails"] })
m365_todo({ search: "contract", dueBefore: "2026-05-01" })
m365_todo({ includeCompleted: true, top: 100 })Partial list failures are tolerated and returned in details.errors.
From the piclaw-addons repository root:
bun x tsc --noEmit -p addons/m365/tsconfig.json
bun test addons/m365/tests/*.test.ts
bun run addons/m365/tests/validate.ts
bun test standalone-import.test.tsThese checks do not require live Microsoft authentication. Live operations require a suitable signed-in browser session.
m365-document-link-metadatam365-graph-querym365-mailm365-onedrive-share-local-filem365-profilem365-spo-browsem365-spo-downloadm365-spo-searchm365-teams-chatsm365-teams-messagesm365-teams-send