Support client · calculate_sla_breach
Calculer le SLA
Dépassement de SLA et temps restant d'un ticket.
- Prix
- inclus
- Prérequis
- Aucun connecteur
- fonctionne sur les clés plateforme
- Validation humaine
- Non
- lecture ou écriture interne
Entrée
| Champ | Type | Description |
|---|---|---|
| ticketId | string | Optional ticket UUID for reference |
| createdAt * | string | ISO 8601 timestamp of when the ticket was created |
| slaPolicy * | P1 | P2 | P3 | P4 | SLA policy tier to evaluate against |
| firstResponseAt | string | ISO 8601 timestamp of the first agent response (optional) |
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":"calculate_sla_breach","input":{"ticketId":"…","createdAt":"…","slaPolicy":"P1","firstResponseAt":"…"}}'$
run({ "tool": "calculate_sla_breach", "input": {"ticketId":"…","createdAt":"…","slaPolicy":"P1","firstResponseAt":"…"} })