check_availability tool checks whether a human agent is available to take the conversation.
When to use
Usecheck_availability before transfer_to_agent to confirm that an agent with the right skills or queue is online. If none is available, offer a callback or keep the caller with the AI agent.
The tool requires Kore SmartAssist agent transfer to be configured for the project. If it is not configured, the call fails.
Declare the tool
Parameters
Returns
A boolean:true when a matching agent is available, false otherwise. Invalid input returns the error code INVALID_INPUT.