Start Interactive Session
fc_start_sessionStarts an interactive command or REPL session and returns a session ID so you can read its output and send input for ongoing interaction.
Instructions
Starts an interactive process as a session (for fc_read_output and fc_send_input).
Args:
command (string): Command/Program
args (array, optional): Arguments
cwd (string, optional): Working directory
Returns:
Session ID for further interaction
Examples:
Python REPL: command="python"
Node REPL: command="node"
PowerShell: command="powershell"
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": "fc_start_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory | |
| args | No | Arguments | |
| command | Yes | Command/Program |