Send to Codex Agent
agent_sendSend guidance to a worker agent to steer its active turn or trigger a follow-up when idle. Returns after delivery; poll agent_status for outcome.
Instructions
Send guidance to a worker. In auto mode this steers its active turn, or starts a follow-up turn when it is idle. Use an explicit mode when the distinction matters. Returns once the message is delivered, not once the worker has acted on it; poll agent_status afterwards rather than blocking on agent_wait.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| prompt | Yes | ||
| agentId | Yes | ||
| turnOptions | No | Additional turn/start fields; invalid when steering. |