list_dataset_files

Pack: huggingface · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/list_dataset_files for the schema, then POST the same URL with its arguments for the data.

List files in a Hugging Face dataset repository by repo_id and optional revision/subdirectory path; returns filename, size, and blob SHA for each file.

Parameters

NameTypeRequiredDescription
repo_idstringyes
revisionstringno
pathstringno

Example call

Arguments

{
  "repo_id": "wikitext"
}

curl

curl -X POST https://gateway.pipeworx.io/huggingface/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_dataset_files","arguments":{"repo_id":"wikitext"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('list_dataset_files', {
  "repo_id": "wikitext"
});

More examples

{
  "repo_id": "openwebtext/openwebtext",
  "path": "data"
}

Response shape

Full JSON Schema
{
  "type": "object",
  "description": "List of files in a dataset repository"
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the huggingface pack
{
  "mcpServers": {
    "huggingface": {
      "url": "https://gateway.pipeworx.io/huggingface/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 5, 2026