You're viewing a demo portfolio

Join the waitlist
PRSM

handle_inbound

Active

Tool of Agent Broker

declared in 0.1.0

Receive, classify, and route inbound messages on behalf of an SMB. Classifies intent (booking request, cancellation, inquiry, complaint), enriches with context, and routes to the appropriate handler or escalation path. EXAMPLE USER QUERIES THAT MATCH THIS TOOL: user: "Process this customer reply for me: 'Yes I want to book Tuesday'" -> call handle_inbound({"raw_message": "Yes I want to book Tuesday", "channel": "sms"}) WHEN TO USE: Use when an SMB needs inbound message triage — classifying incoming contact-form submissions, SMS replies, voicemails, or email inquiries. WHEN NOT TO USE: Do not use for outbound communications. Do not use for compliance-flagged recipient lists without verified opt-in records. COST: $0.03 per_inbound LATENCY: ~3000ms EXECUTION: async_by_default (use get_outcome to retrieve result)

Parameters schema

{
  "type": "object",
  "required": [
    "smb_id",
    "inbound_channel",
    "raw_message"
  ],
  "properties": {
    "sender": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "phone": {
          "type": "string"
        }
      }
    },
    "smb_id": {
      "type": "string"
    },
    "raw_message": {
      "type": "string"
    },
    "routing_rules": {
      "type": "object",
      "description": "Optional override routing policy for this SMB"
    },
    "inbound_channel": {
      "enum": [
        "sms",
        "email",
        "voice_voicemail",
        "web_form",
        "api"
      ],
      "type": "string"
    },
    "received_at_iso": {
      "type": "string",
      "format": "date-time"
    }
  }
}

What this tool wraps· 1 endpoint

min confidence0.700.50

Parent server

Agent Broker

https://github.com/basilalshukaili/agentbroker

1/7 registries
View full server →