{
  "id": "storage.list",
  "object": "tool",
  "name": "List files in storage",
  "summary": "Browse a bucket, drive or server.",
  "description": "Lists the files and folders directly under a folder of a storage connection (a key prefix ending in / for object stores), with sizes and modified times. Pages with a cursor. Paths are relative to the connection's base prefix or folder; pass them to storage.import or use { connection, path } as a file input to any tool. Google Drive paths are resolved by name; id:<fileId> also works.",
  "category": "files",
  "hosted_by": "Opentools",
  "runtime": "worker",
  "side_effects": false,
  "status": "live",
  "credits": 0,
  "price": "$0.0000",
  "providers": [
    {
      "id": "opentools",
      "name": "Opentools",
      "price": "$0.0000"
    }
  ],
  "mcp_name": "storage_list",
  "input_schema": {
    "type": "object",
    "properties": {
      "connection": {
        "type": "string",
        "minLength": 1,
        "maxLength": 64,
        "description": "A connection id or name from storage.connections. Connections are added in the app or with POST /v1/connections"
      },
      "path": {
        "default": "",
        "description": "Folder to list, e.g. \"reports/2026\". Empty for the top",
        "type": "string",
        "maxLength": 1024
      },
      "cursor": {
        "description": "The cursor from the previous page",
        "type": "string",
        "maxLength": 4096
      },
      "limit": {
        "default": 100,
        "description": "Entries per page",
        "type": "integer",
        "minimum": 1,
        "maximum": 1000
      }
    },
    "required": [
      "connection"
    ]
  },
  "kind": "tool"
}