Final answer tool
FinalAnswerTool
Type: System Tool Source: sgr_agent_core/tools/final_answer_tool.py
Finalizes research task and completes agent execution.
Parameters
reasoning(str) - why task is complete and how answer was verifiedcompleted_steps(list[str], 1-5 items) - summary of completed steps including verificationanswer(str) - comprehensive final answer with exact factual detailsstatus(Literal["completed", "failed"]) - task completion status
Behavior
- Sets
context.stateto the specified status - Stores
answerincontext.execution_result - Returns JSON representation of the final answer
Usage
Call after completing a research task to finalize execution.
Configuration
No specific configuration required.
Example