MCPFerramentas MCP/Mídia/list_assets

list_assets

Readmedia:read

Browse the agency's media library: uploads, Sydekick-generated assets, synced and Google-imported photos, and customer photos — newest first, filterable, 60 per page by default. Filter by source (all | upload | gmb | generated | discovered | ugc), type (image | video | document | …), folderId, tag, locationId, clientId, a text search (q) and review status. Returns `items` (each with its `key`, title, type, tags, folders, locations and a ready-to-use url), `nextCursor` (pass it back as `cursor` for the next page) and `counts` per source. Use an item's `key` with get_asset, update_asset, archive_asset and the folder tools. If `incomplete` is true some sources could not be read right now, so the list may be short.

Parâmetros
source"all" | "upload" | "gmb" | "generated" | "discovered" | "ugc"opcional
Which tab: all (default) | upload | gmb | generated | discovered | ugc.
type"image" | "video" | "document" | "spreadsheet" | "report" | "audio" | "other"opcional
Only this kind of file.
folderIdstringopcional
Only assets in this folder (from list_asset_folders).
tagstringopcional
Only assets with this tag name (from list_asset_tags).
locationIdstringopcional
Only assets associated with this location (from list_locations). Accepts the database ID or public loc- ID. IDs must belong to the authenticated agency and permitted client.
clientIdstringopcional
Only assets scoped to this client (from list_clients). Accepts the database ID or public cli- ID. IDs must belong to the authenticated agency and permitted client.
qstringopcional
Text to look for in titles and filenames.
status"ok" | "needs_review" | "spam" | "skipped"opcional
Review status of synced photos.
cursorstringopcional
Leave empty for the first page; to get the next page, pass the `nextCursor` from the previous response.
limitnumberopcional
Items per page (1–200, default 60).
Exemplo de solicitação
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_assets",
    "arguments": {}
  }
}
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.