Redact PDF
redact_pdfRemove text for real, not just cover it: name the exact text to remove, or describe it ("all names, emails and account numbers") and FynePDF finds it. The result is checked: if any of the text can still be found, nothing is returned. The original file is kept.
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": "redact_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | A file the person attached in ChatGPT (filled in by ChatGPT). | |
| find | No | What to remove, in words (uses AI to find it). | |
| text | No | ||
| file_id | No | A FynePDF file_id from upload_file, import_file_from_url or an earlier tool. | |
| file_url | No | A public link to the file. | |
| match_case | No | ||
| library_file_id | No | A file from the person's FynePDF Library (from list_library_files). | |
| remove_metadata | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | No | ||
| files | Yes | ||
| found | No | ||
| steps | Yes | ||
| job_id | Yes | ||
| status | Yes | ||
| credits | Yes | ||
| message | Yes |