pdf_header_footer
Add custom header or footer text to a PDF at the top or bottom, saving the result to a new file.
Instructions
Adds a header or footer to a PDF. [Input: PDF (.pdf) | Output: PDF (.pdf)]
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": {
"input": "<input>",
"output": "<output>",
"text": "<text>",
"position": "<position>"
},
"name": "pdf_header_footer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to add. | |
| input | Yes | The input PDF file path. | |
| output | Yes | The output PDF file path. | |
| position | Yes | e.g. 'top' or 'bottom' |