rpc_ai_message
rpc_ai_message
Inject a message into the AI agent running on another call. Useful for cross-call coordination, such as notifying a held caller’s agent about a status change or instructing it to relay information.
Parameters
call_id
Call ID of the target call whose AI agent should receive the message.
message_text
The message text to inject into the target AI’s conversation.
role
Role for the injected message. Typically "system" for instructions.
Returns
FunctionResult — self, for chaining.