MCPOutils MCP/Médias/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).
Paramètres
tagIdstringobligatoire
The id of the tag to rename (required, from list_asset_tags).
namestringobligatoire
The new name (required).
Exemple de requête
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "update_asset_tag",
"arguments": {
"tagId": "string",
"name": "string"
}
}
}Exemple de réponse
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}La forme de la réponse est indicative — le contenu réel dépend de l'outil et de vos données.