MCPFerramentas MCP/Mídia/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).

Parâmetros
tagIdstringobrigatório
The id of the tag to rename (required, from list_asset_tags).
namestringobrigatório
The new name (required).
Exemplo de solicitação
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "update_asset_tag",
    "arguments": {
      "tagId": "string",
      "name": "string"
    }
  }
}
Exemplo de resposta
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

O formato da resposta é ilustrativo — o conteúdo real depende da ferramenta e dos seus dados.