Skip to main content

Module handler

Module handler 

Source
Expand description

The tool handler trait and the registry dispatch looks tools up in.

Structs§

Tool
A tool with its handler.
ToolRegistry
The tools in their tools/list order.

Traits§

JsonToolHandler 🔒
A ToolHandler taking its arguments as JSON, so that one registry holds every tool.
ToolHandler
Implements one tool. S is the application state the protocol layer passes through, such as the database pool, config and validator client.