Skip to main content

agrag.agents.tools.search.make_look_up_entity_tool

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

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

Returns:

  • Any – A decorated tool function.