send_to_session
Send a command to an existing named terminal session and reuse its tab. Check available sessions first to continue work in the right terminal instead of opening a new tab.
Instructions
Send a command to an existing named terminal session, reusing its tab. Always prefer this over opening a new tab when a relevant session already exists. Use list_sessions first to check for available 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_name": "<session_name>",
"command": "<command>"
},
"name": "send_to_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | The command to send | |
| session_name | Yes | Name of the target session |