MCPOutils MCP/Médias/list_asset_folders

list_asset_folders

Readmedia:read

List the agency's media-library folders (each can hold a mix of uploads, Sydekick-generated assets, and synced media). Optionally scope to an entity. Use this to find a folderId for update_asset, add_asset_to_folder, or remove_asset_from_folder.

Paramètres
scopeType"account" | "client" | "location" | "brand"facultatif
Filter by scope type.
scopeIdstringfacultatif
Filter by scope id — a client id (list_clients) or location id (list_locations) for those two scope types.
Exemple de requête
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_asset_folders",
    "arguments": {}
  }
}
Exemple de réponse
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

La forme de la réponse est indicative — le contenu réel dépend de l'outil et de vos données.