next_task
Request a task whose module is safe to start now, so AI agents avoid editing collisions on a shared repository.
Instructions
Ask the sequencer for a task whose module is safe to start right now.
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": {
"agentId": "<agentId>",
"repo": "<repo>"
},
"name": "next_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| repoId | No | ||
| agentId | Yes | ||
| projectId | No | ||
| candidates | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | ||
| reason | Yes |