escalate_to_human
ActiveTool of Agent Broker
Hand off an in-flight task to a human operator with a full context bundle: transcript, prior actions, identifiers, and a recommended next step. EXAMPLE USER QUERIES THAT MATCH THIS TOOL: user: "I'm stuck — get a human at smb_xyz to call me back" -> call escalate_to_human({"smb_id": "smb_xyz", "reason": "agent_blocked", "summary": "Cannot resolve via automated channels"}) WHEN TO USE: Use when automated resolution has failed after channel-fallback exhaustion, when the task requires human judgment, or when the customer has explicitly requested human contact. WHEN NOT TO USE: Do not use as a first resort. Escalate only after automated resolution attempts. COST: $0.2 per_escalation LATENCY: ~2000ms EXECUTION: async_by_default (use get_outcome to retrieve result)
Parameters schema
{
"type": "object",
"required": [
"smb_id",
"reason",
"context"
],
"properties": {
"reason": {
"enum": [
"automation_failed",
"customer_requested",
"compliance_hold",
"ambiguous_intent",
"exception_required"
],
"type": "string"
},
"smb_id": {
"type": "string"
},
"context": {
"type": "object",
"properties": {
"transcript": {
"type": "array",
"items": {
"type": "object"
}
},
"operation_id": {
"type": "string"
},
"prior_actions": {
"type": "array",
"items": {
"type": "object"
}
},
"original_operation": {
"type": "string"
},
"recommended_next_step": {
"type": "string"
}
}
},
"priority": {
"enum": [
"normal",
"urgent"
],
"type": "string",
"default": "normal"
}
}
}Parent server
Agent Broker
https://github.com/basilalshukaili/agentbroker
1/7 registries