Skip to main content
Back to Inbuilt tools The set_queue tool validates a routing queue with the contact center, so you can confirm that a queue exists before you route a conversation to it.

When to use

Use set_queue when the target queue is decided at runtime, for example from the caller’s intent or language, and you want to confirm that it is valid before calling transfer_to_agent with that queueId. 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 the queue is valid, false otherwise. Invalid input returns the error code INVALID_INPUT.