Skip to main content

Module tools

Module tools 

Source
Expand description

Agent-facing query tools over a built CodeGraph: overview, per-module and per-callable source reading, call-edge lookups and state cross-references.

Structs§

CodegraphContext
Shared context for every codegraph tool.
CodegraphOverviewArgs
Arguments accepted by CodegraphOverviewTool.
CodegraphOverviewTool
Renders the module map.
ListCallablesArgs
Arguments accepted by ListCallablesTool.
ListCallablesTool
Lists a module’s callables and state items.
LookupCallableArgs
Arguments accepted by LookupCallableTool.
LookupCallableTool
Call edges and state accesses of a callable.
LookupStateArgs
Arguments accepted by LookupStateTool.
LookupStateTool
Readers and writers of a state item.
ReadCallableSourceArgs
Arguments accepted by ReadCallableSourceTool.
ReadCallableSourceTool
Reads a callable’s source by name.
ReadModuleSourceArgs
Arguments accepted by ReadModuleSourceTool.
ReadModuleSourceTool
Reads a whole module/contract source by name.