MCPOutils MCP/Médias/update_asset_folder
update_asset_folder
Writemedia:write
Rename or re-scope an existing media-library folder. Pass only the fields you want to change. Identify it by its id (from list_asset_folders).
Paramètres
folderIdstringobligatoire
The id of the folder to update (required).
namestringfacultatif
New name.
descriptionstringfacultatif
New description.
scopeType"account" | "client" | "location" | "brand"facultatif
New scope type.
scopeIdstringfacultatif
New scope id — a client id (list_clients) or location id (list_locations) for those two scope types.
Exemple de requête
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "update_asset_folder",
"arguments": {
"folderId": "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.