add_form_fields
Add interactive form fields (text, signature, checkbox, etc.) to a PDF using explicit positions or placeholder tags, with per-field overrides.
Instructions
Add interactive form fields to a stored PDF — from placeholder tags (refined via fieldOverrides) and/or explicitly positioned fields.
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": {
"documentId": "<documentId>"
},
"name": "add_form_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Fields to add at explicit positions | |
| documentId | Yes | The document ID | |
| fieldOverrides | No | Per-field overrides keyed by field name | |
| preSignedUrlExpiresIn | No | Generate a fresh pre-signed download URL expiring in this many seconds (60–86400) |