run_shell_command
Run a shell command in a Google Colab terminal and wait for its completion. Designed for quick commands, not long-running tasks.
Instructions
Runs a short shell command through Colab Terminal and waits for completion. Do NOT use this for training or long jobs; use start_background_command plus watch_background_command instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Shell command to run in the Colab runtime. | |
| timeoutSeconds | No | Maximum seconds to wait before killing the command. | |
| cwd | No | Optional working directory inside the Colab runtime. |