ssh_build
Execute a build command on a remote server via SSH and receive structured results with classified errors and warnings for AI analysis.
Instructions
Execute a build command on the remote server via SSH, wait for completion, classify errors/warnings, and return structured build results for AI analysis. IMPORTANT: Each session supports only ONE build at a time. For concurrent builds, open multiple sessions via ssh_shell_open and assign one build per session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory on the remote server for the build command | |
| command | Yes | The build command to execute (e.g., 'make -j8', './build.sh') | |
| maxWait | No | Maximum wait time in milliseconds (default: 600000 = 10 minutes) | |
| classify | No | Whether to classify output into errors/warnings/info queues (default: true) | |
| session_id | Yes | The session ID returned by ssh_shell_open or ssh_shell_login. One session supports only one build at a time — open multiple sessions for concurrent builds. | |
| pollInterval | No | Poll interval in milliseconds to check for build completion (default: 2000) |