Skip to main content

agrag.agents.tools.search.make_answer_thematic_question_tool

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

Build the answer_thematic_question 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.