tools_directive - MadBomber/aia GitHub Wiki

//tools Directive

The //tools directive displays a list of available tools (functions) that can be used by LLMs within the AIA environment. This directive is particularly useful in interactive chat sessions to discover what tools are available for function calling.

Usage

//tools

Output

The directive returns a list showing:

  • Tool Class Name: The name of the tool class
  • Description: A brief description of what the tool does

Example

Follow up (cntl-D or 'exit' to end) #=>
//tools

Available Tools
===============

ReadFile - Read and return the contents of a file
WriteFile - Write content to a file
ExecuteShell - Execute shell commands and return output
SearchWeb - Search the web and return results
...

Follow up (cntl-D or 'exit' to end) #=>

Context

This directive is most useful when working with LLMs that support function calling, allowing you to see what tools are available in the current AIA session. Tools can be configured through the --tools option or by using the shared_tools collection.

Related