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

Parameters: unarchive_items
NameTypeDescription
item_ids string[] required string[] Item IDs from list_items.
clear_publishing_data boolean boolean true allows republishing. Default: false.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "dext_write",
    "arguments": {
      "operation": "unarchive_items",
      "arguments": {
        "item_ids": [
          "item ids"
        ]
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "unarchived": [
      "it_7f2e90"
    ],
    "clear_publishing_data": false
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.