get_model_metadata
Retrieve model metadata from safetensors headers by specifying model type, resource type, and filename. Get details for checkpoints, LoRAs, or VAEs in SD15 or SDXL architectures.
Instructions
Get metadata for a specific model from its safetensors header.
Args:
model_type: Model architecture — "sd15" or "sdxl"
resource_type: Resource category — "checkpoints", "loras", or "vaes"
model_name: Model filename
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": {
"model_type": "<model_type>",
"resource_type": "<resource_type>",
"model_name": "<model_name>"
},
"name": "get_model_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_name | Yes | ||
| model_type | Yes | ||
| resource_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |