list_models
List available AI models on cnaps.ai with optional filters. Returns model names, types, input/output port types, and accessibility. Use filters to narrow results instead of browsing all models.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_models"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Filter by tag (e.g., 'deblur', 'inpainting', 'super-resolution'). Case-insensitive exact match. | |
| category | No | Filter by main category (e.g., 'AI Models', 'Tools', 'External Models'). Leave empty to list all. | |
| input_type | No | Filter by input port type: image, text, video, sound, transcript, segments, file:font, or a list:<type> (e.g. list:image). "text" and "string" both match text ports. | |
| output_type | No | Filter by output port type: image, text, video, sound, transcript, segments, or a list:<type> (e.g. list:video). "text" and "string" both match text ports. | |
| sub_category | No | Filter by sub-category (e.g., 'Image Upscaling', 'Object Detection'). Case-insensitive partial match against the model's sub_category field; a value that matches nothing returns the list of valid sub-categories. |