MCPFerramentas MCP/Mídia/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
assetKeystringobrigatório
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.
Exemplo de solicitação
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_asset",
"arguments": {
"assetKey": "string"
}
}
}Exemplo de resposta
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}O formato da resposta é ilustrativo — o conteúdo real depende da ferramenta e dos seus dados.