Execute Streaming Command
proc_exec_streamExecute a command over SSH and stream its output chunk by chunk for real-time processing.
Instructions
Executes a command and returns streaming output chunks
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": {
"sessionId": "<sessionId>",
"command": "<command>"
},
"name": "proc_exec_stream"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory | |
| env | No | Environment variables | |
| command | Yes | Command to execute | |
| sessionId | Yes | SSH session ID | |
| timeoutMs | No | Streaming command timeout in milliseconds |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| chunks | Yes | ||
| stderr | Yes | ||
| stdout | Yes | ||
| truncated | Yes | ||
| durationMs | Yes | ||
| safetyWarning | No |