Generate agent tasks
generate_agent_tasksConverts zen violations into structured task lists, enabling agents to remediate code issues automatically.
Instructions
Convert zen violations into structured agent task lists for automated remediation.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo_path": "<repo_path>"
},
"name": "generate_agent_tasks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| languages | No | Restrict scanning to these languages. Omit to analyse only Python files by default. Default to None. | |
| repo_path | Yes | Absolute path to the repository to scan. All eligible source files are discovered recursively. | |
| min_severity | No | Severity floor (1-10 scale). Violations below this threshold are excluded from the task list. Default to 5. | |
| enable_external_tools | No | Opt-in execution of allow-listed external tools while gathering repository analysis. Default to False. | |
| allow_temporary_runners | No | Permit temporary-runner fallback strategies for external tools. Default to False. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tasks | Yes | ||
| project | Yes | ||
| roadmap | No | ||
| clusters | No | ||
| total_tasks | Yes | ||
| health_score | Yes |