release_cleanup
Remove low-risk ignored or untracked release artifacts per project auto_cleanup rules, with dry-run enabled by default and an audit summary after non-dry-run cleanup.
Instructions
v1.3.0: Clean up release artifacts using project-policy auto_cleanup rules. Defaults to dry_run=true. Non-dry-run cleanup only removes low-risk ignored/untracked artifacts under repo_path and writes an audit summary.
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": {
"repo_path": "<repo_path>"
},
"name": "release_cleanup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Preview cleanup by default. Set false to remove eligible artifacts. | |
| patterns | No | Optional cleanup patterns. Defaults to project policy auto_cleanup.patterns. | |
| repo_path | Yes | Repository path inside workspaceRoot. |