Finance · request_finance_approval
Demander une approbation
Demande la validation humaine d'une action financière.
- Prix
- inclus
- Prérequis
- Aucun connecteur
- fonctionne sur les clés plateforme
- Validation humaine
- Non
- lecture ou écriture interne
Entrée
| Champ | Type | Description |
|---|---|---|
| approvals | array | Batch approvals: the FULL list of approval requests to raise in one call (preferred whenever there is more than one). Each item takes the same fields as a single approval. When provided, the top-level single-approval fields are ignored. |
| reason * | string | Reason why approval is needed |
| amount * | number | Amount involved in the action |
| currency | string | Currency code (default: EUR) |
| invoiceId | string | Related invoice UUID (optional) |
| action * | string | Description of the action requiring approval |
| urgency | normal | urgent | Urgency level (default: normal) |
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":"request_finance_approval","input":{"approvals":[],"reason":"…","amount":1,"currency":"…"}}'$
run({ "tool": "request_finance_approval", "input": {"approvals":[],"reason":"…","amount":1,"currency":"…"} })