MCPOutils MCP/Médias/create_asset_folder

create_asset_folder

Writemedia:write

Create a new media-library folder. Optionally scope it to an account/client/location/brand.

Paramètres
namestringobligatoire
Folder name (required).
descriptionstringfacultatif
A short description.
scopeType"account" | "client" | "location" | "brand"facultatif
Which kind of entity this folder belongs to.
scopeIdstringfacultatif
The id of the scoped entity — 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": "create_asset_folder",
    "arguments": {
      "name": "string"
    }
  }
}
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.