update_unit_document
Update a unit document's title, document date, or notes in the Achi workspace. Correct a wrong letter date without editing the UI.
Instructions
Patch a trail document’s title, documentDate (YYYY-MM-DD or DD.MM.YYYY), or notes. Use this for a wrong letter date — do not ask the user to edit the UI.
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": {
"unitId": "<unitId>",
"docId": "<docId>"
},
"name": "update_unit_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | ||
| notes | No | ||
| title | No | ||
| unitId | Yes | ||
| documentDate | No | YYYY-MM-DD or DD.MM.YYYY — the letter/receipt date, not 31 Dec of the settlement year |