Skip to main content

Module tools

Module tools 

Source
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)
ToolFunction
Function definition for a tool
ToolRegistry
Registry of all available Mermaid tools