ollama_chatChat with a model using conversation messages. Supports system messages, multi-turn conversations, tool calling, and generation options.Input schema{
"type": "object",
"properties": {
"model": {
"type": "string",
"description": "Name of the model to use"
},
"messages": {
"type": "array",
"description": "Array of chat messages",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"system",
"user",
"assistant"
]
},
"content": {
"type": "string"
},
"images": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"role",
"content"
]
}
},
"tools": {
"type": "string",
"description": "Tools that the model can call (optional). Provide as JSON array of tool objects."
},
"options": {
"type": "string",
"description": "Generation options (optional). Provide as JSON object with settings like temperature, top_p, etc."
},
"format": {
"type": "string",
"enum": [
"json",
"markdown"
],
"default": "json"
}
},
"required": [
"model",
"messages"
]
} | — | | — |
ollama_copyCopy a model. Creates a duplicate of an existing model with a new name.Input schema{
"type": "object",
"properties": {
"source": {
"type": "string",
"description": "Name of the source model"
},
"destination": {
"type": "string",
"description": "Name for the copied model"
},
"format": {
"type": "string",
"enum": [
"json",
"markdown"
],
"default": "json"
}
},
"required": [
"source",
"destination"
]
} | — | | — |
ollama_createCreate a new model with structured parameters. Allows customization of model behavior, system prompts, and templates.Input schema{
"type": "object",
"properties": {
"model": {
"type": "string",
"description": "Name for the new model"
},
"from": {
"type": "string",
"description": "Base model to derive from (e.g., llama2, llama3)"
},
"system": {
"type": "string",
"description": "System prompt for the model"
},
"template": {
"type": "string",
"description": "Prompt template to use"
},
"license": {
"type": "string",
"description": "License for the model"
},
"format": {
"type": "string",
"enum": [
"json",
"markdown"
],
"default": "json"
}
},
"required": [
"model",
"from"
]
} | — | | — |
ollama_deleteDelete a model from local storage. Removes the model and frees up disk space.Input schema{
"type": "object",
"properties": {
"model": {
"type": "string",
"description": "Name of the model to delete"
},
"format": {
"type": "string",
"enum": [
"json",
"markdown"
],
"default": "json"
}
},
"required": [
"model"
]
} | — | | — |
ollama_embedGenerate embeddings for text input. Returns numerical vector representations.Input schema{
"type": "object",
"properties": {
"model": {
"type": "string",
"description": "Name of the model to use"
},
"input": {
"type": "string",
"description": "Text input. For batch processing, provide a JSON-encoded array of strings, e.g., [\"text1\", \"text2\"]"
},
"format": {
"type": "string",
"enum": [
"json",
"markdown"
],
"default": "json"
}
},
"required": [
"model",
"input"
]
} | — | | — |
ollama_generateGenerate completion from a prompt. Simpler than chat, useful for single-turn completions.Input schema{
"type": "object",
"properties": {
"model": {
"type": "string",
"description": "Name of the model to use"
},
"prompt": {
"type": "string",
"description": "The prompt to generate from"
},
"options": {
"type": "string",
"description": "Generation options (optional). Provide as JSON object with settings like temperature, top_p, etc."
},
"format": {
"type": "string",
"enum": [
"json",
"markdown"
],
"default": "json"
}
},
"required": [
"model",
"prompt"
]
} | — | | — |
ollama_listList all available Ollama models installed locally. Returns model names, sizes, and modification dates.Input schema{
"type": "object",
"properties": {
"format": {
"type": "string",
"enum": [
"json",
"markdown"
],
"description": "Output format (default: json)",
"default": "json"
}
}
} | — | | — |
ollama_psList running models. Shows which models are currently loaded in memory.Input schema{
"type": "object",
"properties": {
"format": {
"type": "string",
"enum": [
"json",
"markdown"
],
"default": "json"
}
}
} | — | | — |
ollama_pullPull a model from the Ollama registry. Downloads the model to make it available locally.Input schema{
"type": "object",
"properties": {
"model": {
"type": "string",
"description": "Name of the model to pull"
},
"insecure": {
"type": "boolean",
"description": "Allow insecure connections",
"default": false
},
"format": {
"type": "string",
"enum": [
"json",
"markdown"
],
"default": "json"
}
},
"required": [
"model"
]
} | — | | — |
ollama_pushPush a model to the Ollama registry. Uploads a local model to make it available remotely.Input schema{
"type": "object",
"properties": {
"model": {
"type": "string",
"description": "Name of the model to push"
},
"insecure": {
"type": "boolean",
"description": "Allow insecure connections",
"default": false
},
"format": {
"type": "string",
"enum": [
"json",
"markdown"
],
"default": "json"
}
},
"required": [
"model"
]
} | — | | — |
ollama_showShow detailed information about a specific model including modelfile, parameters, and architecture details.Input schema{
"type": "object",
"properties": {
"model": {
"type": "string",
"description": "Name of the model to show"
},
"format": {
"type": "string",
"enum": [
"json",
"markdown"
],
"description": "Output format (default: json)",
"default": "json"
}
},
"required": [
"model"
]
} | — | | — |
ollama_web_fetchFetch a web page by URL using Ollama's web fetch API. Returns the page title, content, and links. Requires OLLAMA_API_KEY environment variable.Input schema{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "The URL to fetch"
},
"format": {
"type": "string",
"enum": [
"json",
"markdown"
],
"default": "json"
}
},
"required": [
"url"
]
} | — | | — |
ollama_web_searchPerform a web search using Ollama's web search API. Augments models with latest information to reduce hallucinations. Requires OLLAMA_API_KEY environment variable.Input schema{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The search query string"
},
"max_results": {
"type": "number",
"description": "Maximum number of results to return (1-10, default 5)",
"default": 5
},
"format": {
"type": "string",
"enum": [
"json",
"markdown"
],
"default": "json"
}
},
"required": [
"query"
]
} | — | | — |