handle_inbound
Classify an inbound message on behalf of an SMB and get a recommended next action. Classifies intent (booking request, cancellation, opt-out, inquiry, complaint) and returns a suggested_action for YOUR agent to act on - opt-outs are recorded durably; nothing else is auto-routed or auto-executed by this tool. [$0.03/per_call] [async→get_outcome]
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": {
"smb_id": "<smb_id>",
"inbound_channel": "<inbound_channel>",
"raw_message": "<raw_message>"
},
"name": "handle_inbound"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sender | No | ||
| smb_id | Yes | ||
| raw_message | Yes | ||
| routing_rules | No | Optional override routing policy for this SMB | |
| idempotency_key | No | Retry key: a 24h replay returns the original receipt, not re-run or charged. | |
| inbound_channel | Yes | ||
| received_at_iso | No |