create_local_session
Open a local interactive terminal session to execute commands like bash, python3, or node for system administration tasks.
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.
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) |