codesweep_next
Retrieve the next batch of unprocessed items from a sweep by ID or name, with optional tag filters and batch size. Keeps tracking current without revisiting completed items.
Instructions
Get next batch of unprocessed (non-terminal, non-archived) items in insertion order.
Args:
sweep_ref: Sweep ID (SW-N) or name
limit: Batch size (overrides sweep default). 0 means NO items; omit it to use the sweep's own default batch size. A negative value is an error (it used to mean "no limit").
tags: Filter to items matching any of these tags
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": {
"sweep_ref": "<sweep_ref>"
},
"name": "codesweep_next"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| limit | No | ||
| sweep_ref | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||