Artifact Cleanup¶
Run TTL-based cleanup over registered artifacts. By default, sweeps every registered artifact (filesystem, llm-cache, messages, notifications, llm-queue, …). Pass
nameto scope the sweep to a single artifact. Usedry_run=true(default) to preview what would be deleted. Thenamefield is deliberately distinct fromartifact_save'stypefield (which means filesystem subtype) — they live in different namespaces.
MCP name: artifact_cleanup
Category: artifacts
Mutates state (retry policy: manual)
Parameters¶
| Name | Type | Required | Description |
|---|---|---|---|
dry_run |
bool |
No | Preview only, don't delete (default: true) |
name |
str |
No | Registered artifact name (e.g. 'llm-cache', 'messages'). Omit to sweep all. |