Send Input to Session
fc_send_inputSend input, such as Python code or shell commands, to an active terminal session identified by session ID, with an optional newline append.
Instructions
Sends input to a running session.
Args:
session_id (string): Session ID
input (string): Input to send
newline (boolean, optional): Append newline (default: true)
Examples:
Python: input="print('Hello')"
Shell: input="ls -la"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session ID | |
| input | Yes | Input to send | |
| newline | No | Append newline |