codesweep_add
Add items to a sweep, automatically bumping recurrence counts for existing entries and reactivating archived ones.
Instructions
Add items to a sweep. Atomic upsert: existing items have their
recurrence_count bumped instead of being silently skipped, their
last_seen updated, and their archive flag cleared (R5: re-detected
archived items un-archive automatically).
Args:
sweep_ref: Sweep ID (SW-N) or name
items: Item identifiers to add
tags: Optional tags applied to this batch (overwrite on bump)
Returns: {sweep_id, added, recurrence_bumped, duplicates_skipped (alias)}
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_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| items | Yes | ||
| sweep_ref | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||