Search models
search_modelsFind a checkpoint in Mage's model library by name, for the models whose model_id takes any library checkpoint rather than a fixed list (the SDXL and Stable Diffusion v1.5 families): community checkpoints such as DucHaiten or Pony, and the ones the user imported. Use it when the user names a model list_models does not have. Names match loosely ("DuchaitenXL" finds "DucHaitenAIartSDXL"), best first; when several fit, show the user the names and let them choose. Each result has its model_id, the architectures that run it, and, when its creator set one up, recommended: the architecture it was made for and the settings, prompt style (prompt_template), and negative prompt it depends on. Generate with its model_id on that architecture and send the user's own prompt: Mage applies the recommended setup to whatever the config leaves out, so set only what the user asks to change.
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": {
"query": "<query>"
},
"name": "search_models"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many to list, best first. Default 10. | |
| query | Yes | The model's name, or part of it, as the user wrote it. | |
| architecture | No | Only checkpoints this model runs, for example `stable_diffusion_xl`. |