pdf_flatten
Convert PDF form fields and annotations into static content to make them non-editable, finalizing documents for distribution.
Instructions
Flatten a PDF — converts all form fields and annotations into static page content. Fields become non-editable. Useful for finalizing documents before distribution.
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": {
"filePath": "<filePath>",
"outputPath": "<outputPath>"
},
"name": "pdf_flatten"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | PDF file path | |
| outputPath | Yes | Output path |