Queue Message • AI Agent SDK
queue_message: Queue a steering message for the agent.
queue_message
Method
</div>
This is a method of the MessageSteeringProtocol class in the protocols module.
Queue a steering message for the agent.
Signature
def queue_message(message: str, priority: int) -> strParameters
ParamField
strThe steering message content
ParamField
intMessage priority (higher = more urgent)
Returns
ResponseField
strMessage ID for tracking
Source
View on GitHubpraisonaiagents/agent/protocols.py at line 481