Skip to main content

agrag.agents.tools.search.make_explore_related_tool

make_explore_related_tool(engine:'SearchEngine', ledger:'Ledger', *, filters:'SearchFilters | None' = None) -> Any

Build the explore_related 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 can only narrow.

Returns:

  • Any – A decorated tool function.