Open the upload pad
open_upload_padShows a box in the chat where the user drops a PDF or a Word file (.docx), or picks one from their device, and Docflare makes it a draft the way upload_document does. Use it when sending the file to the upload_document link is blocked, for example with HTTP 403, or when the user has no file in the chat. Ask the user to drop the file there and reply once it is uploaded. The pad then gives you the new document id; without it, the newest draft in document_status is the one. Read its text and lines with get_document, then carry on with prepare_document and edit_document.
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": "open_upload_pad"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow | No | get-signature when other people sign the document, sign-document when the user signs it themselves and sends the signed copy. get-signature when left out; prepare_document can switch it later. |