send_message
Sends a follow-up message to an existing throng session, optionally steering or running in the background, and returns the agent result or a queued state.
Instructions
Sends the next message into an earlier session (session_id from run_thronglet) and returns the same JSON as run_thronglet. A message to a session whose turn is still running waits for that turn to end: turns on one session never overlap. With background: true the call returns {session_id, state, queued} as soon as the turn runs; collect the result with wait_thronglet. steer: true interrupts the running turn and delivers this message next; queued messages follow it. A session its harness cannot continue (resume or load) takes no further message, steer included: list_thronglets shows it as accepts_messages: false.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>",
"prompt": "<prompt>"
},
"name": "send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steer | No | Interrupt the running turn (session/cancel) and run this message as the very next turn, ahead of queued messages. The in-flight tool call is aborted; a half-applied edit may remain. | |
| prompt | Yes | Next message for the agent | |
| schema | No | JSON Schema (draft-07 or 2020-12) for structured output: the agent ends with a matching JSON value as its final message, returned as `structured` instead of `text` | |
| timeout_s | No | Wall-clock limit for the run in seconds; default from config (21600) | |
| background | No | Return as soon as the turn is running (or queued behind the session's current turn); collect the result with wait_thronglet | |
| session_id | Yes | session_id from run_thronglet |