workforce_delegate
Delegate software engineering tasks to an autonomous worker that safely edits files under guardrails and returns a summary, cutting token costs.
Instructions
Delegate a software engineering task to an autonomous ReAct worker agent.
The worker operates with filesystem tools under strict guardrails to inspect, read, modify, and create workspace files safely.
Args: task_prompt: Comprehensive description of the task or feature to implement. target_files: Optional list of relevant workspace-relative file paths. model: OpenRouter model to utilize (defaults to DEFAULT_MODEL). timeout_seconds: Execution timeout limit in seconds (default: 300).
Returns: str: Final completion summary or diagnostic output from the worker agent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| task_prompt | Yes | ||
| target_files | No | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |