codesweep_mark
Mark items in a sweep as processed or transition them to an explicit state from the sweep's lifecycle.
Instructions
Mark items by state transition.
Args:
sweep_ref: Sweep ID (SW-N) or name
items: Item identifiers to mark
processed: Legacy mode — True maps to first terminal state, False to first non-terminal state. Omit it entirely (the default) to get the same effect as True. MUTUALLY EXCLUSIVE with
state: sending both is an error, including when the two happen to agree, becausestatenames one state andprocessednames a class of them.state: Explicit target state. Validated against the sweep's
lifecycleandtransitionsDAG (if declared). Mutually exclusive withprocessed— send one or the other, never both.
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>",
"items": "<items>"
},
"name": "codesweep_mark"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| state | No | ||
| processed | No | ||
| sweep_ref | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||