batch
Delegate multiple atomic tasks to GitHub Copilot CLI for batch processing, repetitive operations, mass refactoring, and automated code transformations.
Instructions
Delegate multiple atomic tasks to GitHub Copilot CLI for batch processing. Ideal for repetitive operations, mass refactoring, and automated code transformations
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | AI model to use: 'gpt-5', 'claude-sonnet-4', 'claude-sonnet-4.5', or 'claude-haiku-4.5' (0.33x cost). Defaults to COPILOT_MODEL env var | |
| tasks | Yes | Array of atomic tasks to delegate to GitHub Copilot | |
| addDir | No | Add directories to allowed list for file access | |
| resume | No | Resume from a previous session (optionally specify session ID) | |
| timeout | No | Maximum execution time per task in milliseconds | |
| continue | No | Resume the most recent session | |
| denyTool | No | Deny specific tools | |
| logLevel | No | Set the log level | |
| parallel | No | Execute tasks in parallel (experimental) | |
| allowTool | No | Allow specific tools. Supports glob patterns (e.g., 'shell(npm run test:*)') | |
| workingDir | No | Working directory for command execution. Falls back to COPILOT_MCP_CWD env var or process.cwd() | |
| stopOnError | No | Stop execution if any task fails | |
| allowAllPaths | No | Automatically approve access to all file paths (use with caution) | |
| allowAllTools | No | Allow all tools to run automatically | |
| additionalMcpConfig | No | Additional MCP server configuration (JSON string or object). Use @ prefix for file path (e.g., "@config.json") |