agrag.agents.tools.traversal.make_traverse_from_entity_tool
make_traverse_from_entity_tool(engine:'SearchEngine', ledger:'Ledger', *, filters:'SearchFilters | None' = None) -> Any
Build the traverse_from_entity tool.
Parameters:
- engine (
'SearchEngine') – The SearchEngine the tool calls. - ledger (
'Ledger') – The citation ledger for one run. - filters (
'SearchFilters | None') – The caller's base scope, which the tool cannot widen and which also bounds the traversal.
Returns:
Any– A decorated tool function.