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

python
def queue_message(message: str, priority: int) -> str

Parameters

ParamField str

The steering message content

ParamField int

Message priority (higher = more urgent)

Returns

ResponseField str

Message ID for tracking

Source

View on GitHub

praisonaiagents/agent/protocols.py at line 481