MCPHerramientas MCP/Multimedia/delete_asset
delete_asset
Writemedia:write
Deprecated — use archive_asset. Despite the name this does NOT delete or erase anything: it archives the upload exactly as archive_asset does (bytes, folders/tags and share links all stay). Kept so existing callers keep working; it returns the same result plus deleted:true.
Parámetros
assetKeystringobligatorio
The asset's key to archive, e.g. "upload:abc123" (required). For uploads, accepts upload:<database ID> or upload:up-<public ID>. Other asset sources retain their existing keys. IDs must belong to the authenticated agency and permitted client.
Solicitud de ejemplo
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "delete_asset",
"arguments": {
"assetKey": "string"
}
}
}Respuesta de ejemplo
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}La forma de la respuesta se muestra a modo ilustrativo — el contenido real depende de la herramienta y de tus datos.