sweep
Lists expired topics for review and moves them to trash on confirmation. Preview with dry_run, then delete.
Instructions
List or soft-delete topics whose expiry has passed.
dry_run=true returns the list without changing anything; the model should review it and then call sweep(dry_run=false) to move the topics into .trash.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sweep"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | When true (default), lists expired topics without moving them. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |