MCPMCP-Tools/Medien/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).
Parameter
tagIdstringerforderlich
The id of the tag to rename (required, from list_asset_tags).
namestringerforderlich
The new name (required).
Beispielanfrage
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "update_asset_tag",
"arguments": {
"tagId": "string",
"name": "string"
}
}
}Beispielantwort
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}Die Antwortform dient nur zur Veranschaulichung — der tatsächliche Inhalt hängt vom Tool und Ihren Daten ab.