Expand description
Ollama Tools API support for native function calling
This module defines Mermaid’s available tools in Ollama’s JSON Schema format, replacing the legacy text-based action block system.
Structs§
- Tool
- A tool available to the model (Ollama format)
- Tool
Function - Function definition for a tool
- Tool
Registry - Registry of all available Mermaid tools
Functions§
- mcp_
tools_ to_ ollama - Convert MCP tool definitions to Ollama’s tool format.