pdf_replace_text
Replace specific text in PDF files by specifying the file path, original text, and replacement text. Optionally target a specific page for precise edits.
Instructions
Replace text in a PDF document.
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": {
"pdf_path": "<pdf_path>",
"old_text": "<old_text>",
"new_text": "<new_text>"
},
"name": "pdf_replace_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_text | Yes | ||
| old_text | Yes | ||
| pdf_path | Yes | ||
| page_number | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |