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
| Name | Type | Description |
|---|---|---|
| item_ids string[] required | string[] | Item IDs from list_items. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "dext_write",
"arguments": {
"operation": "archive_items",
"arguments": {
"item_ids": [
"item ids"
]
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"archived": [
"it_7f3a11",
"it_7f3a12"
]
},
"isError": false
}