Unarchive items
Move items from the Archive back to the Inbox, optionally clearing publishing data.
MCP tool dext_write → unarchive_items
write Confirm
Returns items to the Inbox. With clear_publishing_data true, an already published item can be published again as a new transaction, which may create a duplicate in the accounting software. With false the item cannot be published again and shows a publishing error. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| item_ids string[] required | string[] | Item IDs from list_items. |
| clear_publishing_data boolean | boolean | true allows republishing. Default: false. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "dext_write",
"arguments": {
"operation": "unarchive_items",
"arguments": {
"item_ids": [
"item ids"
]
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"unarchived": [
"it_7f2e90"
],
"clear_publishing_data": false
},
"isError": false
}