description: Tutorial 6 - run a single chat turn that needs both grounded knowledge and live tool execution. The full Spring AI Playground composition flow.
Time 6 min · Difficulty ★★★ · Surfaces Agentic Chat (full)
!!! abstract “Goal” Run a single chat turn that needs both grounded knowledge and live tool execution. This is the full product workflow - what the rest of the tutorials build toward.
Before sending the prompt, make sure you have:
getCurrentTime, getWeather, …) is fine, or one you authored in Tool Studioqwen3.5:9b or gemma4:e4b
① the MCP connection is active - every tool the connection exposes is in the inventory, ② the RAG source is active - the model will retrieve chunks before answering. The model can use either, both, or neither, per turn.
getCurrentTime in the same turn.
① one prompt that needs RAG + tools - the model decides on its own which to use when.
gemma4:e4b and try again.!!! tip “Why this is the most important tutorial” Spring AI Playground is built around composition. Tool Studio creates capabilities, MCP Server validates them, Vector Database prepares grounded knowledge, and Agentic Chat composes all of that. This tutorial is where the architecture becomes visible from a single chat turn.