Terminal Tool
terminal_toolExecute shell commands on the host machine and retrieve stdout, stderr, and exit code. Supports custom working directory and timeout settings for controlled execution.
Instructions
Run a shell command on the host and return stdout, stderr, and exit code.
The command is executed with the system shell. Use only in trusted environments.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| cwd | No | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |