Add tags

Add tags to one or more items.

MCP tool zotero_write → add_tags

write

Adds the tags to each item and keeps the tags it already has. It reaches nobody and runs without asking first; removing a tag is a click on the minus button next to it in Zotero.

Parameters

Parameters: add_tags
NameTypeDescription
item_keys string[] required string[] Items to tag.
tags string[] required string[] Tags to add.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "zotero_write",
    "arguments": {
      "operation": "add_tags",
      "arguments": {
        "item_keys": [
          "item keys"
        ],
        "tags": [
          "tags"
        ]
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "updated": [
      "H6R2VB5D",
      "N9Q4XA7E"
    ],
    "tags_added": [
      "transformers",
      "to read"
    ]
  },
  "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.