wf_document_with_files
Create a wflow document from uploaded PDFs, ISDOC files, or images by sending each file base64-encoded; wflow extracts the data for you.
Instructions
Create a document from uploaded files (PDF, ISDOC, images); wflow extracts the data. Pass each file's content base64-encoded.
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": {
"files": "<files>"
},
"name": "wf_document_with_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Files to upload as the document's attachments | |
| typeId | No | Document type ID | |
| invoiceType | No | Invoice type | |
| organization | No | Organization workspace name (uses default if omitted) |