MCPHerramientas MCP/Multimedia/get_asset
get_asset
Readmedia:read
Get one media-library asset by its key (e.g. "upload:abc123", from list_assets): title, type, size, tags, folders, the locations it is associated with and published to, and a ready-to-use url. Use it to check an asset before editing, tagging or reusing it.
Parámetros
assetKeystringobligatorio
The asset's key, 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": "get_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.