When building AI agents with tool-calling capabilities, the LLM's reasoning behind tool selection is typically invisible. Spring AI's Tool Argument Augmenter solves this by dynamically extending each tool's JSON Schema with extra arguments—like an innerThought field and a confidence level—that the LLM must populate when making
Table of contents
1. Overview2. Tool Calling Problem3. The Tool Argument Augmenter4. Patient Health Status Checker Example5. Chain of Tool Calls Example6. ConclusionSort: