Orchestration
Orchestration tools let an agent hand the conversation off to another agent in a multi-agent topology.
For each tool, the Tool schema table describes the tool as it is exposed to the LLM.
pass_question
Passes the current user question to another agent. For details, see Multi-agent topologies.
Tool schema
Parameters the tool exposes to the LLM.
| Parameter | Type | Description |
|---|---|---|
agent
|
string | Name of the agent to pass the question to. |
question
|
string | The question to pass on. Speech-to-speech models only — for textual models the current user utterance is passed automatically, so this parameter is not used. |
Sample prompt
In most cases the tool can be referenced in the prompt by its description, naming the recipient agent. For example:
If the user asks a question about university courses,
pass the question to `university-courses` agent.
send_message
Sends a message to another agent. For details, see Multi-agent topologies.
Tool schema
Parameters the tool exposes to the LLM.
| Parameter | Type | Description |
|---|---|---|
agent
|
string | Name of the agent to send the message to. |
message
|
string | The message to send. |
Sample prompt
In most cases the tool can be referenced in the prompt by its description, naming the recipient agent and the information to send. For example:
If the user chooses to schedule an appointment, send a message with
the caller's name, SSN and intent to `doctor-schedule` agent.