Tool Redact Text
tool_redact_textAutomatically redact sensitive content by blackening every matching keyword in a PDF. Rasterizes redacted pages to physically remove text, while preserving text layers elsewhere.
Instructions
按内容真涂黑:自动定位每个关键词的全部出现处并涂黑(无需手工量坐标)。 如"把所有合同编号涂掉"。被涂页光栅化、文字物理删除;其余页保留文本层。
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": {
"path": "<path>",
"queries": "<queries>"
},
"name": "tool_redact_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpi | No | ||
| path | Yes | ||
| output | No | ||
| queries | Yes | ||
| overwrite | No | ||
| rasterize_all | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||