MCPMCP Tools/Media/update_asset_tag

update_asset_tag

Writemedia:write

Rename a tag — applies everywhere it's used. If another tag already has the new name, this MERGES into it instead (moves every assignment onto the existing tag and removes this one) rather than creating a duplicate name. Identify it by its id (from list_asset_tags).

Parameters
tagIdstringrequired
The id of the tag to rename (required, from list_asset_tags).
namestringrequired
The new name (required).
Example request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "update_asset_tag",
    "arguments": {
      "tagId": "string",
      "name": "string"
    }
  }
}
Example response
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

Response shape shown for illustration — the actual content depends on the tool and your data.