MCPFerramentas MCP/Localizações/get_location_media
get_location_media
Readlocations:read
Get all of a single location's photos, grouped by category (COVER, LOGO, INTERIOR, etc.), plus the logo URL and a count summary. Use this to see what imagery a location currently has before uploading or deleting. Identify the location by its id (from list_locations or create_location). You don't pass an agency — it comes from your credentials.
Parâmetros
locationIdstringobrigatório
The id of the location whose media you want.
Exemplo de solicitação
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_location_media",
"arguments": {
"locationId": "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.