write_input
Send text input to a running program using its process ID, enabling automated command execution and interaction.
Instructions
Send text input to a running program.
Args:
pid: The process ID returned by start_program().
text: The text to send. Newlines are usually needed (e.g., "
").
Returns:
A confirmation message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | ||
| text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |