get_document_from_pdf4me
Subscribe a callback webhook to PDF4me with callback_url and doc_name, saving the API response as JSON to retrieve documents automatically.
Instructions
Subscribe a callback webhook via PDF4me WebhookSubscribe (/api/v2/WebhookSubscribe). Provide callback_url and doc_name. Saves API response as JSON.
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": {
"callback_url": "<callback_url>",
"doc_name": "<doc_name>"
},
"name": "get_document_from_pdf4me"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_name | Yes | ||
| output_dir | No | ||
| callback_url | Yes | ||
| output_file_name | No | webhook_subscribe_response.json |