Legion. Tools. Help
(Legion v0.6.0)
View Source
Lists the tools available to this agent and describes one of them in full.
In every agent's sandbox, added by Legion itself. Under
tool_docs: :on_demand the system prompt names each tool with a one-line
summary and the model calls Help.help(Name) to read a tool's
functions, arguments and return shapes before using it; under :inline the
prompt embeds the tools and does not mention it. Over MCP the server's
help tool returns the same text, without an evaluation. Not a tool to
list in tools/0.
Summary
Functions
Callback implementation for Legion.Tool.description/0.
Callback implementation for Legion.Tool.extra_allowed_modules/0.
With no argument, one line per tool: its name and what it does. With a
tool from that list, as in Help.help(WeatherTool), the tool's full
reference: functions, arguments and return shapes. An unknown tool returns
the list instead.
Callback implementation for Legion.Tool.mcp?/0.
Callback implementation for Legion.Tool.summary/0.
Functions
Callback implementation for Legion.Tool.description/0.
Callback implementation for Legion.Tool.extra_allowed_modules/0.
With no argument, one line per tool: its name and what it does. With a
tool from that list, as in Help.help(WeatherTool), the tool's full
reference: functions, arguments and return shapes. An unknown tool returns
the list instead.
Callback implementation for Legion.Tool.mcp?/0.
Callback implementation for Legion.Tool.summary/0.