start_background_command
Start a background shell command in a Colab runtime, with output logged to a file and status tracked for monitoring.
Instructions
Preferred tool for training and long jobs. Starts a background shell command through Colab Terminal, writes stdout/stderr to a log file, and records status for watch_background_command.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Shell command to start in the background. | |
| name | No | Optional stable name for the background command. | |
| logPath | No | Optional runtime log path. Defaults to /content/colab_mcp_logs/<name>.log. | |
| cwd | No | Optional working directory inside the Colab runtime. |