pull_next
Claim the next eligible code finding, release, triage, or maintenance item based on priority and agent capacity. Returns the item dict, or None if nothing is eligible.
Instructions
Claim the next eligible item for the calling agent. Returns the item dict or None if nothing eligible.
Priority: stream/security > release/* (earliest target_date) > stream/triage > stream/maintenance.
Args:
agent_id: Stable id for the calling agent. Used as actor in audit.
capacity: Dict like {'large':1,'small':2,'triage':5}. Defaults to those values if not provided.
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": {
"agent_id": "<agent_id>"
},
"name": "pull_next"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| capacity | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |