Fill a PDF form's fields
pdf_fillFill a PDF form's fields. Lists a PDF form's fields (name, kind, tooltip label, autocomplete token, options) and fills them from values keyed by field name or by autocomplete token (given-name, email, postal-code ...); dates in the form's own format, comb boxes respected, optional flatten; every written value is read back from the saved file. Owner-protected forms are filled as a plain copy. Same code as the form-filler page. Use when: An agent has the answers and a fillable PDF form (tax, school, rental, job, government). Not for: Flat PDFs without fields; XFA-only forms. File types: pdf. Max 30 MB.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pdf_fill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | Tool options, if any (see the tool description). | |
| file_url | No | Public https URL of the file (preferred). | |
| filename | No | File name with its extension, e.g. part.step. | |
| file_base64 | No | The file as base64, for small files without a URL (give filename too). |