create_local_session
Open a local interactive terminal (bash, python3, node) for sysadmin automation. Supports output logging with rotation to capture session history.
Instructions
Open a local interactive terminal session (bash, python3, node, etc.). WARNING: Executes as the current user with full local system access — this is by design for legitimate sysadmin automation. Only use on trusted systems.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_local_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | No | Command to run (default: /bin/bash). Examples: /bin/bash, python3, node | |
| log_file | No | File path to append all session output. Useful when output may exceed buffer size. File is created if it doesn't exist. | |
| log_max_size | No | Max log file size in MB before rotation (0 = no rotation, default: 0) | |
| log_max_files | No | Max number of rotated log files to keep (default: 3) |