Fichiers et agenda · m365_edit_document
Modifier un document Microsoft 365
Modifie un Word, PowerPoint ou Excel de OneDrive / SharePoint en place (nouvelle version, même lien).
- Prix
- 1 crédit / appel
- ≈ 0,078 € · 0,085 $US
- Prérequis
- SharePoint / OneDrive
- à brancher dans Paramètres → Intégrations
- Validation humaine
- Oui, par défaut
- écriture vers l'extérieur : un humain valide
- Fiabilité
- Vérifié
- pas encore mesuré
Entrée
| Champ | Type | Description |
|---|---|---|
| file * | string | File ref (item:<driveId>:<itemId>), item id, or share URL. |
| code * | string | Python code that loads /home/user/<name>, modifies it and SAVES it to outputPath. |
| outputPath | string | Where the code saves the edited file. Default: /home/user/edited-<name>. |
| description | string | One line describing the change (shown to the user). |
Appeler cet outil
Via l'API HTTP, ou depuis le serveur MCP avec le méta-outil run.
curl https://api.ezyagents.fr/gateway/v1/run \
-H "Authorization: Bearer ezk_…" -H "Content-Type: application/json" \
-d '{"tool":"m365_edit_document","input":{"file":"…","code":"…","outputPath":"…","description":"…"}}'$
run({ "tool": "m365_edit_document", "input": {"file":"…","code":"…","outputPath":"…","description":"…"} })