Archive items

Move items from the Inbox to the Archive.

MCP tool dext_write → archive_items

write

Archives the items, in bulk. The call reaches no one and is undone with unarchive_items, so it runs without asking.

Parameters

Parameters: archive_items
NameTypeDescription
item_ids string[] required string[] Item IDs from list_items.

tools/call

JSON-RPC

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

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "archived": [
      "it_7f3a11",
      "it_7f3a12"
    ]
  },
  "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.