guardian_quarantine
Isolate suspicious files into a quarantine directory, remove originals, and reverse isolation by restoring files with their SHA256 hash. All actions logged.
Instructions
Isolate, release, or list quarantined files. DESTRUCTIVE for isolate/release: isolate copies the file into ~/.guardian/quarantine/, then removes the original; release reverses. All actions logged to quarantine_manifest.jsonl.
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": "guardian_quarantine"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | list | |
| file_path | No | Absolute path to the file (required for isolate). | |
| file_hash | No | SHA256 hash of the quarantined file (required for release). |