List Hugging Face discussions
hugging_face_repos_discussions_listList discussions and pull requests for a Hugging Face repository by specifying repository type, owner, and name; use pagination to browse results.
Instructions
List the discussions and pull requests of a Hugging Face repository. Requires repoType, owner and name. Returns a list (use page when paginated).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repoType": "<repoType>",
"owner": "<owner>",
"name": "<name>",
"context": "<context>",
"llm_model": "<llm_model>"
},
"name": "hugging_face_repos_discussions_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Required. Repository name, without the owner. | |
| page | No | Page number (1-based). Default: 1. | |
| sort | No | `recently-created` (default), `trending` or `reactions`. | |
| type | No | `all` (default), `discussion` or `pull_request`. | |
| owner | Yes | Required. Owner of the repository: a user or organization name. | |
| query | No | Search text in titles. | |
| author | No | Only discussions opened by this account. | |
| status | No | `all` (default), `open` or `closed`. | |
| context | Yes | Describe the user's underlying goal in one sentence, not the tool you are calling. | |
| repoType | Yes | Required. Repository type: `models`, `datasets` or `spaces`. | |
| llm_model | Yes | The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (for example "claude-opus-4-8" or "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" and do not guess. | |
| conversation_id | No | Echo the conversation_id from the server's previous response. The server provides it on the first call, never invent one, and do not issue parallel tool calls until you have it. |