← Tools Reference

Hugging Face

Hugging Face integration (AI, Developer Tools). Imported from open-connector.

OAuth11 toolshttps://huggingface.co
GET
huggingface_get_current_user
Get the current authenticated Hugging Face user profile.

/api/whoami-v2

GET
huggingface_list_models
List Hugging Face models using user-friendly search filters.

/api/models

4 parameters
ParamTypeRequiredDescription
searchstringoptionalA keyword used to search model names and owners.
authorstringoptionalFilter models by author or organization.
taskstringoptionalFilter models by pipeline task.
limitintegeroptionalThe maximum number of models to return.
GET
huggingface_get_model_info
Get detailed metadata for a Hugging Face model by modelId.

/api/models/{modelId}

1 parameter
ParamTypeRequiredDescription
modelIdstringrequiredThe full model identifier, such as owner/model.
GET
huggingface_list_datasets
List Hugging Face datasets using user-friendly search filters.

/api/datasets

6 parameters
ParamTypeRequiredDescription
searchstringoptionalA keyword used to search dataset names and owners.
authorstringoptionalFilter datasets by author or organization.
filterstringoptionalFilter datasets by a Hub tag expression.
sortstringoptionalThe property used to sort results.
directionstringoptionalThe direction in which to sort results.
limitintegeroptionalThe maximum number of datasets to return.
GET
huggingface_list_spaces
List Hugging Face Spaces using user-friendly discovery filters.

/api/spaces

6 parameters
ParamTypeRequiredDescription
searchstringoptionalA keyword used to search Space names and owners.
authorstringoptionalFilter Spaces by author or organization.
filterstringoptionalFilter Spaces by a Hub tag expression.
sortstringoptionalThe property used to sort results.
directionstringoptionalThe sort direction used by the Space listing API.
limitintegeroptionalThe maximum number of Spaces to return.
GET
huggingface_get_space_info
Get detailed metadata for a Hugging Face Space by repo id.

/api/spaces/{repoId}

2 parameters
ParamTypeRequiredDescription
repoIdstringrequiredThe full Space identifier, such as owner/space.
revisionstringoptionalThe optional git revision to inspect.
GET
huggingface_list_repo_files
List files in a Hugging Face repository tree.

/{repoId}/tree/{revision}

8 parameters
ParamTypeRequiredDescription
repoTypestringrequiredThe Hugging Face repository type.
repoIdstringrequiredThe full repository identifier, such as owner/repo.
pathstringoptionalThe optional repository-relative path to list.
revisionstringrequiredThe optional git revision to inspect.
recursivebooleanoptionalWhether to recursively return all nested entries.
expandbooleanoptionalWhether to request expanded commit and security metadata.
limitintegeroptionalThe maximum number of items to return.
cursorstringoptionalThe pagination cursor from a previous response.
GET
huggingface_get_trending
Get trending Hugging Face repositories across models, datasets, and Spaces.

/api/trending

2 parameters
ParamTypeRequiredDescription
typestringoptionalThe repository type filter.
limitintegeroptionalThe maximum number of trending items to return.
GET
huggingface_list_endpoints
List Hugging Face Inference Endpoints for a namespace.

/v2/endpoints

5 parameters
ParamTypeRequiredDescription
namespacestringrequiredThe user or organization namespace.
searchstringoptionalFilter endpoints by a name substring.
tagsstringoptionalFilter endpoints by a comma-separated tag list.
limitintegeroptionalThe maximum number of endpoints to return.
cursorstringoptionalThe pagination cursor from a previous response.
POST
huggingface_generate_chat_completion
Generate a chat completion with Hugging Face Inference Providers.

/v1/chat/completions

9 parameters
ParamTypeRequiredDescription
modelstringrequiredA non-empty string.
messagesarrayrequiredThe ordered conversation messages.
max_tokensintegeroptionalThe maximum number of output tokens to generate.
temperaturenumberoptionalThe sampling temperature.
top_pnumberoptionalThe nucleus sampling threshold.
stoparrayoptionalUp to 4 stop sequences.
seedintegeroptionalA random seed for deterministic generation.
streambooleanoptionalWhether to request a streaming response. This connector only accepts false or a…
toolsarrayoptionalThe function tools available to the model.
POST
huggingface_generate_embeddings
Generate text embeddings with Hugging Face inference.

/hf-inference/models/{model}

2 parameters
ParamTypeRequiredDescription
modelstringrequiredThe embedding model identifier.
inputsarrayrequiredThe list of texts to embed.