Module tools

Module tools 

Source
Expand description

DGM-inspired tool system DGM-inspired tool system for toast

This module provides a flexible tool system that allows the AI agent to interact with the system through various tools like bash commands and file editing.

Modules§

bash
Bash tool implementation for executing shell commands
editor
Editor tool implementation for file viewing and editing

Structs§

ToolCall
Extract tool calls from a response
ToolInfo
Information about a tool that can be used by the agent
ToolRegistry
Tool registry that manages all available tools

Traits§

Tool
Base trait for all tools

Functions§

format_tool_output
Format tool output for display
parse_tool_calls
Parse tool calls from agent response