Write stdin
write_stdinSend input to or wait for output from a running command using its command ID. Use empty characters to poll for output, or provide text to write to its standard input.
Instructions
Poll or interact with a running command by command_id. Empty chars wait for output; non-empty chars writes to stdin. Example: {"command_id":"abc","chars":"","yield_time_ms":10000}.
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_id": "<command_id>"
},
"name": "write_stdin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chars | No | ||
| verbosity | No | ||
| command_id | Yes | ||
| preview_bytes | No | ||
| yield_time_ms | No | ||
| max_output_bytes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No |