Support client · list_tickets
Lister les tickets
Tickets de l'espace avec statut, priorité et SLA restant.
- Prix
- inclus
- Prérequis
- Aucun connecteur
- fonctionne sur les clés plateforme
- Validation humaine
- Non
- lecture ou écriture interne
Entrée
| Champ | Type | Description |
|---|---|---|
| status | array | Statuses to include (default: new, open, pending) |
| slaPolicy | P1 | P2 | P3 | P4 | Only tickets under this SLA policy / priority |
| olderThanHours | number | Only tickets created more than N hours ago (e.g. 48 to find stale pending tickets) |
| customerEmail | string | Only tickets of this customer |
| atRiskOnly | boolean | Only tickets whose resolution SLA is breached or due within 2 hours |
| limit | number | Max rows (1-50, default 20) |
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":"list_tickets","input":{"status":[],"slaPolicy":"P1","olderThanHours":1,"customerEmail":"…"}}'$
run({ "tool": "list_tickets", "input": {"status":[],"slaPolicy":"P1","olderThanHours":1,"customerEmail":"…"} })