All tools

Customer support · calculate_sla_breach

Compute SLA breach

SLA breach and remaining time for a ticket.

Price
included
Requirements
No connector
runs on platform keys
Human approval
No
read or internal write

Input

FieldTypeDescription
ticketIdstringOptional ticket UUID for reference
createdAt *stringISO 8601 timestamp of when the ticket was created
slaPolicy *P1 | P2 | P3 | P4SLA policy tier to evaluate against
firstResponseAtstringISO 8601 timestamp of the first agent response (optional)

Call this tool

Through the HTTP API, or from the MCP server with the run meta-tool.

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":"…"} })