Read a document again
reparse_documentDeletes data: has Trackberry read a document again from its file, deciding its type afresh, as the person who connected this app, and records it in the organization's audit log. Each run is a paid AI extraction that sends the file to an AI provider. The extracted data is cleared first, and what the new reading imports replaces what the old one imported (a packing list's pallets and boxes, invoice lines, dates), so a correction a person made by hand to that data can be lost. The new reading is not instant: the document shows pending, then parsed or failed; use get_document_data later. Only admins and owners can do this in Trackberry, and the answer says so for anyone else. Refused, with nothing changed, for a document that is waiting or being read, a file the security scan blocked, a shipment that has arrived, a packing list with pre-allocations (delete those first). In a demo or sample organization nothing is read: the call is recorded in the audit log, the document is unchanged and the answer says simulated true. Limited to 10 re-readings (this and recategorize_document together) an hour per connection; do not retry sooner. Use it only when the user asks, for example after a document failed or was read wrongly. On a copy shared across containers it acts on the original. Answers with the document.
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": {
"document_id": "<document_id>"
},
"name": "reparse_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | A document id such as "doc_45", as returned by list_documents. |