muse_message
Lists or sends session-message traffic to Muse sessions started outside this server, such as a TUI. Use send with a target and body to deliver input to that session's stdin.
Instructions
List or send muse session-message traffic to a Muse session this server did not start, such as a TUI. send requires target and body. A closed ingress is a normal result with error_code external_agent_ingress_closed, which happens unless that target process was started with MUSE_EXPERIMENTAL_EXTERNAL_AGENT_INGRESS or MUSE_EXPERIMENTAL_LOCAL_SESSION_MESSAGING. Does not replace muse_turn.
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": {
"action": "<action>"
},
"name": "muse_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Message text for send, written to the CLI stdin. Empty is rejected. Max 64 KiB. | |
| action | Yes | ||
| target | No | Session uuid or name. Required for send. | |
| in_reply_to | No | ||
| display_context | No | JSON object forwarded as --display-context. |