Hugging Face
hugging_faceBuild, train and deploy state of the art models powered by the reference open source in machine learning.
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ónTool to change the status of a Hugging Face repository discussion. Use when you need to open or close discussions on models, datasets, or spaces.
HUGGING_FACE_CHANGE_DISCUSSIONS_STATUSAcciónTool 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
numstringObligatorioThe discussion number or ID to change the status of. This is the numeric identifier of the discussion thread.
repostringObligatorioThe repository name where the discussion exists. For example, 'bert-base-uncased' or 'my-dataset'.
statusstringObligatorioenumThe new status to set for the discussion. Use 'open' to reopen a closed discussion or 'closed' to close an open discussion.
openclosedcommentstringOptional comment to add when changing the status. Useful for explaining why the discussion is being closed or reopened.
namespacestringObligatorioThe namespace (username or organization) that owns the repository. For example, 'google-bert' or 'huggingface'.
repo_typestringObligatorioenumThe type of repository where the discussion exists. Must be one of: models, spaces, or datasets.
modelsspacesdatasets
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Check Dataset ValidityHUGGING_FACE_CHECK_DATASET_VALIDITYAcciónTool 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.
HUGGING_FACE_CHECK_DATASET_VALIDITYAcciónTool 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
datasetstringObligatorioName of the dataset to check validity for. Format: 'namespace/repo-name' (e.g., 'rajpurkar/squad', 'huggingface/cifar10').
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Check Models Upload MethodHUGGING_FACE_CHECK_MODELS_UPLOAD_METHODAcciónTool 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.
HUGGING_FACE_CHECK_MODELS_UPLOAD_METHODAcciónTool 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
revstringObligatorioThe git revision (branch, tag, or commit hash) to upload to.
repostringObligatorioThe name of the model repository.
filesobject[]ObligatorioList of files to check for upload method. Maximum 1000 files.
gitIgnorestringContent of the .gitignore file for the revision. Optional, otherwise uses existing .gitignore content.
namespacestringObligatorioThe namespace (user or organization) that owns the model repository.
gitAttributesstringContent 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
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Check Spaces Upload MethodHUGGING_FACE_CHECK_SPACES_UPLOAD_METHODAcciónTool 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.
HUGGING_FACE_CHECK_SPACES_UPLOAD_METHODAcciónTool 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
revstringObligatorioThe git revision (branch, tag, or commit hash) to upload to.
repostringObligatorioThe name of the Space repository.
filesobject[]ObligatorioList of files to check for upload method. Maximum 1000 files.
gitIgnorestringContent of the .gitignore file for the revision. Optional, otherwise uses existing .gitignore content.
namespacestringObligatorioThe namespace (user or organization) that owns the Space repository.
gitAttributesstringContent 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
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Claim Paper AuthorshipHUGGING_FACE_CLAIM_SETTINGS_PAPERS_CLAIMAcciónTool to claim authorship of a paper on Hugging Face. Use when you need to associate yourself or another user with an ArXiv paper.
HUGGING_FACE_CLAIM_SETTINGS_PAPERS_CLAIMAcciónTool 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_idstringObligatorioArXiv paper identifier being claimed. This should be the ArXiv ID of the paper you want to claim authorship for.
target_user_idstringHF 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_idstringAuthor 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
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Request Repository AccessHUGGING_FACE_CREATE_ASK_ACCESSAcciónTool 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.
HUGGING_FACE_CREATE_ASK_ACCESSAcciónTool 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
repostringObligatorioThe repository name of the gated model, dataset, or Space.
namespacestringObligatorioThe namespace (organization or user) that owns the gated repository.
repo_typestringenumThe type of repository (models, datasets, or spaces). Defaults to models.
modelsdatasetsspacesaccess_request_fieldsobjectObligatorioA 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
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create CollectionHUGGING_FACE_CREATE_COLLECTIONAcciónTool 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.
HUGGING_FACE_CREATE_COLLECTIONAcciónTool 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
itemobjectItem to be added to the collection upon creation.
titlestringObligatorioThe title of the collection. Must be between 1 and 60 characters.
privatebooleanIf not provided, the collection will be public. This field will respect the organization's visibility setting.
namespacestringObligatorioThe namespace (username or organization) under which to create the collection
descriptionstringOptional description for the collection. Maximum 150 characters.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Datasets BranchHUGGING_FACE_CREATE_DATASETS_BRANCHAcciónTool 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.
HUGGING_FACE_CREATE_DATASETS_BRANCHAcciónTool 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
revstringObligatorioThe name of the new branch to create.
repostringObligatorioThe name of the dataset repository without the namespace prefix.
namespacestringObligatorioThe namespace (username or organization) that owns the dataset repository.
overwritebooleanOverwrite the branch if it already exists. Defaults to false.
emptyBranchbooleanCreate an empty branch without any files. Defaults to false.
startingPointstringThe commit hash, tag, or branch name to start the new branch from. Defaults to 'main' if not specified.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Datasets CommitHUGGING_FACE_CREATE_DATASETS_COMMITAcciónTool 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.
HUGGING_FACE_CREATE_DATASETS_COMMITAcciónTool 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
revstringObligatorioRevision (branch name, tag, or commit SHA) to commit to
repostringObligatorioName 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.
summarystringObligatorioSummary of the commit (required). This is the commit message title.
create_prstringWhether 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
namespacestringObligatorioNamespace (username or organization) that owns the dataset repository
hot_reloadstringFor Spaces, whether to try to hot reload the commit (only for single Python file updates). Set to '1' or 'true' to enable.
descriptionstringDetailed description of the commit (optional). Defaults to empty string.
parent_commitstringParent 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
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Check Dataset File Upload MethodHUGGING_FACE_CREATE_DATASETS_PREUPLOADAcciónTool 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.
HUGGING_FACE_CREATE_DATASETS_PREUPLOADAcciónTool 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
revstringObligatorioRevision (branch or commit) to check preupload for. Typically 'main' for the default branch
repostringObligatorioName of the dataset repository
filesobject[]ObligatorioList of files to check for upload method. Maximum 1000 files per request
gitIgnorestringContent of .gitignore file for the revision. Optional; uses existing .gitignore if not provided
namespacestringObligatorioNamespace (username or organization) that owns the dataset repository
gitAttributesstringContent 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
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Datasets TagHUGGING_FACE_CREATE_DATASETS_TAGAcciónTool to create a tag on a Hugging Face dataset repository. Use when you need to mark a specific revision with a named tag.
HUGGING_FACE_CREATE_DATASETS_TAGAcciónTool 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
revstringObligatorioThe revision (branch or commit SHA) to create the tag from, typically 'main'.
tagstringObligatorioThe name of the tag to create (e.g., 'v1.0', 'release-2024').
repostringObligatorioThe name of the dataset repository to create a tag for.
messagestringOptional message describing the purpose of this tag.
namespacestringObligatorioThe namespace (username or organization) that owns the dataset.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create DiscussionHUGGING_FACE_CREATE_DISCUSSIONSAcciónTool 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.
HUGGING_FACE_CREATE_DISCUSSIONSAcciónTool 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
repostringObligatorioThe name of the repository where the discussion will be created.
titlestringObligatorioThe title of the discussion. Must be between 3 and 200 characters.
namespacestringObligatorioThe namespace (username or organization) that owns the repository.
repo_typestringObligatorioenumThe type of repository: models, spaces, or datasets. This determines where the discussion will be created.
modelsspacesdatasetsdescriptionstringObligatorioThe description/content of the discussion. Can contain markdown formatting. Maximum 65536 characters.
pull_requestbooleanWhether this discussion should be created as a pull request. If true, creates a PR instead of a regular discussion.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Discussion CommentHUGGING_FACE_CREATE_DISCUSSIONS_COMMENTAcciónTool 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.
HUGGING_FACE_CREATE_DISCUSSIONS_COMMENTAcciónTool 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
numstringObligatorioThe discussion number or ID to comment on. This is the numeric identifier of the discussion thread.
repostringObligatorioThe repository name where the discussion exists. For example, 'gpt2' or 'my-dataset'.
commentstringObligatorioThe comment text to post on the discussion. Must be between 1 and 65536 characters.
namespacestringObligatorioThe namespace (username or organization) that owns the repository. For example, 'openai-community' or 'huggingface'.
repo_typestringObligatorioenumThe type of repository where the discussion exists. Must be one of: models, spaces, or datasets.
modelsspacesdatasets
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Pin discussionHUGGING_FACE_CREATE_DISCUSSIONS_PINAcciónTool 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.
HUGGING_FACE_CREATE_DISCUSSIONS_PINAcciónTool 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
numstringObligatorioThe discussion number/identifier to pin or unpin. This is the numeric ID shown in the discussion URL.
repostringObligatorioThe name of the repository containing the discussion. For example, for 'meta-llama/Llama-2-7b', the repo is 'Llama-2-7b'.
pinnedbooleanObligatorioWhether to pin (true) or unpin (false) the discussion. Pinned discussions appear at the top of the discussions list.
namespacestringObligatorioThe namespace (username or organization) that owns the repository. For example, for 'meta-llama/Llama-2-7b', the namespace is 'meta-llama'.
repo_typestringObligatorioenumThe type of repository: models, spaces, or datasets. This determines which repository type contains the discussion.
modelsspacesdatasets
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create models branchHUGGING_FACE_CREATE_MODELS_BRANCHAcciónTool 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.
HUGGING_FACE_CREATE_MODELS_BRANCHAcciónTool 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
revstringObligatorioThe name for the new branch to be created (e.g., 'feature-branch', 'experiment-v2'). This will be the branch name in the repository.
repostringObligatorioThe 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'.
namespacestringObligatorioThe namespace (username or organization) that owns the model repository. For example, for model 'meta-llama/Llama-2-7b', the namespace is 'meta-llama'.
overwritebooleanOverwrite the branch if it already exists. If False (default), creating a branch that already exists will result in an error.
empty_branchbooleanCreate an empty branch without any files. If True, startingPoint is not required. If False (default), startingPoint should be provided.
starting_pointstringThe 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
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Models CommitHUGGING_FACE_CREATE_MODELS_COMMITAcciónTool 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.
HUGGING_FACE_CREATE_MODELS_COMMITAcciónTool 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
revstringObligatorioThe git revision (branch, tag, or commit SHA) to commit to
repostringObligatorioThe name of the model repository to commit to
filesobject[]List of files to add or update in the commit
summarystringObligatorioSummary message for the commit. This is a required field that describes the commit
create_prstringWhether 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
namespacestringObligatorioThe namespace (user or organization) that owns the model repository
hot_reloadstringFor Spaces, whether to try to hot reload the commit (only for single python files updates). Typically '1' or 'true' to enable hot reload
descriptionstringOptional detailed description for the commit. Defaults to empty string if not provided
content_typestringenumContent type for the request. Use application/x-ndjson (recommended) for JSON-lines format or application/json for standard JSON
application/jsonapplication/x-ndjsonparent_commitstringOptional 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
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Models TagHUGGING_FACE_CREATE_MODELS_TAGAcciónTool to create a tag on a Hugging Face model repository. Use when you need to mark a specific revision with a named tag.
HUGGING_FACE_CREATE_MODELS_TAGAcciónTool 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
revstringObligatorioThe revision (branch or commit SHA) to create the tag from, typically 'main'.
tagstringObligatorioThe name of the tag to create (e.g., 'v1.0', 'release-2024').
repostringObligatorioThe name of the model repository to create a tag for.
messagestringOptional message describing the purpose of this tag.
namespacestringObligatorioThe namespace (username or organization) that owns the model.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Paper CommentHUGGING_FACE_CREATE_PAPERS_COMMENTAcciónTool 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.
HUGGING_FACE_CREATE_PAPERS_COMMENTAcciónTool 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
commentstringObligatorioThe comment text to post on the paper. Must be between 1 and 65536 characters.
paper_idstringObligatorioThe 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
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Papers Comment ReplyHUGGING_FACE_CREATE_PAPERS_COMMENT_REPLYAcciónTool 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.
HUGGING_FACE_CREATE_PAPERS_COMMENT_REPLYAcciónTool 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
commentstringObligatorioThe content of the reply comment.
paper_idstringObligatorioThe unique identifier of the paper (e.g., '2312.09323').
comment_idstringObligatorioThe unique identifier of the comment to reply to (e.g., '65844ff1ee15e3c7fc034c97').
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Papers IndexHUGGING_FACE_CREATE_PAPERS_INDEXAcciónTool 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.
HUGGING_FACE_CREATE_PAPERS_INDEXAcciónTool 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_idstringObligatorioThe 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
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create RepositoryHUGGING_FACE_CREATE_REPOAcciónTool 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.
HUGGING_FACE_CREATE_REPOAcciónTool 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
sdkstringenumSDK options for Spaces.
gradiostreamlitdockerstaticnamestringObligatorioThe name of the repository to create. This will be the repository identifier within the namespace.
typestringenumThe type of repository to create: model, dataset, or space. Defaults to 'model' if not specified.
modeldatasetspaceprivatebooleanWhether the repository should be private. If not specified, follows the default visibility setting for your account or organization.
organizationstringThe organization namespace to create the repository under. If not provided, the repository will be created under your personal namespace.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create spaces branchHUGGING_FACE_CREATE_SPACES_BRANCHAcciónTool 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.
HUGGING_FACE_CREATE_SPACES_BRANCHAcciónTool 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
revstringObligatorioThe name for the new branch to be created (e.g., 'feature-branch', 'experiment-v2'). This will be the branch name in the repository.
repostringObligatorioThe name of the space repository where the branch will be created. For example, for space 'huggingface/my-space', the repo is 'my-space'.
namespacestringObligatorioThe namespace (username or organization) that owns the space repository. For example, for space 'huggingface/my-space', the namespace is 'huggingface'.
overwritebooleanOverwrite the branch if it already exists. If False (default), creating a branch that already exists will result in an error.
empty_branchbooleanCreate an empty branch without any files. If True, startingPoint is not required. If False (default), startingPoint should be provided.
starting_pointstringThe 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
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Spaces CommitHUGGING_FACE_CREATE_SPACES_COMMITAcciónTool 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.
HUGGING_FACE_CREATE_SPACES_COMMITAcciónTool 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
revstringObligatorioThe revision (branch or commit) to commit to. Typically 'main' for the default branch
repostringObligatorioThe 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
summarystringObligatorioSummary of the commit (required). This is the commit message title
createPrstringWhether 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
hotReloadstringFor Spaces, whether to try to hot reload the commit (only works for single Python file updates). Set to 'true' to enable hot reload
namespacestringObligatorioThe namespace (username or organization) that owns the Space. For example, for Space 'user/my-space', the namespace is 'user'
contentTypestringenumContent type for the commit request.
application/jsonapplication/x-ndjsondescriptionstringDetailed description of the commit (optional, defaults to empty string). This is the commit message body
parentCommitstringThe 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
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create or update Space secretHUGGING_FACE_CREATE_SPACES_SECRETSAcciónTool 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.
HUGGING_FACE_CREATE_SPACES_SECRETSAcciónTool 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
keystringObligatorioThe 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'.
repostringObligatorioThe 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'.
valuestringThe value of the secret. This will be stored securely and not visible after creation. Defaults to empty string if not provided.
namespacestringObligatorioThe namespace (username or organization) that owns the Space. For example, for Space 'huggingface/my-space', the namespace is 'huggingface'.
descriptionstringOptional description of the secret to help identify its purpose. For example: 'API key for external service', 'Database connection string'.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Spaces TagHUGGING_FACE_CREATE_SPACES_TAGAcciónTool to create a tag on a Hugging Face space repository. Use when you need to mark a specific revision with a named tag.
HUGGING_FACE_CREATE_SPACES_TAGAcciónTool 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
revstringObligatorioThe revision (branch or commit SHA) to create the tag from, typically 'main'.
tagstringObligatorioThe name of the tag to create (e.g., 'v1.0', 'release-2024').
repostringObligatorioThe name of the space repository to create a tag for.
messagestringOptional message describing the purpose of this tag.
namespacestringObligatorioThe namespace (username or organization) that owns the space.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create or update Space variableHUGGING_FACE_CREATE_SPACES_VARIABLESAcciónTool 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.
HUGGING_FACE_CREATE_SPACES_VARIABLESAcciónTool 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
keystringObligatorioThe 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'.
repostringObligatorioThe 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'.
valuestringThe value of the variable. This will be stored and can be accessed by the Space. Defaults to empty string if not provided.
namespacestringObligatorioThe namespace (username or organization) that owns the Space. For example, for Space 'huggingface/my-space', the namespace is 'huggingface'.
descriptionstringOptional description of the variable to help identify its purpose. For example: 'Environment mode setting', 'Debug flag for development'.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create SQL Console EmbedHUGGING_FACE_CREATE_SQL_CONSOLE_EMBEDAcciónTool 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).
HUGGING_FACE_CREATE_SQL_CONSOLE_EMBEDAcciónTool 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
sqlstringObligatorioThe SQL query to be embedded in the console. This is the query users will see and can execute.
repostringObligatorioThe name of the dataset repository without the namespace prefix.
titlestringObligatorioTitle for the SQL console embed. Maximum 200 characters.
viewsobject[]ObligatorioList of available views (splits) in the dataset that can be queried. Must contain at least one view.
privatebooleanWhether the SQL console embed should be private. If true, only authorized users can access it.
repoTypestringenumThe type of repository. Currently only 'datasets' is supported.
datasetsnamespacestringObligatorioThe namespace (username or organization) that owns the dataset repository.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create WebhookHUGGING_FACE_CREATE_WEBHOOKAcciónTool 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.
HUGGING_FACE_CREATE_WEBHOOKAcciónTool 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
urlstringObligatorioThe webhook URL endpoint that will receive POST requests when events occur. Must be a valid HTTP/HTTPS URL.
secretstringOptional secret string used to sign webhook payloads for verification. Must contain only printable ASCII characters (spaces and characters from 0x20 to 0x7F).
domainsstring[]ObligatorioList of event domains to monitor. At least one domain must be specified. Use 'repo' for repository events or 'discussion' for discussion events.
watchedobject[]ObligatorioList of repositories to watch for changes. At least one repository must be specified. Events from these repositories will trigger webhook calls.
job_source_idstringOptional job source identifier for associating the webhook with a specific job source.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete dataset branchHUGGING_FACE_DELETE_DATASETS_BRANCHAcciónTool 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.
HUGGING_FACE_DELETE_DATASETS_BRANCHAcciónTool 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
revstringObligatorioThe 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).
repostringObligatorioThe name of the dataset repository from which to delete the branch. This is the repository identifier without the namespace.
namespacestringObligatorioThe namespace (user or organization) that owns the dataset. For example, '121tester' for a user or 'huggingface' for an organization.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Dataset TagHUGGING_FACE_DELETE_DATASETS_TAGAcciónTool to delete a tag from a Hugging Face dataset. Use when you need to remove a specific tag revision from a dataset repository.
HUGGING_FACE_DELETE_DATASETS_TAGAcciónTool 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
revstringObligatorioThe tag revision to delete from the dataset.
repostringObligatorioThe repository name of the dataset.
namespacestringObligatorioThe namespace (organization or user) that owns the dataset.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete discussionHUGGING_FACE_DELETE_DISCUSSIONSAcciónTool 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.
HUGGING_FACE_DELETE_DISCUSSIONSAcciónTool 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
numstringObligatorioThe discussion number to delete. This is the unique identifier of the discussion within the repository.
repostringObligatorioThe name of the repository containing the discussion to delete. This is the repository identifier without the namespace.
namespacestringObligatorioThe namespace (user or organization) that owns the repository. For example, '121tester' for a user or 'huggingface' for an organization.
repo_typestringObligatorioenumThe type of repository where the discussion exists. Must be one of: models, spaces, or datasets.
modelsspacesdatasets
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete network CIDR listHUGGING_FACE_DELETE_NETWORK_CIDR_LISTAcciónTool 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.
HUGGING_FACE_DELETE_NETWORK_CIDR_LISTAcciónTool 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_idstringObligatorioThe unique identifier of the CIDR to delete. This is a hexadecimal ID that was returned when the CIDR was created.
namespacestringObligatorioThe 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
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete notificationsHUGGING_FACE_DELETE_NOTIFICATIONSAcciónTool 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).
HUGGING_FACE_DELETE_NOTIFICATIONSAcciónTool 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
pintegerPage number for pagination when filtering notifications. Defaults to 0 (first page).
mentionstringenumEnum for mention filter.
allparticipatingmentionspaper_idstringFilter notifications by paper ID. Use this to delete notifications related to a specific paper. Only applies when applyToAll is true.
repo_namestringFilter 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_typestringenumEnum for repository type filter.
datasetmodelspacebucketarticle_idstringFilter notifications by article ID. Use this to delete notifications related to a specific article. Only applies when applyToAll is true.
last_updatestringFilter notifications by last update timestamp. Use this to delete notifications updated before or after a specific time. Only applies when applyToAll is true.
post_authorstringFilter notifications by the username of the post author. Use this to delete notifications from a specific user. Only applies when applyToAll is true.
read_statusstringenumEnum for read status filter.
allunreadapply_to_allbooleanWhen 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
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Settings WebhookHUGGING_FACE_DELETE_SETTINGS_WEBHOOKSAcciónTool to delete a webhook from Hugging Face settings. Use when you need to remove a webhook configuration that is no longer needed.
HUGGING_FACE_DELETE_SETTINGS_WEBHOOKSAcciónTool 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
webhookIdstringObligatorioThe unique identifier of the webhook to delete. Must be a 24-character hexadecimal string.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete space branchHUGGING_FACE_DELETE_SPACES_BRANCHAcciónTool 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.
HUGGING_FACE_DELETE_SPACES_BRANCHAcciónTool 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
revstringObligatorioThe name of the branch to delete from the space repository. This should be a valid branch name (not the main branch in most cases).
repostringObligatorioThe name of the space repository from which to delete the branch. This is the repository identifier without the namespace.
namespacestringObligatorioThe namespace (user or organization) that owns the space. For example, '121tester' for a user or 'huggingface' for an organization.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete space secretHUGGING_FACE_DELETE_SPACES_SECRETSAcciónTool 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.
HUGGING_FACE_DELETE_SPACES_SECRETSAcciónTool 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
keystringObligatorioThe 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.
repostringObligatorioThe name of the space repository from which to delete the secret. This is the repository identifier without the namespace.
namespacestringObligatorioThe namespace (user or organization) that owns the space. For example, '121tester' for a user or 'huggingface' for an organization.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete Spaces TagHUGGING_FACE_DELETE_SPACES_TAGAcciónTool to delete a tag from a Hugging Face space. Use when you need to remove a specific tag revision from a space repository.
HUGGING_FACE_DELETE_SPACES_TAGAcciónTool 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
revstringObligatorioThe tag revision to delete from the space.
repostringObligatorioThe repository name of the space.
namespacestringObligatorioThe namespace (organization or user) that owns the space.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete space variableHUGGING_FACE_DELETE_SPACES_VARIABLESAcciónTool 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.
HUGGING_FACE_DELETE_SPACES_VARIABLESAcciónTool 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
keystringObligatorioThe 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.
repostringObligatorioThe name of the space repository from which to delete the variable. This is the repository identifier without the namespace.
namespacestringObligatorioThe namespace (user or organization) that owns the space. For example, '121tester' for a user or 'huggingface' for an organization.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Filter dataset rowsHUGGING_FACE_FILTER_DATASET_ROWSAcciónTool 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.
HUGGING_FACE_FILTER_DATASET_ROWSAcciónTool 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
splitstringObligatorioName of the dataset split to filter (e.g., 'train', 'test', 'validation').
wherestringObligatorioSQL 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.
configstringObligatorioName of the dataset configuration/subset to filter. Use 'default' for datasets without explicit configs.
lengthintegerMaximum number of rows to return. Defaults to 100. Maximum allowed is 100.
offsetintegerNumber of rows to skip before returning results. Use with length for pagination.
datasetstringObligatorioFull name of the dataset in the format 'namespace/dataset-name'. Example: 'cornell-movie-review-data/rotten_tomatoes'.
orderbystringSQL ORDER BY clause for sorting results. Specify column name and optionally 'ASC' or 'DESC' (e.g., 'score DESC', 'date ASC').
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Generate Chat CompletionHUGGING_FACE_GENERATE_CHAT_COMPLETIONAcciónTool 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.
HUGGING_FACE_GENERATE_CHAT_COMPLETIONAcciónTool 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
seedintegerRandom 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.
modelstringObligatorioThe 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_pnumberAn 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.
streambooleanWhether 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.
logprobsbooleanWhether 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[]ObligatorioA list of messages comprising the conversation so far. Each message has a role (system, user, assistant, tool) and content.
max_tokensintegerThe 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.
temperaturenumberSampling 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_choiceanyControls 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_promptstringA prompt to be appended before the tools section.
top_logprobsintegerAn 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_optionsobjectStream options.
response_formatanyThe format of the response. Can be 'text' (default), 'json_object' for JSON mode, or 'json_schema' for structured output with a specific schema.
presence_penaltynumberNumber 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_penaltynumberNumber 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
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Generate Text EmbeddingsHUGGING_FACE_GENERATE_EMBEDDINGSAcciónTool 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.
HUGGING_FACE_GENERATE_EMBEDDINGSAcciónTool 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
modelstringThe Hugging Face model ID to use for generating embeddings. Must be a valid embedding model from the Hugging Face model hub.
inputsstring[]ObligatorioArray of text strings to convert into embeddings. Each string will be processed and returned as a numerical vector representation.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Daily PapersHUGGING_FACE_GET_DAILY_PAPERSAcciónTool to retrieve daily papers from Hugging Face. Use when you need to fetch the latest AI/ML research papers shared on Hugging Face.
HUGGING_FACE_GET_DAILY_PAPERSAcciónTool 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
pintegerPage number for pagination (0-indexed). Defaults to 0.
datestringFilter papers by specific date (YYYY-MM-DD format).
sortstringenumSort option for daily papers.
publishedAttrendingweekstringFilter papers by specific week.
limitintegerMaximum number of papers to return per page. Defaults to 50.
monthstringFilter papers by specific month (YYYY-MM format).
submitterstringFilter papers by submitter username.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Dataset Croissant MetadataHUGGING_FACE_GET_DATASET_CROISSANTAcciónTool 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.
HUGGING_FACE_GET_DATASET_CROISSANTAcciónTool 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
datasetstringObligatorioFull dataset name in format 'namespace/repo' (e.g., 'ibm-research/duorc', 'squad', 'huggingface/transformers').
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Dataset First RowsHUGGING_FACE_GET_DATASET_FIRST_ROWSAcciónTool 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.
HUGGING_FACE_GET_DATASET_FIRST_ROWSAcciónTool 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
splitstringObligatorioName of the dataset split to retrieve rows from.
configstringObligatorioName of the dataset configuration/subset. Use 'default' for datasets without configurations.
datasetstringObligatorioName of the dataset in format 'namespace/name'. For example, 'cornell-movie-review-data/rotten_tomatoes' or 'squad'.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Dataset InfoHUGGING_FACE_GET_DATASET_INFOAcciónTool 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.
HUGGING_FACE_GET_DATASET_INFOAcciónTool 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
configstringName of the config/subset to retrieve information for. If not provided, returns info for the default configuration.
datasetstringObligatorioName of the dataset to retrieve information for. Format: 'namespace/repo-name' (e.g., 'rajpurkar/squad', 'ibm/duorc').
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Dataset Repository InfoHUGGING_FACE_GET_DATASET_REPO_INFOAcciónTool 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.
HUGGING_FACE_GET_DATASET_REPO_INFOAcciónTool 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_idstringObligatorioDataset repository ID in the format author/dataset-name (e.g., 'rajpurkar/squad', 'stanfordnlp/imdb')
revisionstringGit revision (branch, tag, or commit SHA) to retrieve information for. If not specified, defaults to the main branch
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Dataset RowsHUGGING_FACE_GET_DATASET_ROWSAcciónTool 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.
HUGGING_FACE_GET_DATASET_ROWSAcciónTool 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
splitstringObligatorioName of the dataset split to retrieve rows from. Common splits include 'train', 'test', and 'validation'.
configstringObligatorioName of the config/subset of the dataset. Each dataset may have multiple configurations for different variations or subsets.
lengthintegerObligatorioNumber of rows to retrieve. Maximum allowed value is 100. Use smaller values for faster responses.
offsetintegerObligatorioStarting row index (0-based) from which to begin retrieving rows. Use 0 to start from the beginning of the dataset.
datasetstringObligatorioName of the dataset to retrieve rows from. Use format 'namespace/dataset_name' (e.g., 'stanfordnlp/imdb', 'ibm/duorc').
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Datasets CompareHUGGING_FACE_GET_DATASETS_COMPAREAcciónTool 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.
HUGGING_FACE_GET_DATASETS_COMPAREAcciónTool 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
rawbooleanWhether to return the raw diff output. If false or not provided, returns formatted diff.
repostringObligatorioThe name of the dataset repository to compare.
comparestringObligatorioThe 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).
namespacestringObligatorioThe namespace (username or organization) that owns the dataset.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Dataset SizeHUGGING_FACE_GET_DATASET_SIZEAcciónTool 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.
HUGGING_FACE_GET_DATASET_SIZEAcciónTool 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
datasetstringObligatorioName of the dataset to get size information for. Format: 'namespace/repo-name' (e.g., 'stanfordnlp/imdb', 'ibm/duorc').
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Datasets JWTHUGGING_FACE_GET_DATASETS_JWTAcciónTool 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.
HUGGING_FACE_GET_DATASETS_JWTAcciónTool 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
repostringObligatorioThe name of the dataset repository.
writestringEnable write access for spaces in dev mode. Set to 'true' to enable write access.
encryptedstringRequest an encrypted JWT token. Set to 'true' to receive encrypted token with key ID.
namespacestringObligatorioThe namespace (organization or user) that owns the dataset repository.
expirationstringCustom expiration time for the JWT token. Format depends on Hugging Face API specifications.
inference_apistringEnable inference API access. Set to 'true' to enable.
include_pro_statusstringInclude Pro status information in the token. Set to 'true' to include.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Datasets LeaderboardHUGGING_FACE_GET_DATASETS_LEADERBOARDAcciónTool 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.
HUGGING_FACE_GET_DATASETS_LEADERBOARDAcciónTool 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
repostringObligatorioThe repository name of the dataset. For example, 'results' for the dataset 'open-llm-leaderboard/results'.
task_idstringOptional task identifier to filter leaderboard results by a specific task. If not provided, returns results for all tasks.
namespacestringObligatorioThe namespace (organization or user) that owns the dataset. For example, 'open-llm-leaderboard' for the dataset 'open-llm-leaderboard/results'.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Dataset Notebook URLHUGGING_FACE_GET_DATASETS_NOTEBOOKAcciónTool 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.
HUGGING_FACE_GET_DATASETS_NOTEBOOKAcciónTool 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
revstringObligatorioThe git revision (branch, tag, or commit hash) to retrieve the notebook from.
pathstringObligatorioThe path to the notebook file within the repository, including the .ipynb extension.
repostringObligatorioThe repository name of the dataset.
namespacestringObligatorioThe namespace (user or organization) that owns the dataset.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Datasets ResolveHUGGING_FACE_GET_DATASETS_RESOLVEAcciónTool 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.
HUGGING_FACE_GET_DATASETS_RESOLVEAcciónTool 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
revstringObligatorioThe git revision (commit SHA, branch name, or tag) to resolve the file from.
pathstringObligatorioThe path to the file within the repository (wildcard path parameter).
repostringObligatorioThe name of the dataset repository.
RangestringThe range in bytes of the file to download (e.g., 'bytes=0-1023' for first 1KB).
AcceptstringReturns 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.
namespacestringObligatorioThe namespace (organization or user) that owns the dataset repository.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Dataset Security ScanHUGGING_FACE_GET_DATASETS_SCANAcciónTool 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.
HUGGING_FACE_GET_DATASETS_SCANAcciónTool 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
repostringObligatorioThe name of the dataset repository to scan
namespacestringObligatorioThe namespace (organization or user) that owns the dataset repository
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Dataset Tags by TypeHUGGING_FACE_GET_DATASETS_TAGS_BY_TYPEAcciónTool 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.
HUGGING_FACE_GET_DATASETS_TAGS_BY_TYPEAcciónTool 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
typestringenumValid tag type values for filtering dataset tags.
benchmarktask_categoriessize_categoriesmodalityformatlibrarylanguagelicensearxivdoiregionother+5
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Dataset StatisticsHUGGING_FACE_GET_DATASET_STATISTICSAcciónTool 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.
HUGGING_FACE_GET_DATASET_STATISTICSAcciónTool 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
splitstringObligatorioName of the split to get statistics for (e.g., 'train', 'test', 'validation').
configstringObligatorioName of the configuration/subset of the dataset (e.g., 'mnist', 'cola', 'default').
datasetstringObligatorioName of the dataset. Format: 'namespace/dataset-name' (e.g., 'ylecun/mnist', 'nyu-mll/glue').
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get dataset repository sizeHUGGING_FACE_GET_DATASETS_TREESIZEAcciónTool 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.
HUGGING_FACE_GET_DATASETS_TREESIZEAcciónTool 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
revstringObligatorioThe Git revision or branch name to query (e.g., 'main', 'dev', or a commit SHA).
pathstringThe 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.
repostringObligatorioThe repository name of the dataset (e.g., 'gsm8k', 'wikitext').
namespacestringObligatorioThe namespace or organization name that owns the dataset (e.g., 'squad', 'openai').
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Datasets XET Read TokenHUGGING_FACE_GET_DATASETS_XET_READ_TOKENAcciónTool 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.
HUGGING_FACE_GET_DATASETS_XET_READ_TOKENAcciónTool 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
revstringObligatorioThe revision (branch, tag, or commit) to get the token for. Use 'main' for the default branch.
repostringObligatorioThe repository name of the dataset. For example, 'squad' for the SQuAD dataset.
namespacestringObligatorioThe namespace (organization or user) that owns the dataset. For example, 'rajpurkar' for the SQuAD dataset.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Discussion DetailsHUGGING_FACE_GET_DISCUSSIONAcciónTool 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.
HUGGING_FACE_GET_DISCUSSIONAcciónTool 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_idstringObligatorioRepository ID in the format author/repo-name (e.g., 'google-bert/bert-base-uncased').
repo_typestringObligatorioenumThe type of repository: models, spaces, or datasets. This determines where to look for the discussion.
modelsspacesdatasetsdiscussion_numintegerObligatorioDiscussion number (strictly positive integer). This is the unique identifier of the discussion within the repository.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Discussion DetailsHUGGING_FACE_GET_DISCUSSIONSAcciónTool 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.
HUGGING_FACE_GET_DISCUSSIONSAcciónTool 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
numstringObligatorioThe discussion number identifier.
repostringObligatorioThe repository name (e.g., 'bert-base-uncased').
namespacestringObligatorioThe namespace or organization name that owns the repository (e.g., 'google-bert', 'openai').
repo_typestringObligatorioenumThe type of repository (models, spaces, or datasets).
modelsspacesdatasets
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Available Job HardwareHUGGING_FACE_GET_JOBS_HARDWAREAcciónTool 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.
HUGGING_FACE_GET_JOBS_HARDWAREAcciónTool 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
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Model InformationHUGGING_FACE_GET_MODEL_INFOAcciónTool to retrieve detailed information about a Hugging Face model repository. Use when you need comprehensive metadata including downloads, likes, tags, configuration, files, and more.
HUGGING_FACE_GET_MODEL_INFOAcciónTool 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
repostringObligatorioThe repository name of the model. For example, 'bert-base-uncased' in 'google-bert/bert-base-uncased'.
namespacestringObligatorioThe namespace (organization or user) that owns the model repository. For example, 'google-bert' in 'google-bert/bert-base-uncased'.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Models CompareHUGGING_FACE_GET_MODELS_COMPAREAcciónTool 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.
HUGGING_FACE_GET_MODELS_COMPAREAcciónTool 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
rawbooleanIf true, returns raw diff output. If false or omitted, returns formatted diff.
repostringObligatorioThe repository name of the model (e.g., 'bert-base-uncased', 'llama-2-7b').
comparestringObligatorioComparison 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.
namespacestringObligatorioThe namespace or organization name that owns the model (e.g., 'google-bert', 'meta-llama', 'openai').
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Models JWTHUGGING_FACE_GET_MODELS_JWTAcciónTool 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.
HUGGING_FACE_GET_MODELS_JWTAcciónTool 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
repostringObligatorioThe repository name within the namespace.
writestringEnable write access for spaces in dev mode. Set to 'true' to enable write access.
encryptedstringRequest an encrypted token. Set to 'true' to receive an encrypted JWT token and key ID.
namespacestringObligatorioThe namespace (organization or user) that owns the model repository.
expirationstringCustom expiration time for the JWT token. Specify the duration or timestamp for token validity.
inference_apistringEnable inference API access with the token. Set to 'true' to enable.
include_pro_statusstringInclude PRO subscription status in the token. Set to 'true' to include PRO status information.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Models NotebookHUGGING_FACE_GET_MODELS_NOTEBOOKAcciónTool 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.
HUGGING_FACE_GET_MODELS_NOTEBOOKAcciónTool 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
revstringObligatorioThe revision, branch name, tag, or commit hash to retrieve the notebook from (e.g., 'main', 'dev', or a commit SHA).
pathstringObligatorioThe path to the Jupyter notebook file within the repository, including the .ipynb extension (e.g., 'Untitled.ipynb' or 'notebooks/demo.ipynb').
repostringObligatorioThe repository name of the model (e.g., 'example-huggingface-model').
namespacestringObligatorioThe namespace or organization name that owns the model repository (e.g., 'akshat-shethia').
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Model Security Scan StatusHUGGING_FACE_GET_MODELS_SCANAcciónTool 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.
HUGGING_FACE_GET_MODELS_SCANAcciónTool 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
repostringObligatorioThe repository name of the model. For example, 'opt-125m' in 'facebook/opt-125m'.
namespacestringObligatorioThe namespace (organization or user) that owns the model repository. For example, 'facebook' in 'facebook/opt-125m'.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get model repository sizeHUGGING_FACE_GET_MODELS_TREESIZEAcciónTool 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.
HUGGING_FACE_GET_MODELS_TREESIZEAcciónTool 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
revstringObligatorioThe Git revision or branch name to query (e.g., 'main', 'dev', or a commit SHA).
pathstringThe 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.
repostringObligatorioThe repository name of the model (e.g., 'bert-base-uncased', 'llama-2-7b').
namespacestringObligatorioThe namespace or organization name that owns the model (e.g., 'google-bert', 'facebook', 'openai').
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Model XET Read TokenHUGGING_FACE_GET_MODELS_XET_READ_TOKENAcciónTool 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.
HUGGING_FACE_GET_MODELS_XET_READ_TOKENAcciónTool 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
revstringObligatorioThe revision (branch, tag, or commit hash) to get the XET read token for. Common values include 'main', 'master', or specific commit hashes.
repostringObligatorioThe repository name of the model. For example, 'bert-base-uncased' in 'google-bert/bert-base-uncased'.
namespacestringObligatorioThe namespace (organization or user) that owns the model repository. For example, 'google-bert' in 'google-bert/bert-base-uncased'.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Model Tags By TypeHUGGING_FACE_GET_MODEL_TAGS_BY_TYPEAcciónTool 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.
HUGGING_FACE_GET_MODEL_TAGS_BY_TYPEAcciónTool 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
typestringenumEnum for model tag types on Hugging Face.
pipeline_taglibrarydatasetlanguagelicensearxivdoiregionother
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Organization AvatarHUGGING_FACE_GET_ORGANIZATIONS_AVATARAcciónTool to retrieve the avatar URL for a Hugging Face organization. Use when you need to get the avatar image URL for a specific organization.
HUGGING_FACE_GET_ORGANIZATIONS_AVATARAcciónTool 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
namestringObligatorioThe name of the organization. For example, 'huggingface' or 'meta-llama'.
redirectstringIf provided, redirect to the avatar URL instead of returning it as JSON. Set to any value to enable redirection.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Organization MembersHUGGING_FACE_GET_ORGANIZATIONS_MEMBERSAcciónTool 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.
HUGGING_FACE_GET_ORGANIZATIONS_MEMBERSAcciónTool 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
namestringObligatorioName of the organization to retrieve members from. This is the organization's username or slug on Hugging Face.
emailstringFilter members by email address. This may require admin permissions depending on the organization's settings.
limitintegerMaximum number of members to return. Defaults to 500.
cursorstringPagination cursor for fetching the next page of results. Use the cursor from the previous response to get more members.
searchstringSearch query to filter members by username or full name. Use this to find specific members within the organization.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Organization Social HandlesHUGGING_FACE_GET_ORGANIZATIONS_SOCIALSAcciónTool 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.
HUGGING_FACE_GET_ORGANIZATIONS_SOCIALSAcciónTool 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
namestringObligatorioThe name of the organization to retrieve social media handles for. This is the organization's username on Hugging Face.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get ResolveHUGGING_FACE_GET_RESOLVEAcciónTool 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.
HUGGING_FACE_GET_RESOLVEAcciónTool 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
revstringObligatorioThe revision (branch, tag, or commit hash) to resolve. Common values include 'main' or specific Git commit SHAs.
pathstringObligatorioThe file path within the repository to resolve. For example, 'config.json', 'pytorch_model.bin', or 'tokenizer.json'.
repostringObligatorioThe repository name within the namespace. For example, 'bart-large' in 'facebook/bart-large'.
RangestringThe range in bytes of the file to download. Use HTTP Range header format like 'bytes=0-1023' to download only specific byte ranges.
AcceptstringReturns 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.
namespacestringObligatorioThe namespace (organization or user) that owns the repository. For example, 'facebook' in 'facebook/bart-large'.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Resolve Cache DatasetsHUGGING_FACE_GET_RESOLVE_CACHE_DATASETSAcciónTool 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.
HUGGING_FACE_GET_RESOLVE_CACHE_DATASETSAcciónTool 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
revstringObligatorioThe 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.
pathstringObligatorioThe path to the file within the repository (wildcard path parameter).
repostringObligatorioThe name of the dataset repository.
RangestringThe range in bytes of the file to download (e.g., 'bytes=0-1023' for first 1KB).
AcceptstringReturns 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.
namespacestringObligatorioThe namespace (organization or user) that owns the dataset repository.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Resolve Cache ModelsHUGGING_FACE_GET_RESOLVE_CACHE_MODELSAcciónTool 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).
HUGGING_FACE_GET_RESOLVE_CACHE_MODELSAcciónTool 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
revstringObligatorioThe revision to resolve. Must be a full Git commit SHA (40 characters). Branch names like 'main' or tags are not supported by this endpoint.
pathstringObligatorioThe file path within the repository to resolve. For example, 'config.json', 'pytorch_model.bin', or 'tokenizer.json'.
repostringObligatorioThe repository name of the model. For example, 'bert-base-uncased' in 'google-bert/bert-base-uncased'.
RangestringThe range in bytes of the file to download. Use HTTP Range header format like 'bytes=0-1023'.
AcceptstringOptional Accept header to specify the desired response format. Common values include 'application/json', 'application/vnd.xet-fileinfo+json', or '*/*'.
namespacestringObligatorioThe namespace (organization or user) that owns the model repository. For example, 'google-bert' in 'google-bert/bert-base-uncased'.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Resolve Cache SpacesHUGGING_FACE_GET_RESOLVE_CACHE_SPACESAcciónTool 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.
HUGGING_FACE_GET_RESOLVE_CACHE_SPACESAcciónTool 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
revstringObligatorioThe 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.
pathstringObligatorioThe path to the file within the repository. This is a wildcard path parameter that can include subdirectories and filename.
repostringObligatorioThe repository name of the Space. For example, 'gradio-user-history' for the Wauplin/gradio-user-history Space.
RangestringThe range in bytes of the file to download. Format: 'bytes=start-end'. If not provided, the entire file will be retrieved.
AcceptstringAccept 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.
namespacestringObligatorioThe namespace (user or organization) that owns the Space. For example, 'Wauplin' for the Wauplin/gradio-user-history Space.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Billing UsageHUGGING_FACE_GET_SETTINGS_BILLING_USAGEAcciónTool 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.
HUGGING_FACE_GET_SETTINGS_BILLING_USAGEAcciónTool 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
periodIdstringOptional 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
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Jobs UsageHUGGING_FACE_GET_SETTINGS_BILLING_USAGE_JOBSAcciónTool 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.
HUGGING_FACE_GET_SETTINGS_BILLING_USAGE_JOBSAcciónTool 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
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Live Billing UsageHUGGING_FACE_GET_SETTINGS_BILLING_USAGE_LIVEAcciónTool 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.
HUGGING_FACE_GET_SETTINGS_BILLING_USAGE_LIVEAcciónTool 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
timeoutintegerMaximum time in seconds to wait for live usage updates. Defaults to 5 seconds.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Billing Usage V2HUGGING_FACE_GET_SETTINGS_BILLING_USAGE_V2AcciónTool 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.
HUGGING_FACE_GET_SETTINGS_BILLING_USAGE_V2AcciónTool 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
endDateintegerObligatorioEnd 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.
startDateintegerObligatorioStart 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
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get MCP SettingsHUGGING_FACE_GET_SETTINGS_MCPAcciónTool 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.
HUGGING_FACE_GET_SETTINGS_MCPAcciónTool 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
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Settings WebhookHUGGING_FACE_GET_SETTINGS_WEBHOOKSAcciónTool 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.
HUGGING_FACE_GET_SETTINGS_WEBHOOKSAcciónTool 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
webhookIdstringObligatorioThe unique identifier of the webhook to retrieve. Must be a 24-character hexadecimal string.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Space InfoHUGGING_FACE_GET_SPACE_INFOAcciónTool 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.
HUGGING_FACE_GET_SPACE_INFOAcciónTool 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_idstringObligatorioSpace repository ID in the format author/space-name (e.g., 'Qwen/Qwen3-TTS', 'stabilityai/stable-diffusion')
revisionstringGit revision (branch, tag, or commit SHA) to retrieve information for. If not specified, defaults to the main branch
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Spaces CompareHUGGING_FACE_GET_SPACES_COMPAREAcciónTool 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.
HUGGING_FACE_GET_SPACES_COMPAREAcciónTool 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
rawbooleanIf true, returns raw diff output. If false or omitted, returns formatted diff.
repostringObligatorioThe repository name of the Space (e.g., 'Qwen3-TTS', 'chatgpt-demo').
comparestringObligatorioComparison 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.
namespacestringObligatorioThe namespace or organization name that owns the Space (e.g., 'Qwen', 'openai', 'gradio').
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Spaces EventsHUGGING_FACE_GET_SPACES_EVENTSAcciónTool 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.
HUGGING_FACE_GET_SPACES_EVENTSAcciónTool 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
repostringObligatorioThe repository name of the Space.
timeoutintegerMaximum time in seconds to wait for status updates. Defaults to 5 seconds.
namespacestringObligatorioThe namespace (username or organization) that owns the Space.
session_uuidstringOptional session UUID to filter events for a specific session.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Spaces JWTHUGGING_FACE_GET_SPACES_JWTAcciónTool 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.
HUGGING_FACE_GET_SPACES_JWTAcciónTool 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
repostringObligatorioThe name of the space repository.
writestringEnable write access for spaces in dev mode. Set to 'true' to enable write access.
encryptedstringRequest an encrypted token. Set to 'true' to receive an encrypted JWT token and key ID.
namespacestringObligatorioThe namespace (organization or user) that owns the space repository.
expirationstringCustom expiration time for the JWT token. Specify the duration or timestamp for token validity.
inference_apistringEnable inference API access with the token. Set to 'true' to enable.
include_pro_statusstringInclude PRO subscription status in the token. Set to 'true' to include PRO status information.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Space MetricsHUGGING_FACE_GET_SPACES_METRICSAcciónTool 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.
HUGGING_FACE_GET_SPACES_METRICSAcciónTool 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
repostringObligatorioThe repository name of the Space.
timeoutintegerMaximum time in seconds to wait for metrics updates. Defaults to 5 seconds.
namespacestringObligatorioThe namespace (username or organization) that owns the Space.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Spaces NotebookHUGGING_FACE_GET_SPACES_NOTEBOOKAcciónTool 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.
HUGGING_FACE_GET_SPACES_NOTEBOOKAcciónTool 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
revstringObligatorioThe revision, branch name, tag, or commit hash to retrieve the notebook from (e.g., 'main', 'dev', or a commit SHA).
pathstringObligatorioThe path to the Jupyter notebook file within the repository, including the .ipynb extension (e.g., 'notebooks/automatic_mask_generator_example.ipynb').
repostringObligatorioThe repository name of the space (e.g., 'SAM2-Video-Predictor').
namespacestringObligatorioThe namespace or organization name that owns the space repository (e.g., 'fffiloni').
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Spaces ResolveHUGGING_FACE_GET_SPACES_RESOLVEAcciónTool 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.
HUGGING_FACE_GET_SPACES_RESOLVEAcciónTool 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
revstringObligatorioThe 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.
pathstringObligatorioThe file path within the repository to resolve. This wildcard path parameter can include subdirectories and filename.
repostringObligatorioThe repository name of the Space. For example, 'stable-diffusion-3-medium' for the stabilityai/stable-diffusion-3-medium Space.
RangestringThe range in bytes of the file to download. Format: 'bytes=start-end'. If not provided, the entire file will be retrieved.
AcceptstringAccept 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.
namespacestringObligatorioThe namespace (user or organization) that owns the Space. For example, 'stabilityai' for the stabilityai/stable-diffusion-3-medium Space.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Space Security Scan StatusHUGGING_FACE_GET_SPACES_SCANAcciónTool 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.
HUGGING_FACE_GET_SPACES_SCANAcciónTool 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
repostringObligatorioThe name of the space repository to check security status for
namespacestringObligatorioThe namespace (organization or user) that owns the space repository
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get space repository sizeHUGGING_FACE_GET_SPACES_TREESIZEAcciónTool 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.
HUGGING_FACE_GET_SPACES_TREESIZEAcciónTool 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
revstringObligatorioThe Git revision or branch name to query (e.g., 'main', 'dev', or a commit SHA).
pathstringThe 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.
repostringObligatorioThe repository name of the space (e.g., 'hello_world', 'chatbot').
namespacestringObligatorioThe namespace or organization name that owns the space (e.g., 'gradio', 'huggingface').
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Space XET Read TokenHUGGING_FACE_GET_SPACES_XET_READ_TOKENAcciónTool 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.
HUGGING_FACE_GET_SPACES_XET_READ_TOKENAcciónTool 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
revstringObligatorioThe revision (branch, tag, or commit hash) to get the XET read token for. Common values include 'main', 'master', or specific commit hashes.
repostringObligatorioThe repository name of the Space. For example, 'Ace-Step-v1.5' in 'ACE-Step/Ace-Step-v1.5'.
namespacestringObligatorioThe namespace (organization or user) that owns the Space repository. For example, 'ACE-Step' in 'ACE-Step/Ace-Step-v1.5'.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Spaces XET Write TokenHUGGING_FACE_GET_SPACES_XET_WRITE_TOKENAcciónTool 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.
HUGGING_FACE_GET_SPACES_XET_WRITE_TOKENAcciónTool 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
revstringObligatorioThe revision (branch, tag, or commit hash) to get the XET write token for. Common values include 'main', 'master', or specific commit hashes.
repostringObligatorioThe repository name of the space. For example, 'ComfyUI' in 'SpacesExamples/ComfyUI'.
create_printegerPass 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.
namespacestringObligatorioThe namespace (organization or user) that owns the space repository. For example, 'SpacesExamples' in 'SpacesExamples/ComfyUI'.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Trending RepositoriesHUGGING_FACE_GET_TRENDINGAcciónTool 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.
HUGGING_FACE_GET_TRENDINGAcciónTool 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
typestringenumRepository type filter for trending repositories.
alldatasetmodelspacelimitintegerMaximum number of trending repositories to return. Defaults to 10.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get User AvatarHUGGING_FACE_GET_USERS_AVATARAcciónTool to retrieve the avatar URL for a Hugging Face user. Use when you need to get the avatar image URL for a specific user.
HUGGING_FACE_GET_USERS_AVATARAcciónTool 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
redirectstringIf provided, redirect to the avatar URL instead of returning it as JSON. Set to any value to enable redirection.
usernamestringObligatorioThe username of the user whose avatar URL to retrieve. For example, 'julien-c' or 'lysandre'.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get User OverviewHUGGING_FACE_GET_USERS_OVERVIEWAcciónTool 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.
HUGGING_FACE_GET_USERS_OVERVIEWAcciónTool 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
usernamestringObligatorioUsername of the Hugging Face user to retrieve overview for. This is the user's handle on Hugging Face.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get User Social HandlesHUGGING_FACE_GET_USERS_SOCIALSAcciónTool 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.
HUGGING_FACE_GET_USERS_SOCIALSAcciónTool 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
usernamestringObligatorioThe 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
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Authenticated User InfoHUGGING_FACE_GET_WHOAMIAcciónTool 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.
HUGGING_FACE_GET_WHOAMIAcciónTool 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
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Handle Dataset User Access RequestHUGGING_FACE_HANDLE_DATASETS_USER_ACCESS_REQUESTAcciónTool 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.
HUGGING_FACE_HANDLE_DATASETS_USER_ACCESS_REQUESTAcciónTool 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
repostringObligatorioThe repository name of the gated dataset. For example, 'test-gated-dataset-cancel'.
userstringThe username of the user whose access request is being handled. Either 'user' or 'userId' must be provided, but not both.
statusstringObligatorioenumThe decision on the access request. Use 'accepted' to grant access, 'rejected' to deny access, or 'pending' to keep the request pending.
acceptedrejectedpendinguserIdstringThe 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.
namespacestringObligatorioThe namespace (organization or user) that owns the dataset. For example, '121tester' or 'huggingface'.
rejectionReasonstringThe reason for rejecting the access request. Maximum 200 characters. Only applicable when status is 'rejected'.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List CollectionsHUGGING_FACE_LIST_COLLECTIONSAcciónTool 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.
HUGGING_FACE_LIST_COLLECTIONSAcciónTool 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
qstringSearch query to filter collections by title or description. Use keywords to find relevant collections.
itemstringFilter collections by item ID (repo_id, paper id, or collection slug). Use this to find collections containing a specific item.
sortstringenumEnum for sorting options for collections.
upvoteslastModifiedtrendinglimitintegerMaximum number of collections to return per page. Defaults to 10.
ownerstringFilter collections by owner username. Use this to get collections created by a specific user or organization.
cursorstringPagination cursor for fetching the next page of results. Use the cursor from the previous response to get more collections.
expandstringComma-separated list of fields to expand in the response. Use this to get additional details about collections.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Dataset Parquet FilesHUGGING_FACE_LIST_DATASET_PARQUET_FILESAcciónTool 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.
HUGGING_FACE_LIST_DATASET_PARQUET_FILESAcciónTool 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
datasetstringObligatorioName of the dataset to get Parquet files for. Format: 'namespace/repo-name' (e.g., 'rajpurkar/squad', 'huggingface/cifar10').
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Dataset Paths InfoHUGGING_FACE_LIST_DATASET_PATHS_INFOAcciónTool 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.
HUGGING_FACE_LIST_DATASET_PATHS_INFOAcciónTool 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
revstringObligatorioGit revision (branch, tag, or commit hash) to query
repostringObligatorioDataset repository name
pathsanyObligatorioList of paths to get information about, or a single path string. Paths are relative to the repository root.
expandanyObligatorioWhether to expand the response with last commit and security file status information. Can be a boolean or an object with expansion options.
namespacestringObligatorioNamespace (user or organization) that owns the dataset
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List DatasetsHUGGING_FACE_LIST_DATASETSAcciónTool 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.
HUGGING_FACE_LIST_DATASETSAcciónTool 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
sortstringenumEnum for sorting properties.
lastModifiedtrendinglikesdownloadslimitintegerLimit the number of datasets returned. Defaults to 100 if not specified.
authorstringFilter datasets by an author or organization. Use this to get datasets from a specific user or org.
filterstringFilter based on tags. Use this to find datasets with specific tags like task types, languages, or licenses.
searchstringFilter based on substrings for dataset names and their usernames. Use this to search for datasets by keyword.
directionstringenumEnum for sort direction.
ascdesc
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Dataset CommitsHUGGING_FACE_LIST_DATASETS_COMMITSAcciónTool 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.
HUGGING_FACE_LIST_DATASETS_COMMITSAcciónTool 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
pintegerPage number for pagination. Starts from 0 for the first page.
revstringObligatorioThe revision (branch, tag, or commit hash) to list commits from.
repostringObligatorioThe repository name of the dataset.
limitintegerMaximum number of commits to return per page. Default is 50.
namespacestringObligatorioThe namespace (username or organization) that owns the dataset.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Dataset SplitsHUGGING_FACE_LIST_DATASET_SPLITSAcciónTool 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.
HUGGING_FACE_LIST_DATASET_SPLITSAcciónTool 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
datasetstringObligatorioName of the dataset to retrieve splits for. Format: 'namespace/repo-name' (e.g., 'stanfordnlp/imdb', 'huggingface/squad').
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Dataset ReferencesHUGGING_FACE_LIST_DATASETS_REFSAcciónTool 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.
HUGGING_FACE_LIST_DATASETS_REFSAcciónTool 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
repostringObligatorioThe repository name of the dataset.
namespacestringObligatorioThe namespace (organization or user) that owns the dataset.
include_prsbooleanWhether to include pull requests in the response. Set to true to include pull requests.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List datasets treeHUGGING_FACE_LIST_DATASETS_TREEAcciónTool 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.
HUGGING_FACE_LIST_DATASETS_TREEAcciónTool 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
revstringGit revision (branch, tag, or commit SHA) to list. Defaults to 'main' branch.
pathstringPath within the repository to list. Use empty string or '.' for root directory. Supports nested paths like 'data/train'.
repostringObligatorioRepository name without the namespace. Example: 'squad' for the rajpurkar/squad dataset.
limitintegerMaximum number of items to return. Defaults to 1000, or 100 when expand=true. Use with cursor for pagination.
cursorstringPagination cursor from a previous response to fetch the next page of results. Omit for the first page.
expandbooleanIf true, returns associated commit data for each entry and security scanner metadata. Defaults to false if not specified.
namespacestringObligatorioRepository namespace (owner/organization name). Example: 'rajpurkar' for the rajpurkar/squad dataset.
recursivebooleanIf true, returns the tree recursively including all subdirectories. Defaults to false if not specified.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Dataset Access RequestsHUGGING_FACE_LIST_DATASETS_USER_ACCESS_REQUESTAcciónTool 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.
HUGGING_FACE_LIST_DATASETS_USER_ACCESS_REQUESTAcciónTool 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
repostringObligatorioThe repository name of the gated dataset
afterstringCursor for pagination - returns requests after this cursor
limitintegerMaximum number of access requests to return (default: 1000)
beforestringCursor for pagination - returns requests before this cursor
statusstringObligatorioenumFilter access requests by status: pending, accepted, or rejected
pendingacceptedrejectednamespacestringObligatorioThe namespace or organization name that owns the dataset
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List DiscussionsHUGGING_FACE_LIST_DISCUSSIONSAcciónTool 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.
HUGGING_FACE_LIST_DISCUSSIONSAcciónTool 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
pintegerPage number for pagination. Starts from 0 for the first page.
repostringObligatorioThe repository name to list discussions from.
sortstringenumSort type enum.
recently-createdtrendingreactionstypestringenumDiscussion type enum.
alldiscussionpull_requestauthorstringFilter discussions by author username.
searchstringSearch query to filter discussions by title or content.
statusstringenumDiscussion status enum.
allopenclosednamespacestringObligatorioThe namespace (username or organization) that owns the repository.
repo_typestringObligatorioenumType of repository to list discussions from: models, spaces, or datasets.
modelsspacesdatasets
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Repository DiscussionsHUGGING_FACE_LIST_DISCUSSIONS2AcciónTool 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.
HUGGING_FACE_LIST_DISCUSSIONS2AcciónTool 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_idstringObligatorioRepository ID in the format 'author/repo-name'. Example: 'google-bert/bert-base-uncased'.
repo_typestringObligatorioenumRepository type: models, datasets, or spaces. Determines which type of repository to query.
modelsdatasetsspaces
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Available DocumentationHUGGING_FACE_LIST_DOCSAcciónTool to retrieve the list of available documentation from Hugging Face. Use when you need to discover available documentation resources.
HUGGING_FACE_LIST_DOCSAcciónTool 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
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Inference EndpointsHUGGING_FACE_LIST_ENDPOINTSAcciónTool 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.
HUGGING_FACE_LIST_ENDPOINTSAcciónTool 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
tagsstringFilter endpoints by tags (comma-separated). Use this to find endpoints with specific tags.
limitintegerMaximum number of endpoints to return per page. Defaults to 20 if not specified.
cursorstringPagination cursor to fetch the next or previous page of results. Use the nextCursor or prevCursor from the previous response.
searchstringFilter endpoints by name substring. Use this to search for endpoints containing specific text in their name.
namespacestringObligatorioUser or organization name to list endpoints for. This is the owner of the endpoints you want to retrieve.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List models on Hugging Face HubHUGGING_FACE_LIST_MODELSAcciónTool 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.
HUGGING_FACE_LIST_MODELSAcciónTool 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
fullbooleanWhether to fetch full model data including additional metadata. Set to true to get comprehensive model information, false for basic data only.
sortstringenumSort property for model results.
created_atlastModifiedtrendingScorelikesdownloadslimitintegerMaximum number of models to return in the response. Must be between 1 and 500. Default is typically 20 if not specified.
authorstringFilter models by a specific author or organization name.
configbooleanWhether to also fetch the repository configuration data. Set to true to include model config details in the response.
filterstringFilter 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').
searchstringFilter based on substrings for repos and their usernames. Use to search for specific model names or authors.
directionstringenumSort direction for model results.
1-1
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Model CommitsHUGGING_FACE_LIST_MODELS_COMMITSAcciónTool 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.
HUGGING_FACE_LIST_MODELS_COMMITSAcciónTool 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
pintegerPage number for pagination. Starts from 0 for the first page.
revstringObligatorioThe revision (branch, tag, or commit hash) to list commits from.
repostringObligatorioThe repository name of the model.
limitintegerMaximum 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.
namespacestringObligatorioThe namespace (username or organization) that owns the model.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Model Paths InfoHUGGING_FACE_LIST_MODELS_PATHS_INFOAcciónTool 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.
HUGGING_FACE_LIST_MODELS_PATHS_INFOAcciónTool 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
revstringObligatorioGit revision (branch, tag, or commit hash) to query
repostringObligatorioModel repository name
pathsanyObligatorioList of paths to get information about, or a single path string. Paths are relative to the repository root.
expandanyObligatorioWhether to expand the response with last commit and security file status information. Can be a boolean or an object with expansion options.
namespacestringObligatorioNamespace (user or organization) that owns the model
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Model ReferencesHUGGING_FACE_LIST_MODELS_REFSAcciónTool 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.
HUGGING_FACE_LIST_MODELS_REFSAcciónTool 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
repostringObligatorioRepository name within the namespace (e.g., 'bert-base-uncased')
namespacestringObligatorioNamespace or organization name (e.g., 'google-bert', 'facebook')
include_prsbooleanWhether to include pull requests in the response. Defaults to false.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List model repository treeHUGGING_FACE_LIST_MODELS_TREEAcciónTool 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.
HUGGING_FACE_LIST_MODELS_TREEAcciónTool 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
revstringObligatorioThe Git revision or branch name to query (e.g., 'main', 'dev', or a commit SHA).
pathstringThe path within the repository to list. Use empty string or '.' for root directory, or specify a subdirectory path (e.g., 'configs', 'models/encoder').
repostringObligatorioThe repository name of the model (e.g., 'opt-125m', 'gpt-2').
limitintegerMaximum number of items to return. Default is 1000, or 100 when expand=true. Useful for pagination.
cursorstringPagination cursor token for fetching the next page of results. Obtained from the response of a previous request.
expandbooleanIf true, returns associated commit data for each entry and security scanner metadata. Default is false.
namespacestringObligatorioThe namespace or organization name that owns the model (e.g., 'facebook', 'openai').
recursivebooleanIf true, returns the tree recursively, listing all nested files and directories. Default is false.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List NotificationsHUGGING_FACE_LIST_NOTIFICATIONSAcciónTool 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.
HUGGING_FACE_LIST_NOTIFICATIONSAcciónTool 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
pintegerPage number for pagination. Defaults to 0.
mentionstringenumEnum for mention filter.
allparticipatingmentionspaperIdstringFilter notifications by paper ID.
repoNamestringFilter notifications by repository name.
repoTypestringenumEnum for repository type filter.
datasetmodelspacebucketarticleIdstringFilter notifications by article ID.
lastUpdatestringFilter notifications by last update timestamp.
postAuthorstringFilter notifications by the author of the post.
readStatusstringenumEnum for notification read status filter.
allunread
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Repository CommitsHUGGING_FACE_LIST_REPO_COMMITSAcciónTool 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.
HUGGING_FACE_LIST_REPO_COMMITSAcciónTool 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_idstringObligatorioRepository 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.
revisionstringObligatorioGit 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_typestringObligatorioenumType 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
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List repository filesHUGGING_FACE_LIST_REPO_FILESAcciónTool 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.
HUGGING_FACE_LIST_REPO_FILESAcciónTool 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
pathstringPath within the repository to list. Use empty string or '.' for root directory. Supports nested paths.
limitintegerMaximum number of items to return. Defaults to 1000, or 100 when expand=true. Use with cursor for pagination.
cursorstringPagination cursor from a previous response to fetch the next page of results. Omit for the first page.
expandbooleanIf true, returns associated commit data for each entry and security scanner metadata. Defaults to false if not specified.
repo_idstringObligatorioRepository ID in the format author/repo-name. Example: 'google-bert/bert-base-uncased' for a model.
revisionstringGit revision (branch, tag, or commit SHA) to list. Use 'main' for default branch.
recursivebooleanIf true, returns the tree recursively including all subdirectories. Defaults to false if not specified.
repo_typestringObligatorioenumRepository type: model, dataset, or space.
modeldatasetspace
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List WebhooksHUGGING_FACE_LIST_SETTINGS_WEBHOOKSAcciónTool to list all webhooks configured in Hugging Face settings. Use when you need to retrieve webhook configurations for the authenticated user's account.
HUGGING_FACE_LIST_SETTINGS_WEBHOOKSAcciónTool 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
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Spaces on Hugging Face HubHUGGING_FACE_LIST_SPACESAcciónTool 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.
HUGGING_FACE_LIST_SPACESAcciónTool 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
sortstringProperty to use when sorting results. Common values include 'lastModified', 'likes', 'trending', or 'created'.
limitintegerMaximum number of spaces to return in the response. Must be between 1 and 500.
authorstringFilter spaces by a specific author or organization name.
filterstringFilter based on tags. You can specify tags to find spaces by SDK type (e.g., 'gradio', 'streamlit'), task type, or other characteristics.
searchstringFilter based on substrings for repos and their usernames. Use to search for specific space names or authors.
directionstringDirection 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
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Space CommitsHUGGING_FACE_LIST_SPACES_COMMITSAcciónTool 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.
HUGGING_FACE_LIST_SPACES_COMMITSAcciónTool 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
pintegerPage number for pagination. Starts from 0 for the first page.
revstringObligatorioThe revision (branch, tag, or commit hash) to list commits from.
repostringObligatorioThe repository name of the Space.
limitintegerMaximum 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.
namespacestringObligatorioThe namespace (username or organization) that owns the Space.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Available Space HardwareHUGGING_FACE_LIST_SPACES_HARDWAREAcciónTool 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.
HUGGING_FACE_LIST_SPACES_HARDWAREAcciónTool 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
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Space LFS FilesHUGGING_FACE_LIST_SPACES_LFS_FILESAcciónTool 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.
HUGGING_FACE_LIST_SPACES_LFS_FILESAcciónTool 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
xetstringFilter for Xet-specific files. Used for Xet-enabled repositories.
repostringObligatorioThe repository name of the Space.
limitintegerMaximum number of LFS files to return. Default is 1000.
cursorstringCursor for pagination. Use the cursor returned from a previous request to fetch the next page of results.
namespacestringObligatorioThe namespace (username or organization) that owns the Space.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Space Paths InfoHUGGING_FACE_LIST_SPACES_PATHS_INFOAcciónTool 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.
HUGGING_FACE_LIST_SPACES_PATHS_INFOAcciónTool 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
revstringObligatorioGit revision (branch, tag, or commit hash) to query
repostringObligatorioSpace repository name
pathsanyObligatorioList of paths to get information about, or a single path string. Paths are relative to the repository root.
expandanyObligatorioWhether to expand the response with last commit and security file status information. Can be a boolean or an object with expansion options.
namespacestringObligatorioNamespace (user or organization) that owns the space
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Space ReferencesHUGGING_FACE_LIST_SPACES_REFSAcciónTool 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.
HUGGING_FACE_LIST_SPACES_REFSAcciónTool 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
repostringObligatorioThe repository name of the space.
namespacestringObligatorioThe namespace (organization or user) that owns the space.
include_prsbooleanWhether to include pull requests in the response. Set to true to include pull requests.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List spaces treeHUGGING_FACE_LIST_SPACES_TREEAcciónTool 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.
HUGGING_FACE_LIST_SPACES_TREEAcciónTool 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
revstringGit revision (branch, tag, or commit SHA) to list. Defaults to 'main' branch.
pathstringPath within the repository to list. Use empty string or '.' for root directory. Supports nested paths like 'data/train'.
repostringObligatorioRepository name without the namespace. Example: 'calculator' for the gradio/calculator space.
limitintegerMaximum number of items to return. Defaults to 1000, or 100 when expand=true. Use with cursor for pagination.
cursorstringPagination cursor from a previous response to fetch the next page of results. Omit for the first page.
expandbooleanIf true, returns associated commit data for each entry and security scanner metadata. Defaults to false if not specified.
namespacestringObligatorioRepository namespace (owner/organization name). Example: 'gradio' for the gradio/calculator space.
recursivebooleanIf true, returns the tree recursively including all subdirectories. Defaults to false if not specified.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Cloud Provider VendorsHUGGING_FACE_LIST_VENDORSAcciónTool 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.
HUGGING_FACE_LIST_VENDORSAcciónTool 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
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search datasetHUGGING_FACE_SEARCH_DATASETAcciónTool 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.
HUGGING_FACE_SEARCH_DATASETAcciónTool 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
querystringObligatorioText to search for in the dataset. Searches in all columns of type string, even if values are nested in a dictionary.
splitstringObligatorioName of the dataset split to search.
configstringObligatorioName of the configuration/subset of the dataset to search.
lengthintegerLength of the slice (number of rows to return). Maximum value is 100. Defaults to API default if not specified.
offsetintegerOffset of the slice for pagination. Specifies the starting position in the results. Defaults to 0 if not specified.
datasetstringObligatorioName of the dataset to search. Use format 'owner/dataset-name' for user datasets or just 'dataset-name' for official datasets.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search DocumentationHUGGING_FACE_SEARCH_DOCSAcciónTool 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.
HUGGING_FACE_SEARCH_DOCSAcciónTool 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
qstringObligatorioSearch query string to find relevant documentation pages. Use keywords related to the topic you want to learn about.
limitintegerMaximum number of search results to return. Defaults to 10.
productstringenumEnum for Hugging Face product types to search documentation.
hubtransformersdiffusersdatasetsgradiotrackiosmolagentshuggingface_hubhuggingface.jstransformers.jsinference-providersinference-endpoints+45
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search PapersHUGGING_FACE_SEARCH_PAPERSAcciónTool 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.
HUGGING_FACE_SEARCH_PAPERSAcciónTool 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
qstringSearch query string to find relevant papers. Use keywords, paper titles, or topics. Supports hybrid semantic and full-text search.
limitintegerMaximum number of papers to return. If not specified, the API will use its default limit.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Squash Dataset CommitsHUGGING_FACE_SQUASH_DATASET_COMMITSAcciónTool 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.
HUGGING_FACE_SQUASH_DATASET_COMMITSAcciónTool 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
revstringObligatorioThe ref (branch or revision) to squash. This operation is irreversible and will squash all commits in this ref into a single commit.
repostringObligatorioThe name of the dataset repository to squash commits in.
messagestringThe commit message for the squashed commit. Maximum length is 500 characters.
namespacestringObligatorioThe namespace (organization or user) that owns the dataset.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Squash Spaces CommitsHUGGING_FACE_SQUASH_SPACES_COMMITSAcciónTool 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.
HUGGING_FACE_SQUASH_SPACES_COMMITSAcciónTool 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
revstringObligatorioThe 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.
repostringObligatorioThe name of the space repository where commits will be squashed. For example, for space '121tester/test-curl-space', the repo is 'test-curl-space'.
messagestringThe commit message for the squashed commit. Maximum length is 500 characters. If not provided, a default message will be used.
namespacestringObligatorioThe 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
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Dataset SettingsHUGGING_FACE_UPDATE_DATASETS_SETTINGSAcciónTool to update settings for a Hugging Face dataset repository. Use when you need to configure visibility, discussions, gating, or access control for a dataset.
HUGGING_FACE_UPDATE_DATASETS_SETTINGSAcciónTool 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
repostringObligatorioThe name of the dataset repository
gatedanyGating configuration for the dataset. Controls access restrictions and gating behavior. Can be a boolean to enable/disable gating, or an object with gating configuration
privatebooleanWhether the dataset is private. Set to true to make private, false to make public
namespacestringObligatorioThe namespace (organization or username) that owns the dataset
discussions_sortingstringenumEnum for discussion sorting options.
recently-createdtrendingreactionsdiscussions_disabledbooleanWhether discussions are disabled for this dataset. Set to true to disable discussions, false to enable them
gated_notifications_modestringenumEnum for gated notification modes.
bulkreal-timegated_notifications_emailstringEmail address to receive notifications about gated access requests. Must be a valid email format
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Discussion TitleHUGGING_FACE_UPDATE_DISCUSSIONS_TITLEAcciónTool 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.
HUGGING_FACE_UPDATE_DISCUSSIONS_TITLEAcciónTool 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
numstringObligatorioThe discussion number/identifier to update the title for.
repostringObligatorioThe name of the repository where the discussion is located.
titlestringObligatorioThe new title for the discussion. Must be between 3 and 200 characters.
namespacestringObligatorioThe namespace (username or organization) that owns the repository.
repo_typestringObligatorioenumThe type of repository: models, spaces, or datasets. This determines where the discussion is located.
modelsspacesdatasets
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Model Repository SettingsHUGGING_FACE_UPDATE_MODELS_SETTINGSAcciónTool 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.
HUGGING_FACE_UPDATE_MODELS_SETTINGSAcciónTool 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
repostringObligatorioThe name of the model repository to update settings for.
privatebooleanWhether the model repository should be private (requires authentication to access) or public.
namespacestringObligatorioThe namespace (username or organization) that owns the model repository.
discussionsSortingstringenumSorting order for discussions.
recently-createdtrendingreactionsdiscussionsDisabledbooleanWhether to disable discussions for this model repository. Set to true to disable, false to enable.
gatedNotificationsModestringenumNotification mode for gated access requests.
bulkreal-timegatedNotificationsEmailstringEmail address to receive notifications about gated access requests. Must be a valid email format.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Notification SettingsHUGGING_FACE_UPDATE_SETTINGS_NOTIFICATIONSAcciónTool 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.
HUGGING_FACE_UPDATE_SETTINGS_NOTIFICATIONSAcciónTool 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
notificationsobjectObligatorioNotification settings to update. Only include the specific notification preferences you want to change.
prepaidAmountstringPrepaid amount to be provided when enabling launch_prepaid_credits notification. Maximum length is 24 characters.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Watch SettingsHUGGING_FACE_UPDATE_SETTINGS_WATCHAcciónTool 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.
HUGGING_FACE_UPDATE_SETTINGS_WATCHAcciónTool 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
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update WebhookHUGGING_FACE_UPDATE_SETTINGS_WEBHOOKSAcciónTool 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.
HUGGING_FACE_UPDATE_SETTINGS_WEBHOOKSAcciónTool 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
jobobjectModel for webhook job configuration to execute when webhook triggers.
urlstringURL endpoint where webhook POST requests will be sent when events occur. Must be a valid HTTP/HTTPS URL.
secretstringSecret string used to sign webhook requests for verification. Must contain only printable ASCII characters.
domainsstring[]ObligatorioList of event domains that trigger the webhook. At least one domain is required. 'repo' for repository events, 'discussion' for discussion events.
watchedobject[]ObligatorioList of entities to watch (users, organizations, or repositories). At least one item is required. Events from these entities will trigger the webhook.
webhookIdstringObligatorioThe unique identifier of the webhook to update (24-character hexadecimal string). Get this from the list webhooks action.
jobSourceIdstringSource identifier for the job. Used to track the origin of the job execution.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Spaces Repository SettingsHUGGING_FACE_UPDATE_SPACES_SETTINGSAcciónTool 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.
HUGGING_FACE_UPDATE_SPACES_SETTINGSAcciónTool 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
repostringObligatorioThe name of the Spaces repository to update settings for.
gatedanyGating 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.
privatebooleanWhether the Spaces repository should be private (requires authentication to access) or public.
namespacestringObligatorioThe namespace (username or organization) that owns the Spaces repository.
discussionsSortingstringenumSorting order for discussions.
recently-createdtrendingreactionsdiscussionsDisabledbooleanWhether to disable discussions for this Spaces repository. Set to true to disable, false to enable.
gatedNotificationsModestringenumNotification mode for gated access requests.
bulkreal-timegatedNotificationsEmailstringEmail address to receive notifications about gated access requests. Must be a valid email format.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update SQL Console EmbedHUGGING_FACE_UPDATE_SQL_CONSOLE_EMBEDAcciónTool 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.
HUGGING_FACE_UPDATE_SQL_CONSOLE_EMBEDAcciónTool 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
idstringObligatorioThe slug identifier of the SQL console embed to update (not the _id). This is returned as 'slug' when creating an embed
sqlstringThe SQL query string to execute in the console embed
repostringObligatorioThe name of the dataset repository
titlestringThe title of the SQL console embed. Maximum 200 characters
privatebooleanWhether the SQL console embed is private. Set to true to make it private, false to make it public
namespacestringObligatorioThe namespace (username or organization) that owns the dataset repository
repo_typestringObligatorioenumThe type of repository. Currently only 'datasets' is supported
datasets
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Enable or Disable WebhookHUGGING_FACE_UPDATE_WEBHOOK_STATUSAcciónTool 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.
HUGGING_FACE_UPDATE_WEBHOOK_STATUSAcciónTool 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
actionstringObligatorioenumThe action to perform on the webhook: 'enable' to activate the webhook or 'disable' to deactivate it.
enabledisablewebhookIdstringObligatorioThe unique identifier of the webhook to enable or disable. Must be a 24-character hexadecimal string.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not