ML Model Details
hf.hub.model_detailsRetrieve full metadata for a Hugging Face model—including downloads, likes, tags, library, author, pipeline task, and model card data—by model_id.
Instructions
Get full metadata for a HuggingFace model — downloads, likes, tags, library, author, pipeline task, model card data. Use model_id from hf.models search (e.g. "meta-llama/Llama-3.3-70B-Instruct").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | Full model ID (e.g. "meta-llama/Llama-3.3-70B-Instruct", "stabilityai/stable-diffusion-xl-base-1.0") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |