Upload Document File
upload_document_fileUpload one file attached in the conversation to an Airparser inbox and wait up to 15 seconds for the parsed result. If parsing takes longer, the response has parsing_in_progress: true and the document id; the document is accepted and keeps being parsed.
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": {
"inbox_id": "<inbox_id>",
"file": "<file>"
},
"name": "upload_document_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | The attached file to upload. | |
| inbox_id | Yes | Target Airparser inbox id. | |
| metadata | No | Optional metadata object to attach as meta. |