Understanding Tool Calling in LLMs – Step-by-Step with REST and Spring AI