Redact personal data from a PDF
redact_pdfFinds IDs, bank accounts, cards, phone numbers, emails, names and addresses and really redacts them: nothing is left under the black box. Returns a link to download the result (kept about an hour). Credits on paid plans: 3 per page.
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": {
"files": "<files>"
},
"name": "redact_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language. Language of the texts the tool adds. Values: 'es' = Spanish; 'en' = English | es |
| mode | No | Result Values: 'tachar' = Redact them (permanent); 'marcar' = Just mark them, to review | tachar |
| files | Yes | Input files (.pdf). Each one is a public http(s) URL, or an object with `url`, or with `name` and `content_base64` (small files only: up to 20 MB in total). | |
| terms | No | Other words or names, separated by commas. e.g. Ana Ruiz, Project Phoenix | |
| categories | No | What to redact Values: 'dni' = Spanish ID (DNI, NIE); 'iban' = Bank accounts (IBAN); 'tarjeta' = Cards; 'telefono' = Phone numbers; 'email' = Emails; 'nombre' = Names; 'direccion' = Addresses |