execute_with_streaming
Runs shell commands while streaming output in real time, making long-running builds and tasks observable with configurable update intervals and time limits.
Instructions
Execute a command with real-time output streaming - ideal for long-running builds
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": {
"command": "<command>"
},
"name": "execute_with_streaming"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | The command to execute | |
| max_duration | No | Maximum execution time in seconds (default: 120) | |
| update_interval | No | Seconds between output updates (default: 2) | |
| working_directory | No | Optional working directory |