File a document or hold it as reference material
set_document_relevanceChanges data: files a document with its shipment's paperwork ("filed"), or holds it out as reference material that is not part of the shipment ("reference_only"), as the person who connected this app, and records it in the organization's audit log. Filing a document that was held lets Trackberry read it like the rest of the paperwork. Holding one back deletes the free-time notice it produced, and filing it again does not restore that notice; it also takes the document out of the shipment's paperwork. Use it only when the user asks, for example to file an attachment Trackberry held as not belonging to the shipment, or to set aside one that does not. Get document ids from list_documents; a held document is listed with view "reference_only". Safe to repeat: saying what is already true changes nothing. 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>",
"relevance": "<relevance>"
},
"name": "set_document_relevance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relevance | Yes | "filed" for the shipment's paperwork, "reference_only" to hold it as reference material. | |
| document_id | Yes | A document id such as "doc_45", as returned by list_documents. |