Tous les outils

Documents et code · generate_document

Générer un fichier

Vrai fichier Excel, PowerPoint, Word ou PDF.

Prix
1 crédit / appel
0,078 € · 0,085 $US
Prérequis
Aucun connecteur
fonctionne sur les clés plateforme
Validation humaine
Non
lecture ou écriture interne

Entrée

ChampTypeDescription
code *stringPython code that WRITES the file to /home/user/<fileName> (or outputPath) and prints a one-line confirmation.
fileName *stringFinal file name with extension, e.g. "rapport-q3.xlsx", "pitch-clients.pptx". No path separators.
outputPathstringWhere the code writes the file inside the sandbox. Default: /home/user/<fileName>.
descriptionstringOne-line description of the document (shown to the user).
filesarrayfileIds of user-attached files to load into the sandbox at /home/user/<fileName> before execution (max 5), e.g. the workbook to clean or the deck to update.

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":"generate_document","input":{"code":"…","fileName":"…","outputPath":"…","description":"…"}}'
$run({ "tool": "generate_document", "input": {"code":"…","fileName":"…","outputPath":"…","description":"…"} })