list_drive_files

List the files directly inside a folder of your SellerSheet workspace.

readGoogle Sheets, Docs & Drive

Call it

In an AI client (MCP)

tools/call
{
  "name": "list_drive_files",
  "arguments": {}
}

From code (Tool API)

curl -X POST https://api.sellersheetai.com/api/v1/tools/list_drive_files \
  -H "Authorization: Bearer $SELLERSHEET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
Early access — the Tool API is open on request, contact us.

Arguments

NameTypeDescription
parentIdstringthe folder to list — the SellerSheet folder the sidebar created or any folder inside it. Omitted, it covers that folder and the workspace folders in it (Listings, StoreReports, Shipments, …), direct children of each. A folder outside the workspace, or one SellerSheet cannot see, is refused.
maxintegerfiles to return, 1–1000 (Drive's pageSize cap); there is no next page — raise max or narrow parentId. Default: 20.Default: 20

Result

Every tool answers {notification, data, human_action}; data carries:

  • files — List of file objects with id, name, mimeType, size, modifiedTime, parents.

Example

list_drive_files(parentId="1ABC...", max=50)

On this page

Actions

View as Markdown

Ask an assistant

Ask ChatGPTAsk Claude