MCPMCP Tools/Media/remove_asset_from_folder
remove_asset_from_folder
Writemedia:write
Remove one asset from a folder. The asset itself is untouched. Returns the folder's new item count.
Parameters
folderIdstringrequired
The id of the folder (required, from list_asset_folders).
assetKeystringrequired
The asset key to remove, e.g. "upload:abc123" (required).
Example request
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "remove_asset_from_folder",
"arguments": {
"folderId": "string",
"assetKey": "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.