get_model_metadata
Retrieve metadata from a safetensors model file to inspect training details, configuration, resolution, and license information.
Instructions
Get metadata from a safetensors model file.
Useful for inspecting what a model was trained on, its configuration, resolution, license, etc.
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": {
"folder": "<folder>",
"filename": "<filename>"
},
"name": "get_model_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | Yes | Model folder name (e.g. "checkpoints", "loras", "text_encoders"). | |
| filename | Yes | Model filename within the folder. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||