mcode_send
Deliver a message into an active coding session to steer the current turn to a new prompt or abort it.
Instructions
Deliver a message into an mcode turn that is executing right now. Works only on runs started with transport 'acp' — a session that already finished takes mcode_reply, not mcode_send. follow_up is unsupported: MiniMax Code ACP does not document a mid-turn queue. steer cancels the current turn and submits the message as a new prompt. mcode_running lists reachable sessions.
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": "<session>"
},
"name": "mcode_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | No | 'abort' (default) cancels the current turn via ACP session/cancel; 'steer' cancels and immediately submits the message as a new user turn. 'follow_up' is rejected. | |
| message | No | Text to deliver. Required for 'steer', ignored by 'abort'. | |
| session | Yes | Session id of the running turn (see mcode_running). |