Search Hugging Face repository text
hugging_face_search_fulltextSearch Hugging Face READMEs and code files by keyword to locate relevant models, datasets, or spaces, with paginated results for browsing matches.
Instructions
Search the text of Hugging Face READMEs and code files. Requires query. 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": {
"query": "<query>",
"context": "<context>",
"llm_model": "<llm_model>"
},
"name": "hugging_face_search_fulltext"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-based), `limit` hits a page. Default: 1. At most 500 hits can be skipped, so deeper pages are not offered. | |
| type | No | Only this kind of repository. | |
| limit | No | Items per page, 1-100. A page can hold fewer. Default: 20. | |
| query | Yes | Required. Search text. | |
| context | Yes | Describe the user's underlying goal in one sentence, not the tool you are calling. | |
| 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. |