> ## Documentation Index
> Fetch the complete documentation index at: https://docs.boxd.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Hugging Face

> Build, train and deploy state of the art models powered by the reference open source in machine learning

Build, train and deploy state of the art models powered by the reference open source in machine learning.

`hugging-face` · **135 tools** · no triggers

## Connect it

```bash theme={"theme":"github-dark"}
run auth hugging-face
run auth hugging-face --scope team    # shared with the organization
```

Or from the [Integrations page](https://app.boxd.sh/integrations) in the console. See [Connections](/guides/integrations/connections) for personal versus shared, and who may remove one.

## Use it

```bash theme={"theme":"github-dark"}
run hugging-face          # common commands
run hugging-face --all    # every command
```

```ts theme={"theme":"github-dark"}
import { huggingFace } from "@boxd/run";
```

## Common tools

| Tool                                  | What it does                                                                                                                                                             |
| ------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `change-discussions-status`           | Tool to change the status of a Hugging Face repository discussion.                                                                                                       |
| `create-datasets-branch`              | Tool to create a new branch in a Hugging Face dataset repository.                                                                                                        |
| `create-datasets-commit`              | Tool to create a commit in a Hugging Face dataset repository.                                                                                                            |
| `create-discussions`                  | Tool to create a new discussion on a Hugging Face repository (model, dataset, or Space).                                                                                 |
| `create-discussions-comment`          | Tool to create a new comment on a Hugging Face repository discussion.                                                                                                    |
| `create-models-branch`                | Tool to create a new branch in a Hugging Face model repository.                                                                                                          |
| `create-models-commit`                | Tool to create a commit to a Hugging Face model repository. Use when you need to add, update, or delete files in a model repository.                                     |
| `create-repo`                         | Tool to create a new repository (model, dataset, or Space) on Hugging Face Hub.                                                                                          |
| `create-spaces-branch`                | Tool to create a new branch in a Hugging Face space repository.                                                                                                          |
| `create-spaces-commit`                | Tool to create a commit in a Hugging Face Space repository. Use when you need to add, update, or delete files in a Space.                                                |
| `filter-dataset-rows`                 | Tool to filter rows in a Hugging Face dataset split based on SQL-like query conditions.                                                                                  |
| `generate-chat-completion`            | Tool to generate a response given a list of messages in a conversational context.                                                                                        |
| `generate-embeddings`                 | Tool to convert text into vector embeddings for feature extraction, semantic search, and similarity tasks.                                                               |
| `get-daily-papers`                    | Tool to retrieve daily papers from Hugging Face. Use when you need to fetch the latest AI/ML research papers shared on Hugging Face.                                     |
| `get-dataset-first-rows`              | Tool to get the first 100 rows of a dataset split along with column data types and features.                                                                             |
| `get-dataset-info`                    | Tool to get general information about a dataset including description, citation, homepage, license, and features (column schemas).                                       |
| `get-dataset-rows`                    | Tool to retrieve a slice of rows from a Hugging Face dataset split at any given location (offset).                                                                       |
| `get-discussion`                      | Tool to get detailed information about a specific discussion or pull request on Hugging Face Hub.                                                                        |
| `get-model-info`                      | Tool to retrieve detailed information about a Hugging Face model repository.                                                                                             |
| `get-resolve`                         | Tool to resolve a file in a Hugging Face repository. Use when you need to access files from model, dataset, or space repositories.                                       |
| `get-space-info`                      | Tool to retrieve detailed information about a Hugging Face Space repository.                                                                                             |
| `get-trending`                        | Tool to retrieve trending repositories from Hugging Face. Use when you need to discover popular models, datasets, or spaces that are currently trending on the platform. |
| `get-whoami`                          | Tool to get information about the authenticated Hugging Face user including username, email, organizations, and token details.                                           |
| `handle-datasets-user-access-request` | Tool to handle a user's access request to a gated Hugging Face dataset.                                                                                                  |
| `list-collections`                    | Tool to list collections on the Hugging Face Hub. Use when you need to discover collections of models, datasets, spaces, or papers.                                      |

<Accordion title="All 135 tools" icon="list">
  | Tool                                  | What it does                                                                                                                                                              |
  | ------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `change-discussions-status`           | Tool to change the status of a Hugging Face repository discussion.                                                                                                        |
  | `check-dataset-validity`              | Tool to check whether a specific dataset is valid on Hugging Face Hub.                                                                                                    |
  | `check-models-upload-method`          | Tool to check if files should be uploaded through the Large File mechanism or directly.                                                                                   |
  | `check-spaces-upload-method`          | Tool to check if files should be uploaded through the Large File mechanism or directly to Hugging Face Spaces.                                                            |
  | `claim-settings-papers-claim`         | Tool to claim authorship of a paper on Hugging Face. Use when you need to associate yourself or another user with an ArXiv paper.                                         |
  | `create-ask-access`                   | Tool to request access to a gated repository on Hugging Face Hub.                                                                                                         |
  | `create-collection`                   | Tool to create a new collection on Hugging Face. Use when you need to organize and curate models, datasets, spaces, papers, or other collections into a named collection. |
  | `create-datasets-branch`              | Tool to create a new branch in a Hugging Face dataset repository.                                                                                                         |
  | `create-datasets-commit`              | Tool to create a commit in a Hugging Face dataset repository.                                                                                                             |
  | `create-datasets-preupload`           | Tool to check if files should be uploaded via Large File Storage (LFS) or directly to a Hugging Face dataset repository.                                                  |
  | `create-datasets-tag`                 | Tool to create a tag on a Hugging Face dataset repository. Use when you need to mark a specific revision with a named tag.                                                |
  | `create-discussions`                  | Tool to create a new discussion on a Hugging Face repository (model, dataset, or Space).                                                                                  |
  | `create-discussions-comment`          | Tool to create a new comment on a Hugging Face repository discussion.                                                                                                     |
  | `create-discussions-pin`              | Tool to pin or unpin a discussion on a Hugging Face repository (model, dataset, or Space).                                                                                |
  | `create-models-branch`                | Tool to create a new branch in a Hugging Face model repository.                                                                                                           |
  | `create-models-commit`                | Tool to create a commit to a Hugging Face model repository. Use when you need to add, update, or delete files in a model repository.                                      |
  | `create-models-tag`                   | Tool to create a tag on a Hugging Face model repository. Use when you need to mark a specific revision with a named tag.                                                  |
  | `create-papers-comment`               | Tool to create a new comment on a Hugging Face paper. Use when you need to add comments or feedback to research papers on Hugging Face.                                   |
  | `create-papers-comment-reply`         | Tool to create a reply to a comment on a Hugging Face paper.                                                                                                              |
  | `create-papers-index`                 | Tool to index a paper from arXiv by its ID on Hugging Face. Use when you need to make a paper searchable and accessible on the platform.                                  |
  | `create-repo`                         | Tool to create a new repository (model, dataset, or Space) on Hugging Face Hub.                                                                                           |
  | `create-spaces-branch`                | Tool to create a new branch in a Hugging Face space repository.                                                                                                           |
  | `create-spaces-commit`                | Tool to create a commit in a Hugging Face Space repository. Use when you need to add, update, or delete files in a Space.                                                 |
  | `create-spaces-secrets`               | Tool to create or update a secret in a Hugging Face Space. Use when you need to add or update environment variables or sensitive configuration values for a Space.        |
  | `create-spaces-tag`                   | Tool to create a tag on a Hugging Face space repository. Use when you need to mark a specific revision with a named tag.                                                  |
  | `create-spaces-variables`             | Tool to create or update a variable in a Hugging Face Space.                                                                                                              |
  | `create-sql-console-embed`            | Tool to create a SQL Console embed for querying datasets on Hugging Face.                                                                                                 |
  | `create-webhook`                      | Tool to create a webhook on Hugging Face that triggers on repository or discussion events.                                                                                |
  | `delete-datasets-branch`              | Tool to delete a branch from a Hugging Face dataset repository.                                                                                                           |
  | `delete-datasets-tag`                 | Tool to delete a tag from a Hugging Face dataset. Use when you need to remove a specific tag revision from a dataset repository.                                          |
  | `delete-discussions`                  | Tool to delete a discussion from a Hugging Face repository. Use when you need to remove a discussion that is no longer needed.                                            |
  | `delete-network-cidr-list`            | Tool to delete a network CIDR list entry from Hugging Face Inference Endpoints.                                                                                           |
  | `delete-notifications`                | Tool to delete notifications from Hugging Face. Use when you need to remove notifications either by specific discussion IDs or by applying filters to...                  |
  | `delete-settings-webhooks`            | Tool to delete a webhook from Hugging Face settings. Use when you need to remove a webhook configuration that is no longer needed.                                        |
  | `delete-spaces-branch`                | Tool to delete a branch from a Hugging Face space repository.                                                                                                             |
  | `delete-spaces-secrets`               | Tool to delete a secret from a Hugging Face space. Use when you need to remove sensitive credentials or configuration values that are no longer needed.                   |
  | `delete-spaces-tag`                   | Tool to delete a tag from a Hugging Face space. Use when you need to remove a specific tag revision from a space repository.                                              |
  | `delete-spaces-variables`             | Tool to delete a variable from a Hugging Face space. Use when you need to remove configuration values or environment variables that are no longer needed.                 |
  | `filter-dataset-rows`                 | Tool to filter rows in a Hugging Face dataset split based on SQL-like query conditions.                                                                                   |
  | `generate-chat-completion`            | Tool to generate a response given a list of messages in a conversational context.                                                                                         |
  | `generate-embeddings`                 | Tool to convert text into vector embeddings for feature extraction, semantic search, and similarity tasks.                                                                |
  | `get-daily-papers`                    | Tool to retrieve daily papers from Hugging Face. Use when you need to fetch the latest AI/ML research papers shared on Hugging Face.                                      |
  | `get-dataset-croissant`               | Tool to get Croissant metadata about a Hugging Face dataset.                                                                                                              |
  | `get-dataset-first-rows`              | Tool to get the first 100 rows of a dataset split along with column data types and features.                                                                              |
  | `get-dataset-info`                    | Tool to get general information about a dataset including description, citation, homepage, license, and features (column schemas).                                        |
  | `get-dataset-repo-info`               | Tool to retrieve detailed information about a Hugging Face dataset repository.                                                                                            |
  | `get-dataset-rows`                    | Tool to retrieve a slice of rows from a Hugging Face dataset split at any given location (offset).                                                                        |
  | `get-datasets-compare`                | Tool to get a comparison (diff) between two revisions of a Hugging Face dataset.                                                                                          |
  | `get-dataset-size`                    | Tool to get the size of a Hugging Face dataset including number of rows and size in bytes.                                                                                |
  | `get-datasets-jwt`                    | Tool to generate a JWT token for accessing a Hugging Face dataset repository.                                                                                             |
  | `get-datasets-leaderboard`            | Tool to retrieve evaluation results ranked by score for a dataset's leaderboard.                                                                                          |
  | `get-datasets-notebook`               | Tool to get a Jupyter notebook URL from a Hugging Face dataset repository.                                                                                                |
  | `get-datasets-resolve`                | Tool to resolve and download a file from a Hugging Face dataset repository.                                                                                               |
  | `get-datasets-scan`                   | Tool to retrieve the security scan status of a Hugging Face dataset repository.                                                                                           |
  | `get-datasets-tags-by-type`           | Tool to retrieve all possible tags used for datasets on Hugging Face, grouped by tag type.                                                                                |
  | `get-dataset-statistics`              | Tool to get comprehensive statistics about a dataset split including column statistics and data distribution information.                                                 |
  | `get-datasets-treesize`               | Tool to get the total size of a Hugging Face dataset repository at a specific revision and path.                                                                          |
  | `get-datasets-xet-read-token`         | Tool to get a read short-lived access token for XET from Hugging Face datasets.                                                                                           |
  | `get-discussion`                      | Tool to get detailed information about a specific discussion or pull request on Hugging Face Hub.                                                                         |
  | `get-jobs-hardware`                   | Tool to retrieve available hardware configurations for Hugging Face Jobs with their specifications and pricing.                                                           |
  | `get-model-info`                      | Tool to retrieve detailed information about a Hugging Face model repository.                                                                                              |
  | `get-models-compare`                  | Tool to compare two revisions of a Hugging Face model repository.                                                                                                         |
  | `get-models-jwt`                      | Tool to generate a JWT token for accessing a Hugging Face model repository.                                                                                               |
  | `get-models-notebook`                 | Tool to retrieve a Jupyter notebook URL from a Hugging Face model repository.                                                                                             |
  | `get-models-scan`                     | Tool to retrieve the security scan status of a Hugging Face model repository.                                                                                             |
  | `get-models-treesize`                 | Tool to get the total size of a Hugging Face model repository at a specific revision and path.                                                                            |
  | `get-models-xet-read-token`           | Tool to retrieve a short-lived XET read access token for a Hugging Face model repository.                                                                                 |
  | `get-model-tags-by-type`              | Tool to retrieve all possible tags used for Hugging Face models, grouped by tag type.                                                                                     |
  | `get-organizations-avatar`            | Tool to retrieve the avatar URL for a Hugging Face organization.                                                                                                          |
  | `get-organizations-members`           | Tool to retrieve a list of members for a Hugging Face organization.                                                                                                       |
  | `get-organizations-socials`           | Tool to retrieve an organization's social media handles from Hugging Face.                                                                                                |
  | `get-resolve`                         | Tool to resolve a file in a Hugging Face repository. Use when you need to access files from model, dataset, or space repositories.                                        |
  | `get-resolve-cache-datasets`          | Tool to resolve a file from cache in a Hugging Face dataset repository.                                                                                                   |
  | `get-resolve-cache-models`            | Tool to resolve and retrieve files from the Hugging Face model cache.                                                                                                     |
  | `get-resolve-cache-spaces`            | Tool to resolve and retrieve a file from Hugging Face Spaces cache.                                                                                                       |
  | `get-settings-billing-usage-jobs`     | Tool to retrieve Jobs usage and billing information for the current subscription period from Hugging Face.                                                                |
  | `get-settings-billing-usage-live`     | Tool to retrieve live billing usage stream from Hugging Face.                                                                                                             |
  | `get-settings-billing-usage-v2`       | Tool to retrieve user billing usage for a custom date range from Hugging Face.                                                                                            |
  | `get-settings-mcp`                    | Tool to retrieve MCP (Model Context Protocol) tools configuration for the authenticated user.                                                                             |
  | `get-settings-webhooks`               | Tool to retrieve a specific webhook configuration from Hugging Face settings.                                                                                             |
  | `get-space-info`                      | Tool to retrieve detailed information about a Hugging Face Space repository.                                                                                              |
  | `get-spaces-compare`                  | Tool to compare two revisions of a Hugging Face Space repository.                                                                                                         |
  | `get-spaces-events`                   | Tool to stream status updates for a Hugging Face Space using SSE protocol.                                                                                                |
  | `get-spaces-jwt`                      | Tool to generate a JWT token for accessing a Hugging Face space repository.                                                                                               |
  | `get-spaces-metrics`                  | Tool to get live metrics for a specific Space in a streaming fashion, with SSE protocol, such as current Zero-GPU usage.                                                  |
  | `get-spaces-notebook`                 | Tool to retrieve a Jupyter notebook URL from a Hugging Face space repository.                                                                                             |
  | `get-spaces-resolve`                  | Tool to resolve and retrieve a file from a Hugging Face Space repository.                                                                                                 |
  | `get-spaces-scan`                     | Tool to retrieve the security scan status of a Hugging Face space repository.                                                                                             |
  | `get-spaces-treesize`                 | Tool to get the total size of a Hugging Face space repository at a specific revision and path.                                                                            |
  | `get-spaces-xet-read-token`           | Tool to retrieve a short-lived XET read access token for a Hugging Face Space repository.                                                                                 |
  | `get-spaces-xet-write-token`          | Tool to retrieve a short-lived XET write access token for a Hugging Face space repository.                                                                                |
  | `get-trending`                        | Tool to retrieve trending repositories from Hugging Face. Use when you need to discover popular models, datasets, or spaces that are currently trending on the platform.  |
  | `get-users-avatar`                    | Tool to retrieve the avatar URL for a Hugging Face user. Use when you need to get the avatar image URL for a specific user.                                               |
  | `get-users-overview`                  | Tool to retrieve a comprehensive overview of a Hugging Face user's profile.                                                                                               |
  | `get-users-socials`                   | Tool to retrieve a user's social media handles from Hugging Face.                                                                                                         |
  | `get-whoami`                          | Tool to get information about the authenticated Hugging Face user including username, email, organizations, and token details.                                            |
  | `handle-datasets-user-access-request` | Tool to handle a user's access request to a gated Hugging Face dataset.                                                                                                   |
  | `list-collections`                    | Tool to list collections on the Hugging Face Hub. Use when you need to discover collections of models, datasets, spaces, or papers.                                       |
  | `list-dataset-parquet-files`          | Tool to get the list of Parquet files for a dataset. Use when you need to download or access dataset files in Parquet format.                                             |
  | `list-dataset-paths-info`             | Tool to list detailed information about specific paths in a Hugging Face dataset repository.                                                                              |
  | `list-datasets`                       | Tool to list datasets on the Hugging Face Hub. Use when you need to discover or search for datasets.                                                                      |
  | `list-datasets-commits`               | Tool to list commits from a Hugging Face dataset repository.                                                                                                              |
  | `list-dataset-splits`                 | Tool to get the list of subsets and splits of a dataset. Returns the available configurations and splits for a given dataset on the Hub.                                  |
  | `list-datasets-refs`                  | Tool to list all references (branches, tags, converts, pull requests) in a Hugging Face dataset repository.                                                               |
  | `list-datasets-user-access-request`   | Tool to list access requests for a gated Hugging Face dataset repository.                                                                                                 |
  | `list-discussions`                    | Tool to list discussions for a Hugging Face repository. Use when you need to retrieve discussions or pull requests for a specific model, dataset, or space.               |
  | `list-docs`                           | Tool to retrieve the list of available documentation from Hugging Face.                                                                                                   |
  | `list-endpoints`                      | Tool to list Hugging Face Inference Endpoints for a specific user or organization.                                                                                        |
  | `list-models-commits`                 | Tool to list commits from a Hugging Face model repository. Use when you need to retrieve the commit history for a specific model branch or revision.                      |
  | `list-models-paths-info`              | Tool to list detailed information about specific paths in a Hugging Face model repository.                                                                                |
  | `list-models-refs`                    | Tool to list all references (branches, tags, converts, and optionally pull requests) in a Hugging Face model repository.                                                  |
  | `list-notifications`                  | Tool to list notifications for the authenticated Hugging Face user.                                                                                                       |
  | `list-repo-files`                     | Tool to get the file tree of a Hugging Face repository with pagination support.                                                                                           |
  | `list-settings-webhooks`              | Tool to list all webhooks configured in Hugging Face settings.                                                                                                            |
  | `list-spaces`                         | Tool to list Spaces on the Hugging Face Hub with filtering options.                                                                                                       |
  | `list-spaces-commits`                 | Tool to list commits from a Hugging Face Space repository. Use when you need to retrieve the commit history for a specific Space branch or revision.                      |
  | `list-spaces-hardware`                | Tool to retrieve available hardware configurations for Hugging Face Spaces with their specifications and pricing.                                                         |
  | `list-spaces-lfs-files`               | Tool to list LFS (Large File Storage) files from a Hugging Face Space repository.                                                                                         |
  | `list-spaces-paths-info`              | Tool to list detailed information about specific paths in a Hugging Face space repository.                                                                                |
  | `list-spaces-refs`                    | Tool to list all references (branches, tags, converts, pull requests) in a Hugging Face space repository.                                                                 |
  | `list-vendors`                        | Tool to list available cloud provider vendors for Hugging Face Inference Endpoints.                                                                                       |
  | `search-dataset`                      | Tool to search text in a dataset split on Hugging Face. Searches in columns of type string, even if values are nested in a dictionary.                                    |
  | `search-docs`                         | Tool to search Hugging Face documentation across all products and libraries.                                                                                              |
  | `search-papers`                       | Tool to perform hybrid semantic/full-text search on papers in Hugging Face.                                                                                               |
  | `squash-dataset-commits`              | Tool to squash all commits in a dataset ref into a single commit with the given message.                                                                                  |
  | `squash-spaces-commits`               | Tool to squash all commits in a space ref into a single commit with the given message.                                                                                    |
  | `update-datasets-settings`            | Tool to update settings for a Hugging Face dataset repository.                                                                                                            |
  | `update-discussions-title`            | Tool to change the title of an existing discussion on a Hugging Face repository (model, dataset, or Space).                                                               |
  | `update-models-settings`              | Tool to update settings for a Hugging Face model repository.                                                                                                              |
  | `update-settings-notifications`       | Tool to update notification settings for the authenticated Hugging Face user.                                                                                             |
  | `update-settings-watch`               | Tool to update watch settings for your Hugging Face account.                                                                                                              |
  | `update-settings-webhooks`            | Tool to update an existing webhook in Hugging Face settings.                                                                                                              |
  | `update-spaces-settings`              | Tool to update settings for a Hugging Face Spaces repository.                                                                                                             |
  | `update-sql-console-embed`            | Tool to update an existing SQL console embed for a Hugging Face dataset.                                                                                                  |
  | `update-webhook-status`               | Tool to enable or disable a webhook on Hugging Face. Use when you need to temporarily deactivate a webhook without deleting it, or reactivate a...                        |
</Accordion>

[Open Hugging Face in the console →](https://app.boxd.sh/integrations/detail/hugging_face)
