Ollama/ToolCalling/ToolCategory.cscsharp

Documentation

Tool calling (Version 3)

Agent-Core exposes a small tool registry for Ollama function calling. Lilith registers these tools on the chat client at boot.

| Tool | Description | |------|-------------| | get_time | Current local time | | get_date | Today's local date |

Register more tools with ToolRegistry.Register before chat starts.

namespace Agent.Core.ToolCalling;/// <summary>/// Where a tool lives in the Genesis agent stack./// Core = shared system tools (memory, time). Addon = optional Agent-Addons pack./// Self = agent-only tools (Lilith workspace, self-improvement, etc.)./// </summary>public enum ToolCategory{    Core,    Addon,    Self,}