Volver al catálogo

Hugging Face

hugging_face

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

Acciones
143
Triggers
0
Autenticación
—
OAuth gestionado
Sí
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (143)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Change Discussion StatusHUGGING_FACE_CHANGE_DISCUSSIONS_STATUSAcción

Tool to change the status of a Hugging Face repository discussion. Use when you need to open or close discussions on models, datasets, or spaces.

Parámetros de entrada

  • numstringObligatorio

    The discussion number or ID to change the status of. This is the numeric identifier of the discussion thread.

  • repostringObligatorio

    The repository name where the discussion exists. For example, 'bert-base-uncased' or 'my-dataset'.

  • statusstringObligatorioenum

    The new status to set for the discussion. Use 'open' to reopen a closed discussion or 'closed' to close an open discussion.

    openclosed
  • commentstring

    Optional comment to add when changing the status. Useful for explaining why the discussion is being closed or reopened.

  • namespacestringObligatorio

    The namespace (username or organization) that owns the repository. For example, 'google-bert' or 'huggingface'.

  • repo_typestringObligatorioenum

    The type of repository where the discussion exists. Must be one of: models, spaces, or datasets.

    modelsspacesdatasets

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Check Dataset ValidityHUGGING_FACE_CHECK_DATASET_VALIDITYAcción

Tool to check whether a specific dataset is valid on Hugging Face Hub. Use when you need to determine what features (preview, viewer, search, filter, statistics) are available for a dataset.

Parámetros de entrada

  • datasetstringObligatorio

    Name of the dataset to check validity for. Format: 'namespace/repo-name' (e.g., 'rajpurkar/squad', 'huggingface/cifar10').

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Check Models Upload MethodHUGGING_FACE_CHECK_MODELS_UPLOAD_METHODAcción

Tool to check if files should be uploaded through the Large File mechanism or directly. Use when preparing to upload files to a Hugging Face model repository to determine the appropriate upload method for each file.

Parámetros de entrada

  • revstringObligatorio

    The git revision (branch, tag, or commit hash) to upload to.

  • repostringObligatorio

    The name of the model repository.

  • filesobject[]Obligatorio

    List of files to check for upload method. Maximum 1000 files.

  • gitIgnorestring

    Content of the .gitignore file for the revision. Optional, otherwise uses existing .gitignore content.

  • namespacestringObligatorio

    The namespace (user or organization) that owns the model repository.

  • gitAttributesstring

    Content of the .gitattributes file. Provide this if you plan to modify .gitattributes yourself when uploading LFS files. Not needed if relying on automatic LFS detection.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Check Spaces Upload MethodHUGGING_FACE_CHECK_SPACES_UPLOAD_METHODAcción

Tool to check if files should be uploaded through the Large File mechanism or directly to Hugging Face Spaces. Use when preparing to upload files to a Hugging Face Space repository to determine the appropriate upload method for each file.

Parámetros de entrada

  • revstringObligatorio

    The git revision (branch, tag, or commit hash) to upload to.

  • repostringObligatorio

    The name of the Space repository.

  • filesobject[]Obligatorio

    List of files to check for upload method. Maximum 1000 files.

  • gitIgnorestring

    Content of the .gitignore file for the revision. Optional, otherwise uses existing .gitignore content.

  • namespacestringObligatorio

    The namespace (user or organization) that owns the Space repository.

  • gitAttributesstring

    Content of the .gitattributes file. Provide this if you plan to modify .gitattributes yourself when uploading LFS files. Not needed if relying on automatic LFS detection.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Claim Paper AuthorshipHUGGING_FACE_CLAIM_SETTINGS_PAPERS_CLAIMAcción

Tool to claim authorship of a paper on Hugging Face. Use when you need to associate yourself or another user with an ArXiv paper.

Parámetros de entrada

  • paper_idstringObligatorio

    ArXiv paper identifier being claimed. This should be the ArXiv ID of the paper you want to claim authorship for.

  • target_user_idstring

    HF user who should receive the claim. Must be a 24-character hexadecimal string representing the Hugging Face user ID. Only provide this if you need to assign the claim to a specific user.

  • claim_author_idstring

    Author entry on the paper being claimed. Must be a 24-character hexadecimal string representing the specific author entry on the paper. Only provide this if you need to specify a particular author entry.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Request Repository AccessHUGGING_FACE_CREATE_ASK_ACCESSAcción

Tool to request access to a gated repository on Hugging Face Hub. Use when you need to submit an access request for models, datasets, or Spaces that require approval. The fields required vary by repository.

Parámetros de entrada

  • repostringObligatorio

    The repository name of the gated model, dataset, or Space.

  • namespacestringObligatorio

    The namespace (organization or user) that owns the gated repository.

  • repo_typestringenum

    The type of repository (models, datasets, or spaces). Defaults to models.

    modelsdatasetsspaces
  • access_request_fieldsobjectObligatorio

    A dictionary of field names and values required by the repository's access form. Common fields include "First Name", "Last Name", "Date of birth" (YYYY-MM-DD format), "Country" (country code), "Affiliation", "Job title", and terms acceptance fields. The exact fields vary by repository and are specified in the repository's gated access configuration.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create CollectionHUGGING_FACE_CREATE_COLLECTIONAcción

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.

Parámetros de entrada

  • itemobject

    Item to be added to the collection upon creation.

  • titlestringObligatorio

    The title of the collection. Must be between 1 and 60 characters.

  • privateboolean

    If not provided, the collection will be public. This field will respect the organization's visibility setting.

  • namespacestringObligatorio

    The namespace (username or organization) under which to create the collection

  • descriptionstring

    Optional description for the collection. Maximum 150 characters.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Datasets BranchHUGGING_FACE_CREATE_DATASETS_BRANCHAcción

Tool to create a new branch in a Hugging Face dataset repository. Use when you need to create a branch for versioning or experimentation with dataset changes.

Parámetros de entrada

  • revstringObligatorio

    The name of the new branch to create.

  • repostringObligatorio

    The name of the dataset repository without the namespace prefix.

  • namespacestringObligatorio

    The namespace (username or organization) that owns the dataset repository.

  • overwriteboolean

    Overwrite the branch if it already exists. Defaults to false.

  • emptyBranchboolean

    Create an empty branch without any files. Defaults to false.

  • startingPointstring

    The commit hash, tag, or branch name to start the new branch from. Defaults to 'main' if not specified.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Datasets CommitHUGGING_FACE_CREATE_DATASETS_COMMITAcción

Tool to create a commit in a Hugging Face dataset repository. Use when you need to add, update, or delete files in a dataset. Supports both regular files and Large File Storage (LFS) for large binary files. Can optionally create a pull request instead of directly committing.

Parámetros de entrada

  • revstringObligatorio

    Revision (branch name, tag, or commit SHA) to commit to

  • repostringObligatorio

    Name of the dataset repository

  • filesobject[]

    List of files to add or update in the commit. Each file requires a path and either content or oldPath.

  • summarystringObligatorio

    Summary of the commit (required). This is the commit message title.

  • create_prstring

    Whether to create a pull request from the commit. Set to '1' or 'true' to create a PR.

  • lfs_filesobject[]

    List of Large File Storage (LFS) files to include in the commit

  • namespacestringObligatorio

    Namespace (username or organization) that owns the dataset repository

  • hot_reloadstring

    For Spaces, whether to try to hot reload the commit (only for single Python file updates). Set to '1' or 'true' to enable.

  • descriptionstring

    Detailed description of the commit (optional). Defaults to empty string.

  • parent_commitstring

    Parent commit SHA (40-character hexadecimal string). Optional, defaults to HEAD of the revision.

  • deleted_entriesobject[]

    List of files to delete from the repository

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Check Dataset File Upload MethodHUGGING_FACE_CREATE_DATASETS_PREUPLOADAcción

Tool to check if files should be uploaded via Large File Storage (LFS) or directly to a Hugging Face dataset repository. Use before uploading files to determine the correct upload method for each file based on size and repository settings.

Parámetros de entrada

  • revstringObligatorio

    Revision (branch or commit) to check preupload for. Typically 'main' for the default branch

  • repostringObligatorio

    Name of the dataset repository

  • filesobject[]Obligatorio

    List of files to check for upload method. Maximum 1000 files per request

  • gitIgnorestring

    Content of .gitignore file for the revision. Optional; uses existing .gitignore if not provided

  • namespacestringObligatorio

    Namespace (username or organization) that owns the dataset repository

  • gitAttributesstring

    Content of .gitattributes file if you plan to modify it yourself. Only needed if managing LFS tracking manually; otherwise HF automatically updates .gitattributes

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Datasets TagHUGGING_FACE_CREATE_DATASETS_TAGAcción

Tool to create a tag on a Hugging Face dataset repository. Use when you need to mark a specific revision with a named tag.

Parámetros de entrada

  • revstringObligatorio

    The revision (branch or commit SHA) to create the tag from, typically 'main'.

  • tagstringObligatorio

    The name of the tag to create (e.g., 'v1.0', 'release-2024').

  • repostringObligatorio

    The name of the dataset repository to create a tag for.

  • messagestring

    Optional message describing the purpose of this tag.

  • namespacestringObligatorio

    The namespace (username or organization) that owns the dataset.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create DiscussionHUGGING_FACE_CREATE_DISCUSSIONSAcción

Tool to create a new discussion on a Hugging Face repository (model, dataset, or Space). Use when you need to start a conversation, report an issue, or create a pull request discussion.

Parámetros de entrada

  • repostringObligatorio

    The name of the repository where the discussion will be created.

  • titlestringObligatorio

    The title of the discussion. Must be between 3 and 200 characters.

  • namespacestringObligatorio

    The namespace (username or organization) that owns the repository.

  • repo_typestringObligatorioenum

    The type of repository: models, spaces, or datasets. This determines where the discussion will be created.

    modelsspacesdatasets
  • descriptionstringObligatorio

    The description/content of the discussion. Can contain markdown formatting. Maximum 65536 characters.

  • pull_requestboolean

    Whether this discussion should be created as a pull request. If true, creates a PR instead of a regular discussion.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Discussion CommentHUGGING_FACE_CREATE_DISCUSSIONS_COMMENTAcción

Tool to create a new comment on a Hugging Face repository discussion. Use when you need to add comments or replies to discussions on models, datasets, or spaces.

Parámetros de entrada

  • numstringObligatorio

    The discussion number or ID to comment on. This is the numeric identifier of the discussion thread.

  • repostringObligatorio

    The repository name where the discussion exists. For example, 'gpt2' or 'my-dataset'.

  • commentstringObligatorio

    The comment text to post on the discussion. Must be between 1 and 65536 characters.

  • namespacestringObligatorio

    The namespace (username or organization) that owns the repository. For example, 'openai-community' or 'huggingface'.

  • repo_typestringObligatorioenum

    The type of repository where the discussion exists. Must be one of: models, spaces, or datasets.

    modelsspacesdatasets

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Pin discussionHUGGING_FACE_CREATE_DISCUSSIONS_PINAcción

Tool to pin or unpin a discussion on a Hugging Face repository (model, dataset, or Space). Use when you need to highlight important discussions by pinning them to the top of the list, or unpin them when they're no longer priority.

Parámetros de entrada

  • numstringObligatorio

    The discussion number/identifier to pin or unpin. This is the numeric ID shown in the discussion URL.

  • repostringObligatorio

    The name of the repository containing the discussion. For example, for 'meta-llama/Llama-2-7b', the repo is 'Llama-2-7b'.

  • pinnedbooleanObligatorio

    Whether to pin (true) or unpin (false) the discussion. Pinned discussions appear at the top of the discussions list.

  • namespacestringObligatorio

    The namespace (username or organization) that owns the repository. For example, for 'meta-llama/Llama-2-7b', the namespace is 'meta-llama'.

  • repo_typestringObligatorioenum

    The type of repository: models, spaces, or datasets. This determines which repository type contains the discussion.

    modelsspacesdatasets

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create models branchHUGGING_FACE_CREATE_MODELS_BRANCHAcción

Tool to create a new branch in a Hugging Face model repository. Use when you need to create a branch for experimenting with model changes, versioning, or creating isolated development environments.

Parámetros de entrada

  • revstringObligatorio

    The name for the new branch to be created (e.g., 'feature-branch', 'experiment-v2'). This will be the branch name in the repository.

  • repostringObligatorio

    The name of the model repository where the branch will be created. For example, for model 'meta-llama/Llama-2-7b', the repo is 'Llama-2-7b'.

  • namespacestringObligatorio

    The namespace (username or organization) that owns the model repository. For example, for model 'meta-llama/Llama-2-7b', the namespace is 'meta-llama'.

  • overwriteboolean

    Overwrite the branch if it already exists. If False (default), creating a branch that already exists will result in an error.

  • empty_branchboolean

    Create an empty branch without any files. If True, startingPoint is not required. If False (default), startingPoint should be provided.

  • starting_pointstring

    The commit hash or branch name to start the new branch from (e.g., 'main', 'dev', or a commit hash). Required unless creating an empty branch. Defaults to 'main' if not specified and emptyBranch is False.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Models CommitHUGGING_FACE_CREATE_MODELS_COMMITAcción

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. Supports both standard JSON and JSON-lines (NDJSON) formats. JSON-lines format is recommended for better performance.

Parámetros de entrada

  • revstringObligatorio

    The git revision (branch, tag, or commit SHA) to commit to

  • repostringObligatorio

    The name of the model repository to commit to

  • filesobject[]

    List of files to add or update in the commit

  • summarystringObligatorio

    Summary message for the commit. This is a required field that describes the commit

  • create_prstring

    Whether to create a pull request from the commit. Typically '1' or 'true' to create a PR

  • lfs_filesobject[]

    List of LFS (Large File Storage) files to add or update

  • namespacestringObligatorio

    The namespace (user or organization) that owns the model repository

  • hot_reloadstring

    For Spaces, whether to try to hot reload the commit (only for single python files updates). Typically '1' or 'true' to enable hot reload

  • descriptionstring

    Optional detailed description for the commit. Defaults to empty string if not provided

  • content_typestringenum

    Content type for the request. Use application/x-ndjson (recommended) for JSON-lines format or application/json for standard JSON

    application/jsonapplication/x-ndjson
  • parent_commitstring

    Optional parent commit SHA (40-character hex string). If provided, the commit will be based on this specific commit

  • deleted_entriesobject[]

    List of files to delete from the repository

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Models TagHUGGING_FACE_CREATE_MODELS_TAGAcción

Tool to create a tag on a Hugging Face model repository. Use when you need to mark a specific revision with a named tag.

Parámetros de entrada

  • revstringObligatorio

    The revision (branch or commit SHA) to create the tag from, typically 'main'.

  • tagstringObligatorio

    The name of the tag to create (e.g., 'v1.0', 'release-2024').

  • repostringObligatorio

    The name of the model repository to create a tag for.

  • messagestring

    Optional message describing the purpose of this tag.

  • namespacestringObligatorio

    The namespace (username or organization) that owns the model.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Paper CommentHUGGING_FACE_CREATE_PAPERS_COMMENTAcción

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.

Parámetros de entrada

  • commentstringObligatorio

    The comment text to post on the paper. Must be between 1 and 65536 characters.

  • paper_idstringObligatorio

    The unique identifier of the paper to comment on. This can be the paper ID (e.g., '2408.04619') or the full paper path.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Papers Comment ReplyHUGGING_FACE_CREATE_PAPERS_COMMENT_REPLYAcción

Tool to create a reply to a comment on a Hugging Face paper. Use when you need to respond to an existing comment on a paper discussion.

Parámetros de entrada

  • commentstringObligatorio

    The content of the reply comment.

  • paper_idstringObligatorio

    The unique identifier of the paper (e.g., '2312.09323').

  • comment_idstringObligatorio

    The unique identifier of the comment to reply to (e.g., '65844ff1ee15e3c7fc034c97').

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Papers IndexHUGGING_FACE_CREATE_PAPERS_INDEXAcción

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. Note: If the paper is already indexed, only its authors can re-index it.

Parámetros de entrada

  • arxiv_idstringObligatorio

    The arXiv ID of the paper to index (format: YYMM.NNNNN or YYMM.NNNN, e.g., '2411.19876' or '1234.5678'). Only the paper's authors can re-index if already indexed.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create RepositoryHUGGING_FACE_CREATE_REPOAcción

Tool to create a new repository (model, dataset, or Space) on Hugging Face Hub. Use when you need to initialize a new repository for uploading models, datasets, or deploying Spaces applications.

Parámetros de entrada

  • sdkstringenum

    SDK options for Spaces.

    gradiostreamlitdockerstatic
  • namestringObligatorio

    The name of the repository to create. This will be the repository identifier within the namespace.

  • typestringenum

    The type of repository to create: model, dataset, or space. Defaults to 'model' if not specified.

    modeldatasetspace
  • privateboolean

    Whether the repository should be private. If not specified, follows the default visibility setting for your account or organization.

  • organizationstring

    The organization namespace to create the repository under. If not provided, the repository will be created under your personal namespace.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create spaces branchHUGGING_FACE_CREATE_SPACES_BRANCHAcción

Tool to create a new branch in a Hugging Face space repository. Use when you need to create a branch for experimenting with space changes, versioning, or creating isolated development environments.

Parámetros de entrada

  • revstringObligatorio

    The name for the new branch to be created (e.g., 'feature-branch', 'experiment-v2'). This will be the branch name in the repository.

  • repostringObligatorio

    The name of the space repository where the branch will be created. For example, for space 'huggingface/my-space', the repo is 'my-space'.

  • namespacestringObligatorio

    The namespace (username or organization) that owns the space repository. For example, for space 'huggingface/my-space', the namespace is 'huggingface'.

  • overwriteboolean

    Overwrite the branch if it already exists. If False (default), creating a branch that already exists will result in an error.

  • empty_branchboolean

    Create an empty branch without any files. If True, startingPoint is not required. If False (default), startingPoint should be provided.

  • starting_pointstring

    The commit hash or branch name to start the new branch from (e.g., 'main', 'dev', or a commit hash). Required unless creating an empty branch. Defaults to 'main' if not specified and emptyBranch is False.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Spaces CommitHUGGING_FACE_CREATE_SPACES_COMMITAcción

Tool to create a commit in a Hugging Face Space repository. Use when you need to add, update, or delete files in a Space. Supports both JSON and NDJSON (recommended) payload formats for commits.

Parámetros de entrada

  • revstringObligatorio

    The revision (branch or commit) to commit to. Typically 'main' for the default branch

  • repostringObligatorio

    The name of the Space repository where the commit will be created. For example, for Space 'user/my-space', the repo is 'my-space'

  • filesobject[]

    List of files to add or update in the commit. For JSON payload format only

  • summarystringObligatorio

    Summary of the commit (required). This is the commit message title

  • createPrstring

    Whether to create a pull request from the commit instead of committing directly. Set to 'true' to create a PR, 'false' or omit to commit directly

  • lfsFilesobject[]

    List of Large File Storage (LFS) files to add or update. For JSON payload format only

  • hotReloadstring

    For Spaces, whether to try to hot reload the commit (only works for single Python file updates). Set to 'true' to enable hot reload

  • namespacestringObligatorio

    The namespace (username or organization) that owns the Space. For example, for Space 'user/my-space', the namespace is 'user'

  • contentTypestringenum

    Content type for the commit request.

    application/jsonapplication/x-ndjson
  • descriptionstring

    Detailed description of the commit (optional, defaults to empty string). This is the commit message body

  • parentCommitstring

    The parent commit SHA (40-character hexadecimal). Optional, defaults to current HEAD of the branch

  • deletedEntriesobject[]

    List of file paths to delete in the commit. For JSON payload format only

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create or update Space secretHUGGING_FACE_CREATE_SPACES_SECRETSAcción

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. This action upserts the secret, meaning it will create a new secret if it doesn't exist or update it if it already exists.

Parámetros de entrada

  • keystringObligatorio

    The name of the secret key. Must start with a letter and contain only letters, digits, and underscores (pattern: ^[a-zA-Z][_a-zA-Z0-9]*$). For example: 'API_KEY', 'DATABASE_URL', 'TEST_SECRET_KEY'.

  • repostringObligatorio

    The name of the Space repository where the secret will be created or updated. For example, for Space 'huggingface/my-space', the repo is 'my-space'.

  • valuestring

    The value of the secret. This will be stored securely and not visible after creation. Defaults to empty string if not provided.

  • namespacestringObligatorio

    The namespace (username or organization) that owns the Space. For example, for Space 'huggingface/my-space', the namespace is 'huggingface'.

  • descriptionstring

    Optional description of the secret to help identify its purpose. For example: 'API key for external service', 'Database connection string'.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Spaces TagHUGGING_FACE_CREATE_SPACES_TAGAcción

Tool to create a tag on a Hugging Face space repository. Use when you need to mark a specific revision with a named tag.

Parámetros de entrada

  • revstringObligatorio

    The revision (branch or commit SHA) to create the tag from, typically 'main'.

  • tagstringObligatorio

    The name of the tag to create (e.g., 'v1.0', 'release-2024').

  • repostringObligatorio

    The name of the space repository to create a tag for.

  • messagestring

    Optional message describing the purpose of this tag.

  • namespacestringObligatorio

    The namespace (username or organization) that owns the space.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create or update Space variableHUGGING_FACE_CREATE_SPACES_VARIABLESAcción

Tool to create or update a variable in a Hugging Face Space. Use when you need to add or update environment variables or configuration values for a Space. This action upserts the variable, meaning it will create a new variable if it doesn't exist or update it if it already exists.

Parámetros de entrada

  • keystringObligatorio

    The name of the variable key. Must start with a letter and contain only letters, digits, and underscores (pattern: ^[a-zA-Z][_a-zA-Z0-9]*$). For example: 'APP_MODE', 'DEBUG_ENABLED', 'TEST_VAR_123'.

  • repostringObligatorio

    The name of the Space repository where the variable will be created or updated. For example, for Space 'huggingface/my-space', the repo is 'my-space'.

  • valuestring

    The value of the variable. This will be stored and can be accessed by the Space. Defaults to empty string if not provided.

  • namespacestringObligatorio

    The namespace (username or organization) that owns the Space. For example, for Space 'huggingface/my-space', the namespace is 'huggingface'.

  • descriptionstring

    Optional description of the variable to help identify its purpose. For example: 'Environment mode setting', 'Debug flag for development'.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create SQL Console EmbedHUGGING_FACE_CREATE_SQL_CONSOLE_EMBEDAcción

Tool to create a SQL Console embed for querying datasets on Hugging Face. Use when you need to create a shareable SQL query interface for exploring dataset splits. The embed allows users to execute SQL queries against dataset views (e.g., train, test, validation splits).

Parámetros de entrada

  • sqlstringObligatorio

    The SQL query to be embedded in the console. This is the query users will see and can execute.

  • repostringObligatorio

    The name of the dataset repository without the namespace prefix.

  • titlestringObligatorio

    Title for the SQL console embed. Maximum 200 characters.

  • viewsobject[]Obligatorio

    List of available views (splits) in the dataset that can be queried. Must contain at least one view.

  • privateboolean

    Whether the SQL console embed should be private. If true, only authorized users can access it.

  • repoTypestringenum

    The type of repository. Currently only 'datasets' is supported.

    datasets
  • namespacestringObligatorio

    The namespace (username or organization) that owns the dataset repository.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create WebhookHUGGING_FACE_CREATE_WEBHOOKAcción

Tool to create a webhook on Hugging Face that triggers on repository or discussion events. Use when you need to receive notifications for changes to specific models, datasets, or spaces.

Parámetros de entrada

  • urlstringObligatorio

    The webhook URL endpoint that will receive POST requests when events occur. Must be a valid HTTP/HTTPS URL.

  • secretstring

    Optional secret string used to sign webhook payloads for verification. Must contain only printable ASCII characters (spaces and characters from 0x20 to 0x7F).

  • domainsstring[]Obligatorio

    List of event domains to monitor. At least one domain must be specified. Use 'repo' for repository events or 'discussion' for discussion events.

  • watchedobject[]Obligatorio

    List of repositories to watch for changes. At least one repository must be specified. Events from these repositories will trigger webhook calls.

  • job_source_idstring

    Optional job source identifier for associating the webhook with a specific job source.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete dataset branchHUGGING_FACE_DELETE_DATASETS_BRANCHAcción

Tool to delete a branch from a Hugging Face dataset repository. Use when you need to remove a branch that is no longer needed. This action permanently removes the specified branch from the dataset.

Parámetros de entrada

  • revstringObligatorio

    The name of the branch to delete from the dataset repository. This should be a valid branch name (not the main/master branch in most cases).

  • repostringObligatorio

    The name of the dataset repository from which to delete the branch. This is the repository identifier without the namespace.

  • namespacestringObligatorio

    The namespace (user or organization) that owns the dataset. For example, '121tester' for a user or 'huggingface' for an organization.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Dataset TagHUGGING_FACE_DELETE_DATASETS_TAGAcción

Tool to delete a tag from a Hugging Face dataset. Use when you need to remove a specific tag revision from a dataset repository.

Parámetros de entrada

  • revstringObligatorio

    The tag revision to delete from the dataset.

  • repostringObligatorio

    The repository name of the dataset.

  • namespacestringObligatorio

    The namespace (organization or user) that owns the dataset.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete discussionHUGGING_FACE_DELETE_DISCUSSIONSAcción

Tool to delete a discussion from a Hugging Face repository. Use when you need to remove a discussion that is no longer needed. This action permanently removes the specified discussion from the repository.

Parámetros de entrada

  • numstringObligatorio

    The discussion number to delete. This is the unique identifier of the discussion within the repository.

  • repostringObligatorio

    The name of the repository containing the discussion to delete. This is the repository identifier without the namespace.

  • namespacestringObligatorio

    The namespace (user or organization) that owns the repository. For example, '121tester' for a user or 'huggingface' for an organization.

  • repo_typestringObligatorioenum

    The type of repository where the discussion exists. Must be one of: models, spaces, or datasets.

    modelsspacesdatasets

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete network CIDR listHUGGING_FACE_DELETE_NETWORK_CIDR_LISTAcción

Tool to delete a network CIDR list entry from Hugging Face Inference Endpoints. Use when you need to remove a CIDR configuration that is no longer needed. This action permanently removes the specified CIDR from the namespace's network configuration.

Parámetros de entrada

  • cidr_idstringObligatorio

    The unique identifier of the CIDR to delete. This is a hexadecimal ID that was returned when the CIDR was created.

  • namespacestringObligatorio

    The namespace (user or organization) that owns the CIDR configuration. For example, '121tester' for a user or 'my-org' for an organization.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete notificationsHUGGING_FACE_DELETE_NOTIFICATIONSAcción

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 multiple notifications at once. Supports targeted deletion (via discussion_ids) or bulk deletion (via applyToAll with filter parameters).

Parámetros de entrada

  • pinteger

    Page number for pagination when filtering notifications. Defaults to 0 (first page).

  • mentionstringenum

    Enum for mention filter.

    allparticipatingmentions
  • paper_idstring

    Filter notifications by paper ID. Use this to delete notifications related to a specific paper. Only applies when applyToAll is true.

  • repo_namestring

    Filter notifications by repository name. Use this to delete notifications from a specific repository. Format should be 'namespace/repo-name'. Only applies when applyToAll is true.

  • repo_typestringenum

    Enum for repository type filter.

    datasetmodelspacebucket
  • article_idstring

    Filter notifications by article ID. Use this to delete notifications related to a specific article. Only applies when applyToAll is true.

  • last_updatestring

    Filter notifications by last update timestamp. Use this to delete notifications updated before or after a specific time. Only applies when applyToAll is true.

  • post_authorstring

    Filter notifications by the username of the post author. Use this to delete notifications from a specific user. Only applies when applyToAll is true.

  • read_statusstringenum

    Enum for read status filter.

    allunread
  • apply_to_allboolean

    When true, applies the deletion to all notifications matching the filter criteria (readStatus, repoType, repoName, etc.). Use with caution as this will delete multiple notifications at once. Required when not using discussion_ids.

  • discussion_idsstring[]

    Array of specific discussion IDs to delete. Each ID must be exactly 24 hexadecimal characters. Use this for targeted deletion of specific notifications. If provided, other filter parameters are ignored.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Settings WebhookHUGGING_FACE_DELETE_SETTINGS_WEBHOOKSAcción

Tool to delete a webhook from Hugging Face settings. Use when you need to remove a webhook configuration that is no longer needed.

Parámetros de entrada

  • webhookIdstringObligatorio

    The unique identifier of the webhook to delete. Must be a 24-character hexadecimal string.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete space branchHUGGING_FACE_DELETE_SPACES_BRANCHAcción

Tool to delete a branch from a Hugging Face space repository. Use when you need to remove a branch that is no longer needed. This action permanently removes the specified branch from the space.

Parámetros de entrada

  • revstringObligatorio

    The name of the branch to delete from the space repository. This should be a valid branch name (not the main branch in most cases).

  • repostringObligatorio

    The name of the space repository from which to delete the branch. This is the repository identifier without the namespace.

  • namespacestringObligatorio

    The namespace (user or organization) that owns the space. For example, '121tester' for a user or 'huggingface' for an organization.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete space secretHUGGING_FACE_DELETE_SPACES_SECRETSAcción

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. This action permanently removes the specified secret from the space's environment variables.

Parámetros de entrada

  • keystringObligatorio

    The key name of the secret to delete from the space. This should be the exact name of the secret as it appears in the space's settings.

  • repostringObligatorio

    The name of the space repository from which to delete the secret. This is the repository identifier without the namespace.

  • namespacestringObligatorio

    The namespace (user or organization) that owns the space. For example, '121tester' for a user or 'huggingface' for an organization.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Spaces TagHUGGING_FACE_DELETE_SPACES_TAGAcción

Tool to delete a tag from a Hugging Face space. Use when you need to remove a specific tag revision from a space repository.

Parámetros de entrada

  • revstringObligatorio

    The tag revision to delete from the space.

  • repostringObligatorio

    The repository name of the space.

  • namespacestringObligatorio

    The namespace (organization or user) that owns the space.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete space variableHUGGING_FACE_DELETE_SPACES_VARIABLESAcción

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. This action permanently removes the specified variable from the space's environment.

Parámetros de entrada

  • keystringObligatorio

    The key name of the variable to delete from the space. This should be the exact name of the variable as it appears in the space's settings.

  • repostringObligatorio

    The name of the space repository from which to delete the variable. This is the repository identifier without the namespace.

  • namespacestringObligatorio

    The namespace (user or organization) that owns the space. For example, '121tester' for a user or 'huggingface' for an organization.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Filter dataset rowsHUGGING_FACE_FILTER_DATASET_ROWSAcción

Tool to filter rows in a Hugging Face dataset split based on SQL-like query conditions. Use when you need to search or filter specific rows from a dataset based on column values, or to retrieve sorted subsets of data.

Parámetros de entrada

  • splitstringObligatorio

    Name of the dataset split to filter (e.g., 'train', 'test', 'validation').

  • wherestringObligatorio

    SQL WHERE clause for filtering rows. Use column names and comparison operators (e.g., 'label=0', 'score>0.5', 'text LIKE "%happy%"'). Multiple conditions can be combined with AND/OR.

  • configstringObligatorio

    Name of the dataset configuration/subset to filter. Use 'default' for datasets without explicit configs.

  • lengthinteger

    Maximum number of rows to return. Defaults to 100. Maximum allowed is 100.

  • offsetinteger

    Number of rows to skip before returning results. Use with length for pagination.

  • datasetstringObligatorio

    Full name of the dataset in the format 'namespace/dataset-name'. Example: 'cornell-movie-review-data/rotten_tomatoes'.

  • orderbystring

    SQL ORDER BY clause for sorting results. Specify column name and optionally 'ASC' or 'DESC' (e.g., 'score DESC', 'date ASC').

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate Chat CompletionHUGGING_FACE_GENERATE_CHAT_COMPLETIONAcción

Tool to generate a response given a list of messages in a conversational context. Supports both conversational Language Models (LLMs) and Vision-Language Models (VLMs). Compatible with OpenAI SDK.

Parámetros de entrada

  • seedinteger

    Random seed for deterministic sampling. Using the same seed with the same parameters should produce the same output.

  • stopstring[]

    Up to 4 sequences where the API will stop generating further tokens. The returned text will not contain the stop sequence.

  • modelstringObligatorio

    The model ID to use for chat completion. Format: namespace/model or namespace/model:provider. Examples: 'meta-llama/Llama-3.2-3B-Instruct', 'Qwen/Qwen2.5-7B-Instruct-1M'.

  • toolsobject[]

    A list of tools the model may call. Currently, only functions are supported as a tool. Use this to provide a list of functions the model may generate JSON inputs for.

  • top_pnumber

    An alternative to sampling with temperature, called nucleus sampling. The model considers the results of tokens with top_p probability mass. So 0.1 means only tokens comprising the top 10% probability mass are considered.

  • streamboolean

    Whether to stream the response as Server-Sent Events. If true, tokens are returned as they are generated. If false (default), the full response is returned at once.

  • logprobsboolean

    Whether to return log probabilities of the output tokens. If true, returns the log probabilities of each output token returned in the content of message.

  • messagesobject[]Obligatorio

    A list of messages comprising the conversation so far. Each message has a role (system, user, assistant, tool) and content.

  • max_tokensinteger

    The maximum number of tokens that can be generated in the chat completion. If not specified, the model will generate until it reaches a natural stopping point.

  • temperaturenumber

    Sampling temperature between 0 and 2. Higher values like 0.8 make output more random, lower values like 0.2 make it more focused and deterministic. We generally recommend altering this or top_p but not both.

  • tool_choiceany

    Controls which (if any) tool is called by the model. 'auto' (default) means the model can pick between generating a message or calling a tool. 'none' means the model will not call a tool. 'required' means the model must call a tool. Or specify a particular function to force the model to call it.

  • tool_promptstring

    A prompt to be appended before the tools section.

  • top_logprobsinteger

    An integer between 0 and 5 specifying the number of most likely tokens to return at each token position, each with an associated log probability. logprobs must be set to true if this parameter is used.

  • stream_optionsobject

    Stream options.

  • response_formatany

    The format of the response. Can be 'text' (default), 'json_object' for JSON mode, or 'json_schema' for structured output with a specific schema.

  • presence_penaltynumber

    Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics.

  • frequency_penaltynumber

    Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate Text EmbeddingsHUGGING_FACE_GENERATE_EMBEDDINGSAcción

Tool to convert text into vector embeddings for feature extraction, semantic search, and similarity tasks. Use when you need numerical representations of text for ML applications.

Parámetros de entrada

  • modelstring

    The Hugging Face model ID to use for generating embeddings. Must be a valid embedding model from the Hugging Face model hub.

  • inputsstring[]Obligatorio

    Array of text strings to convert into embeddings. Each string will be processed and returned as a numerical vector representation.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Daily PapersHUGGING_FACE_GET_DAILY_PAPERSAcción

Tool to retrieve daily papers from Hugging Face. Use when you need to fetch the latest AI/ML research papers shared on Hugging Face.

Parámetros de entrada

  • pinteger

    Page number for pagination (0-indexed). Defaults to 0.

  • datestring

    Filter papers by specific date (YYYY-MM-DD format).

  • sortstringenum

    Sort option for daily papers.

    publishedAttrending
  • weekstring

    Filter papers by specific week.

  • limitinteger

    Maximum number of papers to return per page. Defaults to 50.

  • monthstring

    Filter papers by specific month (YYYY-MM format).

  • submitterstring

    Filter papers by submitter username.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Dataset Croissant MetadataHUGGING_FACE_GET_DATASET_CROISSANTAcción

Tool to get Croissant metadata about a Hugging Face dataset. Croissant is a metadata format built on schema.org aimed at describing datasets used for machine learning. Use when you need structured metadata in JSON-LD format.

Parámetros de entrada

  • datasetstringObligatorio

    Full dataset name in format 'namespace/repo' (e.g., 'ibm-research/duorc', 'squad', 'huggingface/transformers').

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Dataset First RowsHUGGING_FACE_GET_DATASET_FIRST_ROWSAcción

Tool to get the first 100 rows of a dataset split along with column data types and features. Use when you need to preview or sample dataset content.

Parámetros de entrada

  • splitstringObligatorio

    Name of the dataset split to retrieve rows from.

  • configstringObligatorio

    Name of the dataset configuration/subset. Use 'default' for datasets without configurations.

  • datasetstringObligatorio

    Name of the dataset in format 'namespace/name'. For example, 'cornell-movie-review-data/rotten_tomatoes' or 'squad'.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Dataset InfoHUGGING_FACE_GET_DATASET_INFOAcción

Tool to get general information about a dataset including description, citation, homepage, license, and features (column schemas). Use when you need to understand dataset structure, available splits, and metadata before working with the data.

Parámetros de entrada

  • configstring

    Name of the config/subset to retrieve information for. If not provided, returns info for the default configuration.

  • datasetstringObligatorio

    Name of the dataset to retrieve information for. Format: 'namespace/repo-name' (e.g., 'rajpurkar/squad', 'ibm/duorc').

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Dataset Repository InfoHUGGING_FACE_GET_DATASET_REPO_INFOAcción

Tool to retrieve detailed information about a Hugging Face dataset repository. Use when you need metadata, card data, tags, downloads, likes, configurations, or other information about a specific dataset.

Parámetros de entrada

  • repo_idstringObligatorio

    Dataset repository ID in the format author/dataset-name (e.g., 'rajpurkar/squad', 'stanfordnlp/imdb')

  • revisionstring

    Git revision (branch, tag, or commit SHA) to retrieve information for. If not specified, defaults to the main branch

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Dataset RowsHUGGING_FACE_GET_DATASET_ROWSAcción

Tool to retrieve a slice of rows from a Hugging Face dataset split at any given location (offset). Returns up to 100 rows at a time with complete feature type information and no truncation. Use when you need to inspect specific rows from a dataset without downloading the entire dataset.

Parámetros de entrada

  • splitstringObligatorio

    Name of the dataset split to retrieve rows from. Common splits include 'train', 'test', and 'validation'.

  • configstringObligatorio

    Name of the config/subset of the dataset. Each dataset may have multiple configurations for different variations or subsets.

  • lengthintegerObligatorio

    Number of rows to retrieve. Maximum allowed value is 100. Use smaller values for faster responses.

  • offsetintegerObligatorio

    Starting row index (0-based) from which to begin retrieving rows. Use 0 to start from the beginning of the dataset.

  • datasetstringObligatorio

    Name of the dataset to retrieve rows from. Use format 'namespace/dataset_name' (e.g., 'stanfordnlp/imdb', 'ibm/duorc').

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Datasets CompareHUGGING_FACE_GET_DATASETS_COMPAREAcción

Tool to get a comparison (diff) between two revisions of a Hugging Face dataset. Use when you need to see what changed between dataset versions or commits.

Parámetros de entrada

  • rawboolean

    Whether to return the raw diff output. If false or not provided, returns formatted diff.

  • repostringObligatorio

    The name of the dataset repository to compare.

  • comparestringObligatorio

    The comparison specification in the format 'base..head' (e.g., 'main~1..main' for comparing the previous commit to main, or 'abc123..def456' for comparing specific commits).

  • namespacestringObligatorio

    The namespace (username or organization) that owns the dataset.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Dataset SizeHUGGING_FACE_GET_DATASET_SIZEAcción

Tool to get the size of a Hugging Face dataset including number of rows and size in bytes. Use when you need to determine dataset size, memory requirements, or storage needs for a specific dataset.

Parámetros de entrada

  • datasetstringObligatorio

    Name of the dataset to get size information for. Format: 'namespace/repo-name' (e.g., 'stanfordnlp/imdb', 'ibm/duorc').

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Datasets JWTHUGGING_FACE_GET_DATASETS_JWTAcción

Tool to generate a JWT token for accessing a Hugging Face dataset repository. Use when you need authenticated access to datasets, optionally with write access for spaces in dev mode, custom expiration, or encryption.

Parámetros de entrada

  • repostringObligatorio

    The name of the dataset repository.

  • writestring

    Enable write access for spaces in dev mode. Set to 'true' to enable write access.

  • encryptedstring

    Request an encrypted JWT token. Set to 'true' to receive encrypted token with key ID.

  • namespacestringObligatorio

    The namespace (organization or user) that owns the dataset repository.

  • expirationstring

    Custom expiration time for the JWT token. Format depends on Hugging Face API specifications.

  • inference_apistring

    Enable inference API access. Set to 'true' to enable.

  • include_pro_statusstring

    Include Pro status information in the token. Set to 'true' to include.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Datasets LeaderboardHUGGING_FACE_GET_DATASETS_LEADERBOARDAcción

Tool to retrieve evaluation results ranked by score for a dataset's leaderboard. Use when you need to compare model performance on a specific dataset or task. Returns an array of leaderboard entries with model information, scores, and rankings.

Parámetros de entrada

  • repostringObligatorio

    The repository name of the dataset. For example, 'results' for the dataset 'open-llm-leaderboard/results'.

  • task_idstring

    Optional task identifier to filter leaderboard results by a specific task. If not provided, returns results for all tasks.

  • namespacestringObligatorio

    The namespace (organization or user) that owns the dataset. For example, 'open-llm-leaderboard' for the dataset 'open-llm-leaderboard/results'.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Dataset Notebook URLHUGGING_FACE_GET_DATASETS_NOTEBOOKAcción

Tool to get a Jupyter notebook URL from a Hugging Face dataset repository. Use when you need to retrieve the URL for a specific .ipynb file from a dataset at a particular revision.

Parámetros de entrada

  • revstringObligatorio

    The git revision (branch, tag, or commit hash) to retrieve the notebook from.

  • pathstringObligatorio

    The path to the notebook file within the repository, including the .ipynb extension.

  • repostringObligatorio

    The repository name of the dataset.

  • namespacestringObligatorio

    The namespace (user or organization) that owns the dataset.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Datasets ResolveHUGGING_FACE_GET_DATASETS_RESOLVEAcción

Tool to resolve and download a file from a Hugging Face dataset repository. This endpoint requires following redirections to retrieve file content or returns XET file info when Accept header is set appropriately. Use when you need to access files from datasets with proper redirection handling.

Parámetros de entrada

  • revstringObligatorio

    The git revision (commit SHA, branch name, or tag) to resolve the file from.

  • pathstringObligatorio

    The path to the file within the repository (wildcard path parameter).

  • repostringObligatorio

    The name of the dataset repository.

  • Rangestring

    The range in bytes of the file to download (e.g., 'bytes=0-1023' for first 1KB).

  • Acceptstring

    Returns json information about the XET file info if the file is a XET file. Use 'application/vnd.xet-fileinfo+json' to get XET metadata, otherwise leave empty to download file content.

  • namespacestringObligatorio

    The namespace (organization or user) that owns the dataset repository.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Dataset Security ScanHUGGING_FACE_GET_DATASETS_SCANAcción

Tool to retrieve the security scan status of a Hugging Face dataset repository. Use when you need to check for malware, pickle vulnerabilities, or other security issues in a dataset.

Parámetros de entrada

  • repostringObligatorio

    The name of the dataset repository to scan

  • namespacestringObligatorio

    The namespace (organization or user) that owns the dataset repository

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Dataset Tags by TypeHUGGING_FACE_GET_DATASETS_TAGS_BY_TYPEAcción

Tool to retrieve all possible tags used for datasets on Hugging Face, grouped by tag type. Use when you need to discover available dataset classification tags, filter options, or metadata categories. Optionally restrict results to a single tag type.

Parámetros de entrada

  • typestringenum

    Valid tag type values for filtering dataset tags.

    benchmarktask_categoriessize_categoriesmodalityformatlibrarylanguagelicensearxivdoiregionother+5

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Dataset StatisticsHUGGING_FACE_GET_DATASET_STATISTICSAcción

Tool to get comprehensive statistics about a dataset split including column statistics and data distribution information. Use when you need to analyze dataset composition, understand data distributions, or get statistical summaries of dataset features.

Parámetros de entrada

  • splitstringObligatorio

    Name of the split to get statistics for (e.g., 'train', 'test', 'validation').

  • configstringObligatorio

    Name of the configuration/subset of the dataset (e.g., 'mnist', 'cola', 'default').

  • datasetstringObligatorio

    Name of the dataset. Format: 'namespace/dataset-name' (e.g., 'ylecun/mnist', 'nyu-mll/glue').

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get dataset repository sizeHUGGING_FACE_GET_DATASETS_TREESIZEAcción

Tool to get the total size of a Hugging Face dataset repository at a specific revision and path. Use when you need to determine storage requirements or track repository size changes.

Parámetros de entrada

  • revstringObligatorio

    The Git revision or branch name to query (e.g., 'main', 'dev', or a commit SHA).

  • pathstring

    The path within the repository to calculate size for. Use '.' for root directory or specify a subdirectory path (e.g., 'data/train'). The size is calculated recursively for all files under this path.

  • repostringObligatorio

    The repository name of the dataset (e.g., 'gsm8k', 'wikitext').

  • namespacestringObligatorio

    The namespace or organization name that owns the dataset (e.g., 'squad', 'openai').

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Datasets XET Read TokenHUGGING_FACE_GET_DATASETS_XET_READ_TOKENAcción

Tool to get a read short-lived access token for XET from Hugging Face datasets. Use when you need temporary read access to dataset content through XET protocol.

Parámetros de entrada

  • revstringObligatorio

    The revision (branch, tag, or commit) to get the token for. Use 'main' for the default branch.

  • repostringObligatorio

    The repository name of the dataset. For example, 'squad' for the SQuAD dataset.

  • namespacestringObligatorio

    The namespace (organization or user) that owns the dataset. For example, 'rajpurkar' for the SQuAD dataset.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Discussion DetailsHUGGING_FACE_GET_DISCUSSIONAcción

Tool to get detailed information about a specific discussion or pull request on Hugging Face Hub. Use when you need to retrieve all comments, status changes, events, and for PRs, the diff information.

Parámetros de entrada

  • repo_idstringObligatorio

    Repository ID in the format author/repo-name (e.g., 'google-bert/bert-base-uncased').

  • repo_typestringObligatorioenum

    The type of repository: models, spaces, or datasets. This determines where to look for the discussion.

    modelsspacesdatasets
  • discussion_numintegerObligatorio

    Discussion number (strictly positive integer). This is the unique identifier of the discussion within the repository.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Discussion DetailsHUGGING_FACE_GET_DISCUSSIONSAcción

Tool to retrieve discussion details from a Hugging Face repository. Use when you need to get information about a specific discussion or pull request, including comments, events, and status.

Parámetros de entrada

  • numstringObligatorio

    The discussion number identifier.

  • repostringObligatorio

    The repository name (e.g., 'bert-base-uncased').

  • namespacestringObligatorio

    The namespace or organization name that owns the repository (e.g., 'google-bert', 'openai').

  • repo_typestringObligatorioenum

    The type of repository (models, spaces, or datasets).

    modelsspacesdatasets

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Available Job HardwareHUGGING_FACE_GET_JOBS_HARDWAREAcción

Tool to retrieve available hardware configurations for Hugging Face Jobs with their specifications and pricing. Use when you need to discover compute options for running jobs.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Model InformationHUGGING_FACE_GET_MODEL_INFOAcción

Tool to retrieve detailed information about a Hugging Face model repository. Use when you need comprehensive metadata including downloads, likes, tags, configuration, files, and more.

Parámetros de entrada

  • repostringObligatorio

    The repository name of the model. For example, 'bert-base-uncased' in 'google-bert/bert-base-uncased'.

  • namespacestringObligatorio

    The namespace (organization or user) that owns the model repository. For example, 'google-bert' in 'google-bert/bert-base-uncased'.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Models CompareHUGGING_FACE_GET_MODELS_COMPAREAcción

Tool to compare two revisions of a Hugging Face model repository. Returns a git diff showing file changes between commits. Use when you need to see what changed between model versions.

Parámetros de entrada

  • rawboolean

    If true, returns raw diff output. If false or omitted, returns formatted diff.

  • repostringObligatorio

    The repository name of the model (e.g., 'bert-base-uncased', 'llama-2-7b').

  • comparestringObligatorio

    Comparison specification in the format 'commit1..commit2' (two dots). Each commit is a full Git commit hash. For example: '5546055f03398095e385d7dc625e636cc8910bf2..86b5e0934494bd15c9632b12f734a8a67f723594'. Do NOT use three dots (...) as this format is not supported by the API.

  • namespacestringObligatorio

    The namespace or organization name that owns the model (e.g., 'google-bert', 'meta-llama', 'openai').

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Models JWTHUGGING_FACE_GET_MODELS_JWTAcción

Tool to generate a JWT token for accessing a Hugging Face model repository. Use when you need authenticated access to models, with optional write access for spaces in dev mode, custom expiration, and encryption support.

Parámetros de entrada

  • repostringObligatorio

    The repository name within the namespace.

  • writestring

    Enable write access for spaces in dev mode. Set to 'true' to enable write access.

  • encryptedstring

    Request an encrypted token. Set to 'true' to receive an encrypted JWT token and key ID.

  • namespacestringObligatorio

    The namespace (organization or user) that owns the model repository.

  • expirationstring

    Custom expiration time for the JWT token. Specify the duration or timestamp for token validity.

  • inference_apistring

    Enable inference API access with the token. Set to 'true' to enable.

  • include_pro_statusstring

    Include PRO subscription status in the token. Set to 'true' to include PRO status information.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Models NotebookHUGGING_FACE_GET_MODELS_NOTEBOOKAcción

Tool to retrieve a Jupyter notebook URL from a Hugging Face model repository. Use when you need to access or display a notebook file stored in a model repository.

Parámetros de entrada

  • revstringObligatorio

    The revision, branch name, tag, or commit hash to retrieve the notebook from (e.g., 'main', 'dev', or a commit SHA).

  • pathstringObligatorio

    The path to the Jupyter notebook file within the repository, including the .ipynb extension (e.g., 'Untitled.ipynb' or 'notebooks/demo.ipynb').

  • repostringObligatorio

    The repository name of the model (e.g., 'example-huggingface-model').

  • namespacestringObligatorio

    The namespace or organization name that owns the model repository (e.g., 'akshat-shethia').

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Model Security Scan StatusHUGGING_FACE_GET_MODELS_SCANAcción

Tool to retrieve the security scan status of a Hugging Face model repository. Use when you need to check if a model has been scanned for security issues and view any detected problems.

Parámetros de entrada

  • repostringObligatorio

    The repository name of the model. For example, 'opt-125m' in 'facebook/opt-125m'.

  • namespacestringObligatorio

    The namespace (organization or user) that owns the model repository. For example, 'facebook' in 'facebook/opt-125m'.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get model repository sizeHUGGING_FACE_GET_MODELS_TREESIZEAcción

Tool to get the total size of a Hugging Face model repository at a specific revision and path. Use when you need to determine storage requirements or track repository size changes.

Parámetros de entrada

  • revstringObligatorio

    The Git revision or branch name to query (e.g., 'main', 'dev', or a commit SHA).

  • pathstring

    The path within the repository to calculate size for. Use '.' for root directory or specify a subdirectory path (e.g., 'weights', 'config'). The size is calculated recursively for all files under this path.

  • repostringObligatorio

    The repository name of the model (e.g., 'bert-base-uncased', 'llama-2-7b').

  • namespacestringObligatorio

    The namespace or organization name that owns the model (e.g., 'google-bert', 'facebook', 'openai').

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Model XET Read TokenHUGGING_FACE_GET_MODELS_XET_READ_TOKENAcción

Tool to retrieve a short-lived XET read access token for a Hugging Face model repository. Use when you need to access XET (eXtensible Tensor) data for a specific model revision.

Parámetros de entrada

  • revstringObligatorio

    The revision (branch, tag, or commit hash) to get the XET read token for. Common values include 'main', 'master', or specific commit hashes.

  • repostringObligatorio

    The repository name of the model. For example, 'bert-base-uncased' in 'google-bert/bert-base-uncased'.

  • namespacestringObligatorio

    The namespace (organization or user) that owns the model repository. For example, 'google-bert' in 'google-bert/bert-base-uncased'.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Model Tags By TypeHUGGING_FACE_GET_MODEL_TAGS_BY_TYPEAcción

Tool to retrieve all possible tags used for Hugging Face models, grouped by tag type. Use when you need to discover available model tags for filtering or categorization. Optionally restrict results to a specific tag type.

Parámetros de entrada

  • typestringenum

    Enum for model tag types on Hugging Face.

    pipeline_taglibrarydatasetlanguagelicensearxivdoiregionother

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Organization AvatarHUGGING_FACE_GET_ORGANIZATIONS_AVATARAcción

Tool to retrieve the avatar URL for a Hugging Face organization. Use when you need to get the avatar image URL for a specific organization.

Parámetros de entrada

  • namestringObligatorio

    The name of the organization. For example, 'huggingface' or 'meta-llama'.

  • redirectstring

    If provided, redirect to the avatar URL instead of returning it as JSON. Set to any value to enable redirection.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Organization MembersHUGGING_FACE_GET_ORGANIZATIONS_MEMBERSAcción

Tool to retrieve a list of members for a Hugging Face organization. Use when you need to discover who belongs to an organization, with optional filtering by search terms, email, and pagination support.

Parámetros de entrada

  • namestringObligatorio

    Name of the organization to retrieve members from. This is the organization's username or slug on Hugging Face.

  • emailstring

    Filter members by email address. This may require admin permissions depending on the organization's settings.

  • limitinteger

    Maximum number of members to return. Defaults to 500.

  • cursorstring

    Pagination cursor for fetching the next page of results. Use the cursor from the previous response to get more members.

  • searchstring

    Search query to filter members by username or full name. Use this to find specific members within the organization.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Organization Social HandlesHUGGING_FACE_GET_ORGANIZATIONS_SOCIALSAcción

Tool to retrieve an organization's social media handles from Hugging Face. Use when you need to find an organization's GitHub, LinkedIn, or Twitter/X profiles. Only returns handles that the organization has publicly shared on their Hugging Face profile.

Parámetros de entrada

  • namestringObligatorio

    The name of the organization to retrieve social media handles for. This is the organization's username on Hugging Face.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get ResolveHUGGING_FACE_GET_RESOLVEAcción

Tool to resolve a file in a Hugging Face repository. Use when you need to access files from model, dataset, or space repositories. This endpoint follows redirections (302, 307) to retrieve the actual file. When Accept header is set to 'application/vnd.xet-fileinfo+json', returns JSON file metadata instead of redirecting to file content.

Parámetros de entrada

  • revstringObligatorio

    The revision (branch, tag, or commit hash) to resolve. Common values include 'main' or specific Git commit SHAs.

  • pathstringObligatorio

    The file path within the repository to resolve. For example, 'config.json', 'pytorch_model.bin', or 'tokenizer.json'.

  • repostringObligatorio

    The repository name within the namespace. For example, 'bart-large' in 'facebook/bart-large'.

  • Rangestring

    The range in bytes of the file to download. Use HTTP Range header format like 'bytes=0-1023' to download only specific byte ranges.

  • Acceptstring

    Returns JSON information about the XET file info if the file is a XET file. Set to 'application/vnd.xet-fileinfo+json' to receive JSON file metadata instead of following redirect to file content.

  • namespacestringObligatorio

    The namespace (organization or user) that owns the repository. For example, 'facebook' in 'facebook/bart-large'.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Resolve Cache DatasetsHUGGING_FACE_GET_RESOLVE_CACHE_DATASETSAcción

Tool to resolve a file from cache in a Hugging Face dataset repository. This endpoint follows redirections (302, 307) to retrieve file content or returns XET file info when Accept header is set appropriately. Use when you need to access cached files from datasets with proper redirection handling.

Parámetros de entrada

  • revstringObligatorio

    The git revision (commit SHA, branch, or tag) to resolve the file from. Note: This endpoint typically requires an exact commit SHA rather than branch names.

  • pathstringObligatorio

    The path to the file within the repository (wildcard path parameter).

  • repostringObligatorio

    The name of the dataset repository.

  • Rangestring

    The range in bytes of the file to download (e.g., 'bytes=0-1023' for first 1KB).

  • Acceptstring

    Returns json information about the XET file info if the file is a XET file. Use 'application/vnd.xet-fileinfo+json' to get XET metadata, otherwise leave empty to download file content.

  • namespacestringObligatorio

    The namespace (organization or user) that owns the dataset repository.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Resolve Cache ModelsHUGGING_FACE_GET_RESOLVE_CACHE_MODELSAcción

Tool to resolve and retrieve files from the Hugging Face model cache. Use when you need to access model configuration files, tokenizer files, or other JSON metadata files from a specific model repository. This endpoint returns the actual file content as JSON for JSON files (e.g., config.json, tokenizer.json, tokenizer_config.json).

Parámetros de entrada

  • revstringObligatorio

    The revision to resolve. Must be a full Git commit SHA (40 characters). Branch names like 'main' or tags are not supported by this endpoint.

  • pathstringObligatorio

    The file path within the repository to resolve. For example, 'config.json', 'pytorch_model.bin', or 'tokenizer.json'.

  • repostringObligatorio

    The repository name of the model. For example, 'bert-base-uncased' in 'google-bert/bert-base-uncased'.

  • Rangestring

    The range in bytes of the file to download. Use HTTP Range header format like 'bytes=0-1023'.

  • Acceptstring

    Optional Accept header to specify the desired response format. Common values include 'application/json', 'application/vnd.xet-fileinfo+json', or '*/*'.

  • namespacestringObligatorio

    The namespace (organization or user) that owns the model repository. For example, 'google-bert' in 'google-bert/bert-base-uncased'.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Resolve Cache SpacesHUGGING_FACE_GET_RESOLVE_CACHE_SPACESAcción

Tool to resolve and retrieve a file from Hugging Face Spaces cache. Use when you need to download a file from a Space repository or get XET file information. This endpoint follows redirections (HTTP 302/307) to resolve the final file location.

Parámetros de entrada

  • revstringObligatorio

    The git revision (branch, tag, or commit hash) to retrieve the file from. Use a full commit SHA for exact version, or 'main' for the default branch.

  • pathstringObligatorio

    The path to the file within the repository. This is a wildcard path parameter that can include subdirectories and filename.

  • repostringObligatorio

    The repository name of the Space. For example, 'gradio-user-history' for the Wauplin/gradio-user-history Space.

  • Rangestring

    The range in bytes of the file to download. Format: 'bytes=start-end'. If not provided, the entire file will be retrieved.

  • Acceptstring

    Accept header to specify the response format. Use 'application/vnd.xet-fileinfo+json' to get JSON information about XET file info instead of the file content.

  • namespacestringObligatorio

    The namespace (user or organization) that owns the Space. For example, 'Wauplin' for the Wauplin/gradio-user-history Space.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Billing UsageHUGGING_FACE_GET_SETTINGS_BILLING_USAGEAcción

Tool to retrieve user billing usage for a given period from Hugging Face. Use when you need to check usage statistics, billing information, or resource consumption for the authenticated user or organization.

Parámetros de entrada

  • periodIdstring

    Optional billing period ID to retrieve usage for a specific period. Must be a 24-character hexadecimal string. If not provided, returns usage for the current period.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Jobs UsageHUGGING_FACE_GET_SETTINGS_BILLING_USAGE_JOBSAcción

Tool to retrieve Jobs usage and billing information for the current subscription period from Hugging Face. Use when you need to check compute usage, costs, or job execution details for the authenticated user or organization.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Live Billing UsageHUGGING_FACE_GET_SETTINGS_BILLING_USAGE_LIVEAcción

Tool to retrieve live billing usage stream from Hugging Face. Use when you need real-time updates on storage, inference, Zero GPU usage, and rate limits.

Parámetros de entrada

  • timeoutinteger

    Maximum time in seconds to wait for live usage updates. Defaults to 5 seconds.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Billing Usage V2HUGGING_FACE_GET_SETTINGS_BILLING_USAGE_V2Acción

Tool to retrieve user billing usage for a custom date range from Hugging Face. Use when you need to check usage statistics or resource consumption between specific dates using Unix timestamps.

Parámetros de entrada

  • endDateintegerObligatorio

    End date of the billing period as Unix timestamp (seconds since epoch). Defines the end of the date range for which to retrieve usage data. Must be after start_date.

  • startDateintegerObligatorio

    Start date of the billing period as Unix timestamp (seconds since epoch). Defines the beginning of the date range for which to retrieve usage data.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get MCP SettingsHUGGING_FACE_GET_SETTINGS_MCPAcción

Tool to retrieve MCP (Model Context Protocol) tools configuration for the authenticated user. Use when you need to discover available built-in tools and space-based tools configured in the user's Hugging Face settings.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Settings WebhookHUGGING_FACE_GET_SETTINGS_WEBHOOKSAcción

Tool to retrieve a specific webhook configuration from Hugging Face settings. Use when you need to inspect webhook details, verify webhook status, or check webhook configuration for a given webhook ID.

Parámetros de entrada

  • webhookIdstringObligatorio

    The unique identifier of the webhook to retrieve. Must be a 24-character hexadecimal string.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Space InfoHUGGING_FACE_GET_SPACE_INFOAcción

Tool to retrieve detailed information about a Hugging Face Space repository. Use when you need metadata, SDK type, hardware configuration, runtime status, or other information about a specific Space.

Parámetros de entrada

  • repo_idstringObligatorio

    Space repository ID in the format author/space-name (e.g., 'Qwen/Qwen3-TTS', 'stabilityai/stable-diffusion')

  • revisionstring

    Git revision (branch, tag, or commit SHA) to retrieve information for. If not specified, defaults to the main branch

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Spaces CompareHUGGING_FACE_GET_SPACES_COMPAREAcción

Tool to compare two revisions of a Hugging Face Space repository. Returns a git diff showing file changes between commits. Use when you need to see what changed between Space versions.

Parámetros de entrada

  • rawboolean

    If true, returns raw diff output. If false or omitted, returns formatted diff.

  • repostringObligatorio

    The repository name of the Space (e.g., 'Qwen3-TTS', 'chatgpt-demo').

  • comparestringObligatorio

    Comparison specification in the format 'commit1..commit2' (two dots). Each commit is a full Git commit hash. For example: 'bb80b9adea7bc1d818bc635e839db60b7d4aa8f1..8a132844625e28e09f36427c30070276dfd9b2ed'. Do NOT use three dots (...) as this format is not supported by the API.

  • namespacestringObligatorio

    The namespace or organization name that owns the Space (e.g., 'Qwen', 'openai', 'gradio').

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Spaces EventsHUGGING_FACE_GET_SPACES_EVENTSAcción

Tool to stream status updates for a Hugging Face Space using SSE protocol. Use when you need to monitor Space build stages, runtime status, or receive real-time updates about Space state changes.

Parámetros de entrada

  • repostringObligatorio

    The repository name of the Space.

  • timeoutinteger

    Maximum time in seconds to wait for status updates. Defaults to 5 seconds.

  • namespacestringObligatorio

    The namespace (username or organization) that owns the Space.

  • session_uuidstring

    Optional session UUID to filter events for a specific session.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Spaces JWTHUGGING_FACE_GET_SPACES_JWTAcción

Tool to generate a JWT token for accessing a Hugging Face space repository. Use when you need authenticated access to spaces, with optional write access for spaces in dev mode, custom expiration, and encryption support.

Parámetros de entrada

  • repostringObligatorio

    The name of the space repository.

  • writestring

    Enable write access for spaces in dev mode. Set to 'true' to enable write access.

  • encryptedstring

    Request an encrypted token. Set to 'true' to receive an encrypted JWT token and key ID.

  • namespacestringObligatorio

    The namespace (organization or user) that owns the space repository.

  • expirationstring

    Custom expiration time for the JWT token. Specify the duration or timestamp for token validity.

  • inference_apistring

    Enable inference API access with the token. Set to 'true' to enable.

  • include_pro_statusstring

    Include PRO subscription status in the token. Set to 'true' to include PRO status information.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Space MetricsHUGGING_FACE_GET_SPACES_METRICSAcción

Tool to get live metrics for a specific Space in a streaming fashion, with SSE protocol, such as current Zero-GPU usage. Use when you need real-time monitoring of Space resource utilization.

Parámetros de entrada

  • repostringObligatorio

    The repository name of the Space.

  • timeoutinteger

    Maximum time in seconds to wait for metrics updates. Defaults to 5 seconds.

  • namespacestringObligatorio

    The namespace (username or organization) that owns the Space.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Spaces NotebookHUGGING_FACE_GET_SPACES_NOTEBOOKAcción

Tool to retrieve a Jupyter notebook URL from a Hugging Face space repository. Use when you need to access or display a notebook file stored in a space.

Parámetros de entrada

  • revstringObligatorio

    The revision, branch name, tag, or commit hash to retrieve the notebook from (e.g., 'main', 'dev', or a commit SHA).

  • pathstringObligatorio

    The path to the Jupyter notebook file within the repository, including the .ipynb extension (e.g., 'notebooks/automatic_mask_generator_example.ipynb').

  • repostringObligatorio

    The repository name of the space (e.g., 'SAM2-Video-Predictor').

  • namespacestringObligatorio

    The namespace or organization name that owns the space repository (e.g., 'fffiloni').

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Spaces ResolveHUGGING_FACE_GET_SPACES_RESOLVEAcción

Tool to resolve and retrieve a file from a Hugging Face Space repository. Use when you need to download a file from a Space or get XET file information. This endpoint follows redirections (HTTP 302/307) to resolve the final file location.

Parámetros de entrada

  • revstringObligatorio

    The git revision (branch, tag, or commit hash) to retrieve the file from. Use 'main' for the default branch or a specific commit SHA for exact version.

  • pathstringObligatorio

    The file path within the repository to resolve. This wildcard path parameter can include subdirectories and filename.

  • repostringObligatorio

    The repository name of the Space. For example, 'stable-diffusion-3-medium' for the stabilityai/stable-diffusion-3-medium Space.

  • Rangestring

    The range in bytes of the file to download. Format: 'bytes=start-end'. If not provided, the entire file will be retrieved.

  • Acceptstring

    Accept header to specify the response format. Use 'application/vnd.xet-fileinfo+json' to get JSON information about XET file info instead of the file content.

  • namespacestringObligatorio

    The namespace (user or organization) that owns the Space. For example, 'stabilityai' for the stabilityai/stable-diffusion-3-medium Space.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Space Security Scan StatusHUGGING_FACE_GET_SPACES_SCANAcción

Tool to retrieve the security scan status of a Hugging Face space repository. Use when you need to check for malware, pickle vulnerabilities, or other security issues in a space.

Parámetros de entrada

  • repostringObligatorio

    The name of the space repository to check security status for

  • namespacestringObligatorio

    The namespace (organization or user) that owns the space repository

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get space repository sizeHUGGING_FACE_GET_SPACES_TREESIZEAcción

Tool to get the total size of a Hugging Face space repository at a specific revision and path. Use when you need to determine storage requirements or track repository size changes.

Parámetros de entrada

  • revstringObligatorio

    The Git revision or branch name to query (e.g., 'main', 'dev', or a commit SHA).

  • pathstring

    The path within the repository to calculate size for. Use '.' for root directory or specify a subdirectory path (e.g., 'static', 'assets'). The size is calculated recursively for all files under this path.

  • repostringObligatorio

    The repository name of the space (e.g., 'hello_world', 'chatbot').

  • namespacestringObligatorio

    The namespace or organization name that owns the space (e.g., 'gradio', 'huggingface').

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Space XET Read TokenHUGGING_FACE_GET_SPACES_XET_READ_TOKENAcción

Tool to retrieve a short-lived XET read access token for a Hugging Face Space repository. Use when you need to access XET (eXtensible Tensor) data for a specific Space revision.

Parámetros de entrada

  • revstringObligatorio

    The revision (branch, tag, or commit hash) to get the XET read token for. Common values include 'main', 'master', or specific commit hashes.

  • repostringObligatorio

    The repository name of the Space. For example, 'Ace-Step-v1.5' in 'ACE-Step/Ace-Step-v1.5'.

  • namespacestringObligatorio

    The namespace (organization or user) that owns the Space repository. For example, 'ACE-Step' in 'ACE-Step/Ace-Step-v1.5'.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Spaces XET Write TokenHUGGING_FACE_GET_SPACES_XET_WRITE_TOKENAcción

Tool to retrieve a short-lived XET write access token for a Hugging Face space repository. Use when you need to upload or write XET data to a specific space revision.

Parámetros de entrada

  • revstringObligatorio

    The revision (branch, tag, or commit hash) to get the XET write token for. Common values include 'main', 'master', or specific commit hashes.

  • repostringObligatorio

    The repository name of the space. For example, 'ComfyUI' in 'SpacesExamples/ComfyUI'.

  • create_printeger

    Pass 1 to enable PR creation mode for users without direct write access to the repository. When set, changes will be submitted as a pull request instead of direct commits.

  • namespacestringObligatorio

    The namespace (organization or user) that owns the space repository. For example, 'SpacesExamples' in 'SpacesExamples/ComfyUI'.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Trending RepositoriesHUGGING_FACE_GET_TRENDINGAcción

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.

Parámetros de entrada

  • typestringenum

    Repository type filter for trending repositories.

    alldatasetmodelspace
  • limitinteger

    Maximum number of trending repositories to return. Defaults to 10.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get User AvatarHUGGING_FACE_GET_USERS_AVATARAcción

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.

Parámetros de entrada

  • redirectstring

    If provided, redirect to the avatar URL instead of returning it as JSON. Set to any value to enable redirection.

  • usernamestringObligatorio

    The username of the user whose avatar URL to retrieve. For example, 'julien-c' or 'lysandre'.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get User OverviewHUGGING_FACE_GET_USERS_OVERVIEWAcción

Tool to retrieve a comprehensive overview of a Hugging Face user's profile. Use when you need to get user statistics, organizations, activity counts, and profile information.

Parámetros de entrada

  • usernamestringObligatorio

    Username of the Hugging Face user to retrieve overview for. This is the user's handle on Hugging Face.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get User Social HandlesHUGGING_FACE_GET_USERS_SOCIALSAcción

Tool to retrieve a user's social media handles from Hugging Face. Use when you need to find a user's GitHub, LinkedIn, Twitter/X, or Bluesky profiles. Only returns handles that the user has publicly shared on their Hugging Face profile.

Parámetros de entrada

  • usernamestringObligatorio

    The username of the Hugging Face user to retrieve social media handles for. This is the user's username on Hugging Face.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Authenticated User InfoHUGGING_FACE_GET_WHOAMIAcción

Tool to get information about the authenticated Hugging Face user including username, email, organizations, and token details. Use when you need to identify the current user from an access token or retrieve user profile information.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Handle Dataset User Access RequestHUGGING_FACE_HANDLE_DATASETS_USER_ACCESS_REQUESTAcción

Tool to handle a user's access request to a gated Hugging Face dataset. Use this to accept, reject, or update the status of access requests for repositories with gated access. Either 'user' or 'userId' must be provided to identify the user.

Parámetros de entrada

  • repostringObligatorio

    The repository name of the gated dataset. For example, 'test-gated-dataset-cancel'.

  • userstring

    The username of the user whose access request is being handled. Either 'user' or 'userId' must be provided, but not both.

  • statusstringObligatorioenum

    The decision on the access request. Use 'accepted' to grant access, 'rejected' to deny access, or 'pending' to keep the request pending.

    acceptedrejectedpending
  • userIdstring

    The user ID (24-character hexadecimal string) of the user whose access request is being handled. Either 'user' or 'userId' must be provided, but not both.

  • namespacestringObligatorio

    The namespace (organization or user) that owns the dataset. For example, '121tester' or 'huggingface'.

  • rejectionReasonstring

    The reason for rejecting the access request. Maximum 200 characters. Only applicable when status is 'rejected'.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List CollectionsHUGGING_FACE_LIST_COLLECTIONSAcción

Tool to list collections on the Hugging Face Hub. Use when you need to discover collections of models, datasets, spaces, or papers. Collections are curated groups of repositories organized by users.

Parámetros de entrada

  • qstring

    Search query to filter collections by title or description. Use keywords to find relevant collections.

  • itemstring

    Filter collections by item ID (repo_id, paper id, or collection slug). Use this to find collections containing a specific item.

  • sortstringenum

    Enum for sorting options for collections.

    upvoteslastModifiedtrending
  • limitinteger

    Maximum number of collections to return per page. Defaults to 10.

  • ownerstring

    Filter collections by owner username. Use this to get collections created by a specific user or organization.

  • cursorstring

    Pagination cursor for fetching the next page of results. Use the cursor from the previous response to get more collections.

  • expandstring

    Comma-separated list of fields to expand in the response. Use this to get additional details about collections.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Dataset Parquet FilesHUGGING_FACE_LIST_DATASET_PARQUET_FILESAcción

Tool to get the list of Parquet files for a dataset. Use when you need to download or access dataset files in Parquet format. Returns URLs to download Parquet files with metadata about splits, configurations, and file sizes.

Parámetros de entrada

  • datasetstringObligatorio

    Name of the dataset to get Parquet files for. Format: 'namespace/repo-name' (e.g., 'rajpurkar/squad', 'huggingface/cifar10').

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Dataset Paths InfoHUGGING_FACE_LIST_DATASET_PATHS_INFOAcción

Tool to list detailed information about specific paths in a Hugging Face dataset repository. Use when you need to get metadata about files or directories in a dataset, including size, type, commit history, and security scan status.

Parámetros de entrada

  • revstringObligatorio

    Git revision (branch, tag, or commit hash) to query

  • repostringObligatorio

    Dataset repository name

  • pathsanyObligatorio

    List of paths to get information about, or a single path string. Paths are relative to the repository root.

  • expandanyObligatorio

    Whether to expand the response with last commit and security file status information. Can be a boolean or an object with expansion options.

  • namespacestringObligatorio

    Namespace (user or organization) that owns the dataset

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List DatasetsHUGGING_FACE_LIST_DATASETSAcción

Tool to list datasets on the Hugging Face Hub. Use when you need to discover or search for datasets. Supports filtering by author, search query, tags, and sorting by various properties.

Parámetros de entrada

  • sortstringenum

    Enum for sorting properties.

    lastModifiedtrendinglikesdownloads
  • limitinteger

    Limit the number of datasets returned. Defaults to 100 if not specified.

  • authorstring

    Filter datasets by an author or organization. Use this to get datasets from a specific user or org.

  • filterstring

    Filter based on tags. Use this to find datasets with specific tags like task types, languages, or licenses.

  • searchstring

    Filter based on substrings for dataset names and their usernames. Use this to search for datasets by keyword.

  • directionstringenum

    Enum for sort direction.

    ascdesc

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Dataset CommitsHUGGING_FACE_LIST_DATASETS_COMMITSAcción

Tool to list commits from a Hugging Face dataset repository. Use when you need to retrieve the commit history for a specific dataset branch or revision.

Parámetros de entrada

  • pinteger

    Page number for pagination. Starts from 0 for the first page.

  • revstringObligatorio

    The revision (branch, tag, or commit hash) to list commits from.

  • repostringObligatorio

    The repository name of the dataset.

  • limitinteger

    Maximum number of commits to return per page. Default is 50.

  • namespacestringObligatorio

    The namespace (username or organization) that owns the dataset.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Dataset SplitsHUGGING_FACE_LIST_DATASET_SPLITSAcción

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. Use when you need to understand the structure of a dataset before querying specific splits.

Parámetros de entrada

  • datasetstringObligatorio

    Name of the dataset to retrieve splits for. Format: 'namespace/repo-name' (e.g., 'stanfordnlp/imdb', 'huggingface/squad').

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Dataset ReferencesHUGGING_FACE_LIST_DATASETS_REFSAcción

Tool to list all references (branches, tags, converts, pull requests) in a Hugging Face dataset repository. Use when you need to retrieve available references for a specific dataset.

Parámetros de entrada

  • repostringObligatorio

    The repository name of the dataset.

  • namespacestringObligatorio

    The namespace (organization or user) that owns the dataset.

  • include_prsboolean

    Whether to include pull requests in the response. Set to true to include pull requests.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List datasets treeHUGGING_FACE_LIST_DATASETS_TREEAcción

Tool to list the content of a Hugging Face dataset repository tree with pagination support. Use when you need to browse or explore files and directories in a dataset repository, or to discover what data files are available in a dataset.

Parámetros de entrada

  • revstring

    Git revision (branch, tag, or commit SHA) to list. Defaults to 'main' branch.

  • pathstring

    Path within the repository to list. Use empty string or '.' for root directory. Supports nested paths like 'data/train'.

  • repostringObligatorio

    Repository name without the namespace. Example: 'squad' for the rajpurkar/squad dataset.

  • limitinteger

    Maximum number of items to return. Defaults to 1000, or 100 when expand=true. Use with cursor for pagination.

  • cursorstring

    Pagination cursor from a previous response to fetch the next page of results. Omit for the first page.

  • expandboolean

    If true, returns associated commit data for each entry and security scanner metadata. Defaults to false if not specified.

  • namespacestringObligatorio

    Repository namespace (owner/organization name). Example: 'rajpurkar' for the rajpurkar/squad dataset.

  • recursiveboolean

    If true, returns the tree recursively including all subdirectories. Defaults to false if not specified.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Dataset Access RequestsHUGGING_FACE_LIST_DATASETS_USER_ACCESS_REQUESTAcción

Tool to list access requests for a gated Hugging Face dataset repository. Use when you need to view pending, accepted, or rejected access requests for datasets with restricted access.

Parámetros de entrada

  • repostringObligatorio

    The repository name of the gated dataset

  • afterstring

    Cursor for pagination - returns requests after this cursor

  • limitinteger

    Maximum number of access requests to return (default: 1000)

  • beforestring

    Cursor for pagination - returns requests before this cursor

  • statusstringObligatorioenum

    Filter access requests by status: pending, accepted, or rejected

    pendingacceptedrejected
  • namespacestringObligatorio

    The namespace or organization name that owns the dataset

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List DiscussionsHUGGING_FACE_LIST_DISCUSSIONSAcción

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.

Parámetros de entrada

  • pinteger

    Page number for pagination. Starts from 0 for the first page.

  • repostringObligatorio

    The repository name to list discussions from.

  • sortstringenum

    Sort type enum.

    recently-createdtrendingreactions
  • typestringenum

    Discussion type enum.

    alldiscussionpull_request
  • authorstring

    Filter discussions by author username.

  • searchstring

    Search query to filter discussions by title or content.

  • statusstringenum

    Discussion status enum.

    allopenclosed
  • namespacestringObligatorio

    The namespace (username or organization) that owns the repository.

  • repo_typestringObligatorioenum

    Type of repository to list discussions from: models, spaces, or datasets.

    modelsspacesdatasets

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Repository DiscussionsHUGGING_FACE_LIST_DISCUSSIONS2Acción

Tool to list discussions and pull requests for a Hugging Face repository. Use when you need to retrieve discussion threads, issues, or PRs with their titles, status, authors, and metadata.

Parámetros de entrada

  • repo_idstringObligatorio

    Repository ID in the format 'author/repo-name'. Example: 'google-bert/bert-base-uncased'.

  • repo_typestringObligatorioenum

    Repository type: models, datasets, or spaces. Determines which type of repository to query.

    modelsdatasetsspaces

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Available DocumentationHUGGING_FACE_LIST_DOCSAcción

Tool to retrieve the list of available documentation from Hugging Face. Use when you need to discover available documentation resources.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Inference EndpointsHUGGING_FACE_LIST_ENDPOINTSAcción

Tool to list Hugging Face Inference Endpoints for a specific user or organization. Use when you need to retrieve endpoints, optionally filtered by tags or name.

Parámetros de entrada

  • tagsstring

    Filter endpoints by tags (comma-separated). Use this to find endpoints with specific tags.

  • limitinteger

    Maximum number of endpoints to return per page. Defaults to 20 if not specified.

  • cursorstring

    Pagination cursor to fetch the next or previous page of results. Use the nextCursor or prevCursor from the previous response.

  • searchstring

    Filter endpoints by name substring. Use this to search for endpoints containing specific text in their name.

  • namespacestringObligatorio

    User or organization name to list endpoints for. This is the owner of the endpoints you want to retrieve.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List models on Hugging Face HubHUGGING_FACE_LIST_MODELSAcción

Tool to list models on the Hugging Face Hub with filtering options. Use when you need to search or discover models by author, tags, task type, or other criteria.

Parámetros de entrada

  • fullboolean

    Whether to fetch full model data including additional metadata. Set to true to get comprehensive model information, false for basic data only.

  • sortstringenum

    Sort property for model results.

    created_atlastModifiedtrendingScorelikesdownloads
  • limitinteger

    Maximum number of models to return in the response. Must be between 1 and 500. Default is typically 20 if not specified.

  • authorstring

    Filter models by a specific author or organization name.

  • configboolean

    Whether to also fetch the repository configuration data. Set to true to include model config details in the response.

  • filterstring

    Filter based on tags. You can specify multiple tags separated by commas. Common tags include task types (e.g., 'text-classification', 'text-generation'), frameworks (e.g., 'pytorch', 'tensorflow'), or datasets (e.g., 'squad', 'glue').

  • searchstring

    Filter based on substrings for repos and their usernames. Use to search for specific model names or authors.

  • directionstringenum

    Sort direction for model results.

    1-1

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Model CommitsHUGGING_FACE_LIST_MODELS_COMMITSAcción

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.

Parámetros de entrada

  • pinteger

    Page number for pagination. Starts from 0 for the first page.

  • revstringObligatorio

    The revision (branch, tag, or commit hash) to list commits from.

  • repostringObligatorio

    The repository name of the model.

  • limitinteger

    Maximum number of commits to return per page. Default is 50.

  • expandstring[]

    List of fields to expand in the response. Use 'formatted' to include formatted commit messages.

  • namespacestringObligatorio

    The namespace (username or organization) that owns the model.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Model Paths InfoHUGGING_FACE_LIST_MODELS_PATHS_INFOAcción

Tool to list detailed information about specific paths in a Hugging Face model repository. Use when you need to get metadata about files or directories in a model, including size, type, commit history, and security scan status.

Parámetros de entrada

  • revstringObligatorio

    Git revision (branch, tag, or commit hash) to query

  • repostringObligatorio

    Model repository name

  • pathsanyObligatorio

    List of paths to get information about, or a single path string. Paths are relative to the repository root.

  • expandanyObligatorio

    Whether to expand the response with last commit and security file status information. Can be a boolean or an object with expansion options.

  • namespacestringObligatorio

    Namespace (user or organization) that owns the model

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Model ReferencesHUGGING_FACE_LIST_MODELS_REFSAcción

Tool to list all references (branches, tags, converts, and optionally pull requests) in a Hugging Face model repository. Use when you need to retrieve version control information for a specific model.

Parámetros de entrada

  • repostringObligatorio

    Repository name within the namespace (e.g., 'bert-base-uncased')

  • namespacestringObligatorio

    Namespace or organization name (e.g., 'google-bert', 'facebook')

  • include_prsboolean

    Whether to include pull requests in the response. Defaults to false.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List model repository treeHUGGING_FACE_LIST_MODELS_TREEAcción

Tool to list the contents of a Hugging Face model repository tree at a specific revision and path, with pagination support. Use when you need to browse model files, explore repository structure, or navigate through model directories.

Parámetros de entrada

  • revstringObligatorio

    The Git revision or branch name to query (e.g., 'main', 'dev', or a commit SHA).

  • pathstring

    The path within the repository to list. Use empty string or '.' for root directory, or specify a subdirectory path (e.g., 'configs', 'models/encoder').

  • repostringObligatorio

    The repository name of the model (e.g., 'opt-125m', 'gpt-2').

  • limitinteger

    Maximum number of items to return. Default is 1000, or 100 when expand=true. Useful for pagination.

  • cursorstring

    Pagination cursor token for fetching the next page of results. Obtained from the response of a previous request.

  • expandboolean

    If true, returns associated commit data for each entry and security scanner metadata. Default is false.

  • namespacestringObligatorio

    The namespace or organization name that owns the model (e.g., 'facebook', 'openai').

  • recursiveboolean

    If true, returns the tree recursively, listing all nested files and directories. Default is false.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List NotificationsHUGGING_FACE_LIST_NOTIFICATIONSAcción

Tool to list notifications for the authenticated Hugging Face user. Use when you need to retrieve user notifications, optionally filtered by read status, repository type, author, or other criteria.

Parámetros de entrada

  • pinteger

    Page number for pagination. Defaults to 0.

  • mentionstringenum

    Enum for mention filter.

    allparticipatingmentions
  • paperIdstring

    Filter notifications by paper ID.

  • repoNamestring

    Filter notifications by repository name.

  • repoTypestringenum

    Enum for repository type filter.

    datasetmodelspacebucket
  • articleIdstring

    Filter notifications by article ID.

  • lastUpdatestring

    Filter notifications by last update timestamp.

  • postAuthorstring

    Filter notifications by the author of the post.

  • readStatusstringenum

    Enum for notification read status filter.

    allunread

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Repository CommitsHUGGING_FACE_LIST_REPO_COMMITSAcción

Tool to list commits for a Hugging Face repository. Use when you need to retrieve commit history including commit hashes, messages, authors, and timestamps for models, datasets, or spaces.

Parámetros de entrada

  • repo_idstringObligatorio

    Repository ID in the format 'namespace/repo-name' (e.g., 'google-bert/bert-base-uncased', 'openai/gpt-2'). The namespace is the user or organization name, and repo-name is the repository name.

  • revisionstringObligatorio

    Git revision to list commits from. Can be a branch name (e.g., 'main', 'master'), a tag (e.g., 'v1.0.0'), or a commit SHA. Use 'main' for the default branch.

  • repo_typestringObligatorioenum

    Type of repository: model, dataset, or space. Use 'model' for model repositories, 'dataset' for dataset repositories, and 'space' for space repositories.

    modeldatasetspace

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List repository filesHUGGING_FACE_LIST_REPO_FILESAcción

Tool to get the file tree of a Hugging Face repository with pagination support. Use when you need to browse files and folders in any repository type (model, dataset, or space), explore repository structure, or discover available files.

Parámetros de entrada

  • pathstring

    Path within the repository to list. Use empty string or '.' for root directory. Supports nested paths.

  • limitinteger

    Maximum number of items to return. Defaults to 1000, or 100 when expand=true. Use with cursor for pagination.

  • cursorstring

    Pagination cursor from a previous response to fetch the next page of results. Omit for the first page.

  • expandboolean

    If true, returns associated commit data for each entry and security scanner metadata. Defaults to false if not specified.

  • repo_idstringObligatorio

    Repository ID in the format author/repo-name. Example: 'google-bert/bert-base-uncased' for a model.

  • revisionstring

    Git revision (branch, tag, or commit SHA) to list. Use 'main' for default branch.

  • recursiveboolean

    If true, returns the tree recursively including all subdirectories. Defaults to false if not specified.

  • repo_typestringObligatorioenum

    Repository type: model, dataset, or space.

    modeldatasetspace

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List WebhooksHUGGING_FACE_LIST_SETTINGS_WEBHOOKSAcción

Tool to list all webhooks configured in Hugging Face settings. Use when you need to retrieve webhook configurations for the authenticated user's account.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Spaces on Hugging Face HubHUGGING_FACE_LIST_SPACESAcción

Tool to list Spaces on the Hugging Face Hub with filtering options. Use when you need to discover or search for ML demo applications hosted on Hugging Face.

Parámetros de entrada

  • sortstring

    Property to use when sorting results. Common values include 'lastModified', 'likes', 'trending', or 'created'.

  • limitinteger

    Maximum number of spaces to return in the response. Must be between 1 and 500.

  • authorstring

    Filter spaces by a specific author or organization name.

  • filterstring

    Filter based on tags. You can specify tags to find spaces by SDK type (e.g., 'gradio', 'streamlit'), task type, or other characteristics.

  • searchstring

    Filter based on substrings for repos and their usernames. Use to search for specific space names or authors.

  • directionstring

    Direction in which to sort results. Use '1' for ascending order or '-1' for descending order. Must be used together with the sort parameter.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Space CommitsHUGGING_FACE_LIST_SPACES_COMMITSAcción

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.

Parámetros de entrada

  • pinteger

    Page number for pagination. Starts from 0 for the first page.

  • revstringObligatorio

    The revision (branch, tag, or commit hash) to list commits from.

  • repostringObligatorio

    The repository name of the Space.

  • limitinteger

    Maximum number of commits to return per page. Default is 50.

  • expandstring[]

    List of fields to expand in the response. Use 'formatted' to include formatted commit messages.

  • namespacestringObligatorio

    The namespace (username or organization) that owns the Space.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Available Space HardwareHUGGING_FACE_LIST_SPACES_HARDWAREAcción

Tool to retrieve available hardware configurations for Hugging Face Spaces with their specifications and pricing. Use when you need to discover compute options for running spaces.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Space LFS FilesHUGGING_FACE_LIST_SPACES_LFS_FILESAcción

Tool to list LFS (Large File Storage) files from a Hugging Face Space repository. Use when you need to retrieve large files stored in a Space using Git LFS.

Parámetros de entrada

  • xetstring

    Filter for Xet-specific files. Used for Xet-enabled repositories.

  • repostringObligatorio

    The repository name of the Space.

  • limitinteger

    Maximum number of LFS files to return. Default is 1000.

  • cursorstring

    Cursor for pagination. Use the cursor returned from a previous request to fetch the next page of results.

  • namespacestringObligatorio

    The namespace (username or organization) that owns the Space.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Space Paths InfoHUGGING_FACE_LIST_SPACES_PATHS_INFOAcción

Tool to list detailed information about specific paths in a Hugging Face space repository. Use when you need to get metadata about files or directories in a space, including size, type, commit history, and security scan status.

Parámetros de entrada

  • revstringObligatorio

    Git revision (branch, tag, or commit hash) to query

  • repostringObligatorio

    Space repository name

  • pathsanyObligatorio

    List of paths to get information about, or a single path string. Paths are relative to the repository root.

  • expandanyObligatorio

    Whether to expand the response with last commit and security file status information. Can be a boolean or an object with expansion options.

  • namespacestringObligatorio

    Namespace (user or organization) that owns the space

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Space ReferencesHUGGING_FACE_LIST_SPACES_REFSAcción

Tool to list all references (branches, tags, converts, pull requests) in a Hugging Face space repository. Use when you need to retrieve available references for a specific space.

Parámetros de entrada

  • repostringObligatorio

    The repository name of the space.

  • namespacestringObligatorio

    The namespace (organization or user) that owns the space.

  • include_prsboolean

    Whether to include pull requests in the response. Set to true to include pull requests.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List spaces treeHUGGING_FACE_LIST_SPACES_TREEAcción

Tool to list the content of a Hugging Face space repository tree with pagination support. Use when you need to browse or explore files and directories in a space repository, or to discover what files are available in a space.

Parámetros de entrada

  • revstring

    Git revision (branch, tag, or commit SHA) to list. Defaults to 'main' branch.

  • pathstring

    Path within the repository to list. Use empty string or '.' for root directory. Supports nested paths like 'data/train'.

  • repostringObligatorio

    Repository name without the namespace. Example: 'calculator' for the gradio/calculator space.

  • limitinteger

    Maximum number of items to return. Defaults to 1000, or 100 when expand=true. Use with cursor for pagination.

  • cursorstring

    Pagination cursor from a previous response to fetch the next page of results. Omit for the first page.

  • expandboolean

    If true, returns associated commit data for each entry and security scanner metadata. Defaults to false if not specified.

  • namespacestringObligatorio

    Repository namespace (owner/organization name). Example: 'gradio' for the gradio/calculator space.

  • recursiveboolean

    If true, returns the tree recursively including all subdirectories. Defaults to false if not specified.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Cloud Provider VendorsHUGGING_FACE_LIST_VENDORSAcción

Tool to list available cloud provider vendors for Hugging Face Inference Endpoints. Use when you need to discover available infrastructure options across AWS, Azure, and GCP. Returns vendors with their regions and compute instance types for deploying models.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search datasetHUGGING_FACE_SEARCH_DATASETAcción

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. Use when you need to find specific text or patterns within a dataset's content. Returns matching rows with their data.

Parámetros de entrada

  • querystringObligatorio

    Text to search for in the dataset. Searches in all columns of type string, even if values are nested in a dictionary.

  • splitstringObligatorio

    Name of the dataset split to search.

  • configstringObligatorio

    Name of the configuration/subset of the dataset to search.

  • lengthinteger

    Length of the slice (number of rows to return). Maximum value is 100. Defaults to API default if not specified.

  • offsetinteger

    Offset of the slice for pagination. Specifies the starting position in the results. Defaults to 0 if not specified.

  • datasetstringObligatorio

    Name of the dataset to search. Use format 'owner/dataset-name' for user datasets or just 'dataset-name' for official datasets.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search DocumentationHUGGING_FACE_SEARCH_DOCSAcción

Tool to search Hugging Face documentation across all products and libraries. Use when you need to find information about HF tools, models, datasets, or API usage.

Parámetros de entrada

  • qstringObligatorio

    Search query string to find relevant documentation pages. Use keywords related to the topic you want to learn about.

  • limitinteger

    Maximum number of search results to return. Defaults to 10.

  • productstringenum

    Enum for Hugging Face product types to search documentation.

    hubtransformersdiffusersdatasetsgradiotrackiosmolagentshuggingface_hubhuggingface.jstransformers.jsinference-providersinference-endpoints+45

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search PapersHUGGING_FACE_SEARCH_PAPERSAcción

Tool to perform hybrid semantic/full-text search on papers in Hugging Face. Use when you need to find research papers by keywords, topics, or authors.

Parámetros de entrada

  • qstring

    Search query string to find relevant papers. Use keywords, paper titles, or topics. Supports hybrid semantic and full-text search.

  • limitinteger

    Maximum number of papers to return. If not specified, the API will use its default limit.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Squash Dataset CommitsHUGGING_FACE_SQUASH_DATASET_COMMITSAcción

Tool to squash all commits in a dataset ref into a single commit with the given message. Use when consolidating commit history into a single commit. WARNING: This operation is irreversible.

Parámetros de entrada

  • revstringObligatorio

    The ref (branch or revision) to squash. This operation is irreversible and will squash all commits in this ref into a single commit.

  • repostringObligatorio

    The name of the dataset repository to squash commits in.

  • messagestring

    The commit message for the squashed commit. Maximum length is 500 characters.

  • namespacestringObligatorio

    The namespace (organization or user) that owns the dataset.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Squash Spaces CommitsHUGGING_FACE_SQUASH_SPACES_COMMITSAcción

Tool to squash all commits in a space ref into a single commit with the given message. Use when consolidating commit history into a single commit. WARNING: This operation is irreversible.

Parámetros de entrada

  • revstringObligatorio

    The ref (branch or revision) to squash. This operation is irreversible and will squash all commits in this ref into a single commit. Typically 'main' or a branch name.

  • repostringObligatorio

    The name of the space repository where commits will be squashed. For example, for space '121tester/test-curl-space', the repo is 'test-curl-space'.

  • messagestring

    The commit message for the squashed commit. Maximum length is 500 characters. If not provided, a default message will be used.

  • namespacestringObligatorio

    The namespace (username or organization) that owns the space repository. For example, for space '121tester/test-curl-space', the namespace is '121tester'.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Dataset SettingsHUGGING_FACE_UPDATE_DATASETS_SETTINGSAcción

Tool to update settings for a Hugging Face dataset repository. Use when you need to configure visibility, discussions, gating, or access control for a dataset.

Parámetros de entrada

  • repostringObligatorio

    The name of the dataset repository

  • gatedany

    Gating configuration for the dataset. Controls access restrictions and gating behavior. Can be a boolean to enable/disable gating, or an object with gating configuration

  • privateboolean

    Whether the dataset is private. Set to true to make private, false to make public

  • namespacestringObligatorio

    The namespace (organization or username) that owns the dataset

  • discussions_sortingstringenum

    Enum for discussion sorting options.

    recently-createdtrendingreactions
  • discussions_disabledboolean

    Whether discussions are disabled for this dataset. Set to true to disable discussions, false to enable them

  • gated_notifications_modestringenum

    Enum for gated notification modes.

    bulkreal-time
  • gated_notifications_emailstring

    Email address to receive notifications about gated access requests. Must be a valid email format

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Discussion TitleHUGGING_FACE_UPDATE_DISCUSSIONS_TITLEAcción

Tool to change the title of an existing discussion on a Hugging Face repository (model, dataset, or Space). Use when you need to update or correct a discussion's title.

Parámetros de entrada

  • numstringObligatorio

    The discussion number/identifier to update the title for.

  • repostringObligatorio

    The name of the repository where the discussion is located.

  • titlestringObligatorio

    The new title for the discussion. Must be between 3 and 200 characters.

  • namespacestringObligatorio

    The namespace (username or organization) that owns the repository.

  • repo_typestringObligatorioenum

    The type of repository: models, spaces, or datasets. This determines where the discussion is located.

    modelsspacesdatasets

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Model Repository SettingsHUGGING_FACE_UPDATE_MODELS_SETTINGSAcción

Tool to update settings for a Hugging Face model repository. Use when you need to modify repository configuration such as privacy, discussions, or gated access settings.

Parámetros de entrada

  • repostringObligatorio

    The name of the model repository to update settings for.

  • privateboolean

    Whether the model repository should be private (requires authentication to access) or public.

  • namespacestringObligatorio

    The namespace (username or organization) that owns the model repository.

  • discussionsSortingstringenum

    Sorting order for discussions.

    recently-createdtrendingreactions
  • discussionsDisabledboolean

    Whether to disable discussions for this model repository. Set to true to disable, false to enable.

  • gatedNotificationsModestringenum

    Notification mode for gated access requests.

    bulkreal-time
  • gatedNotificationsEmailstring

    Email address to receive notifications about gated access requests. Must be a valid email format.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Notification SettingsHUGGING_FACE_UPDATE_SETTINGS_NOTIFICATIONSAcción

Tool to update notification settings for the authenticated Hugging Face user. Use when you need to enable or disable various notification types such as announcements, discussions, paper digests, or product updates.

Parámetros de entrada

  • notificationsobjectObligatorio

    Notification settings to update. Only include the specific notification preferences you want to change.

  • prepaidAmountstring

    Prepaid amount to be provided when enabling launch_prepaid_credits notification. Maximum length is 24 characters.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Watch SettingsHUGGING_FACE_UPDATE_SETTINGS_WATCHAcción

Tool to update watch settings for your Hugging Face account. Use when you want to get notified about discussions on organizations, users, or repositories. You can add new items to watch and/or remove items from your watch list in a single request.

Parámetros de entrada

  • addobject[]

    Array of items to start watching. Each item must specify an 'id' and 'type'. You will receive notifications when discussions happen on these items. Leave empty if you only want to remove items from watch list.

  • deleteobject[]

    Array of items to stop watching. Each item must specify an 'id' and 'type'. You will no longer receive notifications for discussions on these items. Leave empty if you only want to add items to watch list.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update WebhookHUGGING_FACE_UPDATE_SETTINGS_WEBHOOKSAcción

Tool to update an existing webhook in Hugging Face settings. Use when you need to modify webhook configuration such as watched entities, event domains, target URL, or job settings.

Parámetros de entrada

  • jobobject

    Model for webhook job configuration to execute when webhook triggers.

  • urlstring

    URL endpoint where webhook POST requests will be sent when events occur. Must be a valid HTTP/HTTPS URL.

  • secretstring

    Secret string used to sign webhook requests for verification. Must contain only printable ASCII characters.

  • domainsstring[]Obligatorio

    List of event domains that trigger the webhook. At least one domain is required. 'repo' for repository events, 'discussion' for discussion events.

  • watchedobject[]Obligatorio

    List of entities to watch (users, organizations, or repositories). At least one item is required. Events from these entities will trigger the webhook.

  • webhookIdstringObligatorio

    The unique identifier of the webhook to update (24-character hexadecimal string). Get this from the list webhooks action.

  • jobSourceIdstring

    Source identifier for the job. Used to track the origin of the job execution.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Spaces Repository SettingsHUGGING_FACE_UPDATE_SPACES_SETTINGSAcción

Tool to update settings for a Hugging Face Spaces repository. Use when you need to modify repository configuration such as privacy, discussions, or gated access settings.

Parámetros de entrada

  • repostringObligatorio

    The name of the Spaces repository to update settings for.

  • gatedany

    Gating configuration for the Spaces repository. Controls access restrictions and gating behavior. Can be a boolean to enable/disable gating, or an object with gating configuration.

  • privateboolean

    Whether the Spaces repository should be private (requires authentication to access) or public.

  • namespacestringObligatorio

    The namespace (username or organization) that owns the Spaces repository.

  • discussionsSortingstringenum

    Sorting order for discussions.

    recently-createdtrendingreactions
  • discussionsDisabledboolean

    Whether to disable discussions for this Spaces repository. Set to true to disable, false to enable.

  • gatedNotificationsModestringenum

    Notification mode for gated access requests.

    bulkreal-time
  • gatedNotificationsEmailstring

    Email address to receive notifications about gated access requests. Must be a valid email format.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update SQL Console EmbedHUGGING_FACE_UPDATE_SQL_CONSOLE_EMBEDAcción

Tool to update an existing SQL console embed for a Hugging Face dataset. Use when you need to modify the SQL query, title, or privacy settings of an existing embed.

Parámetros de entrada

  • idstringObligatorio

    The slug identifier of the SQL console embed to update (not the _id). This is returned as 'slug' when creating an embed

  • sqlstring

    The SQL query string to execute in the console embed

  • repostringObligatorio

    The name of the dataset repository

  • titlestring

    The title of the SQL console embed. Maximum 200 characters

  • privateboolean

    Whether the SQL console embed is private. Set to true to make it private, false to make it public

  • namespacestringObligatorio

    The namespace (username or organization) that owns the dataset repository

  • repo_typestringObligatorioenum

    The type of repository. Currently only 'datasets' is supported

    datasets

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Enable or Disable WebhookHUGGING_FACE_UPDATE_WEBHOOK_STATUSAcción

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 previously disabled webhook.

Parámetros de entrada

  • actionstringObligatorioenum

    The action to perform on the webhook: 'enable' to activate the webhook or 'disable' to deactivate it.

    enabledisable
  • webhookIdstringObligatorio

    The unique identifier of the webhook to enable or disable. Must be a 24-character hexadecimal string.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not