MCPMCP Tools/Media/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).
Parameters
folderIdstringrequired
The id of the folder to update (required).
namestringoptional
New name.
descriptionstringoptional
New description.
scopeType"account" | "client" | "location" | "brand"optional
New scope type.
scopeIdstringoptional
New scope id — a client id (list_clients) or location id (list_locations) for those two scope types.
Example request
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "update_asset_folder",
"arguments": {
"folderId": "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.