pdf_replace_text
Replace specific text in PDF documents by entering the old text and new text values, with optional page targeting for precise edits.
Instructions
Replace text in a PDF document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pdf_path | Yes | ||
| old_text | Yes | ||
| new_text | Yes | ||
| page_number | No |
Input Schema (JSON Schema)
{
"properties": {
"new_text": {
"title": "New Text",
"type": "string"
},
"old_text": {
"title": "Old Text",
"type": "string"
},
"page_number": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Page Number"
},
"pdf_path": {
"title": "Pdf Path",
"type": "string"
}
},
"required": [
"pdf_path",
"old_text",
"new_text"
],
"type": "object"
}