flatten_form
Flatten a filled PDF form so form fields become non-editable static content. Returns success status and output path. Price: $0.001 USDC per call.
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>",
"output_path": "<output_path>"
},
"name": "flatten_form"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | Your FormFill API key (get one at formfill.plenitudo.ai). | |
| pdf_path | Yes | Absolute path to the source PDF file. | |
| output_path | Yes | Absolute path where the flattened PDF will be saved. | |
| payment_proof | No | x402 payment proof (tx hash). Alternative to api_key for pay-per-use. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |