Redact sensitive data
snipaya_redactFinds emails, phone numbers, IBANs, card numbers, tokens, IPs, passwords and faces on-device, then covers them in one undo step using noise, blur, or solid redaction styles.
Instructions
Find emails, phone numbers, IBANs, card numbers, tokens, IP addresses, passwords and faces (on-device) and cover them in one undo step, in the user’s Redaction style (noise by default). style overrides it: noise fills the area with opaque random colors from it, blur pixelates with blocks sized to the text, solid covers it with a plain box. pixelSize sets the noise block size or a coarser minimum for blur. Defaults to every image and category. Returns the ids and counts.
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": "snipaya_redact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | noise, blur or solid. Defaults to the user’s Redaction setting. | |
| tabId | No | Target tab id. Defaults to the active tab. | |
| imageIds | No | ||
| pixelSize | No | Noise block size, or minimum blur block size, in canvas units. | |
| categories | No |