ML Model Details
hf.hub.model_detailsRetrieve complete metadata for any HuggingFace model, including downloads, likes, tags, library, author, pipeline task, and model card data. Provide the model ID to get detailed information.
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 |
|---|---|---|---|
| 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. | |
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. |