Save a draft from a PDF
create_form_from_pdfFetch a PDF or page URL and save a draft form in the authenticated organization, the same way claiming a preview does. Requires an org API key with the forms:write scope. Uses the on-server parser only: Workers AI and other models stay off. Returns formId and editorUrl (/app/forms/{formId}). Does not publish the form. File contents are not logged.
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": {
"url": "<url>"
},
"name": "create_form_from_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | https URL of a blank volunteer PDF. | |
| title | No | Optional title override. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| formId | Yes | Draft form id. | |
| parser | Yes | On-server parser. Workers AI stays off. | |
| editorUrl | Yes | Editor URL, /app/forms/{formId}. | |
| fieldCount | Yes |