send_message
Send a message to a remote coding-agent session over SSH and receive its reply, maintaining per-peer conversation history.
Instructions
Send a message to the coding-agent session running on another machine and return its reply. The remote session keeps its own conversation history across calls; it works on that machine against its own files.
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": {
"peer": "<peer>",
"message": "<message>"
},
"name": "send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peer | Yes | Peer name as listed by list_peers. | |
| message | Yes | The message text to send. | |
| timeout | No | Seconds to wait for the remote reply. Default: peer setting or 600. | |
| new_session | No | Start a fresh conversation on that machine instead of continuing the existing one. Default false. |