runVSCodeTask
Run a VS Code task by its name, wait for it to finish, and obtain the exit code. Use for build, test, or lint tasks with optional type filter and timeout.
Instructions
Run VS Code task by name. Waits for completion, returns exit code. For build/test/lint tasks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the task to run | |
| type | No | Task type filter (e.g. 'shell', 'npm') to disambiguate tasks with the same name | |
| timeout | No | Seconds to wait for task completion (default: 60, max: 300) |