deepghs_get_repo_info
Retrieve detailed metadata for DeepGHS datasets, models, or spaces to examine file contents, sizes, tags, and download information before downloading.
Instructions
Get detailed metadata for a specific DeepGHS dataset, model, or space by repo ID.
Returns the full file tree with sizes, all tags, README card metadata, download counts, creation/modification dates, and gating status. Use this before deciding to download — the file tree shows you exactly what tar/parquet files are inside and how large they are.
Args: params (GetRepoInfoInput): - repo_id (str): Full HF repo ID (e.g. 'deepghs/danbooru2024') - repo_type (str): 'dataset', 'model', or 'space' (default: 'dataset') - response_format (ResponseFormat): 'markdown' or 'json'
Returns: str: Full repo metadata including file tree with sizes, tags, card data, and a generated cheesechaser download command if applicable.
Schema (JSON mode): { "id": str, "sha": str, "lastModified": str, "tags": list[str], "downloads": int, "likes": int, "cardData": dict, # README metadata "siblings": [ # File tree {"rfilename": str, "size": int, "blobId": str} ], "gated": bool | str }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |