list_models
Retrieve available models by type (ollama, openai, huggingface, ggml) for use as attack or target models in Garak-MCP's LLM vulnerability scanner.
Instructions
List all available models for a given model type.
Those models can be used for the attack and target models.
Args:
model_type (str): The type of model to list (ollama, openai, huggingface, ggml)
Returns:
list[str]: A list of available models.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
model_type | Yes |
Input Schema (JSON Schema)
{
"properties": {
"model_type": {
"title": "Model Type",
"type": "string"
}
},
"required": [
"model_type"
],
"title": "list_modelsArguments",
"type": "object"
}