laya_triage
Classify incoming messages by intent, urgency, frustration, refund request, churn risk. Outputs probabilities to route and prioritize before agent escalation, with human handoff for low confidence.
Instructions
Triage a message or ticket: intent, urgency, frustration, refund request, churn risk. Returns probabilities per aspect in one pass. Use to route or prioritise before an expensive agent turn; escalate to a human when confidence is low.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "laya_triage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| timeout_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |