Check my levelCoursesProgramsFor teamsPricing
UKSign inSign up
Check my levelCoursesProgramsFor teamsPricingClaude quizPromptsBlogFAQSearchSign upUK
AcademlCoursesTool Use in Claude: Based on Anthropic MaterialsComplete Workflow: tool_result and Data Return
A get_article tool call and its result fit together like two partsThe agent loop: reason, act, observeOne MCP connector linking files, Git and memory
Course

Tool Use in Claude: Based on Anthropic Materials

Module 1 · Tool Use Fundamentals
01Tool Use Overview02Your First Simple Tool
Module 2 · Structured Outputs and Tool Choice
03Structured JSON: Structured Outputs and Strict Tool Use04Controlling Tool Selection: tool_choice
Module 3 · Complete Workflow and Agentic Patterns
05Complete Workflow: tool_result and Data Return06Chatbot with Multiple Tools
Tool Use in Claude: Based on Anthropic Materials · Lesson 5

Complete Workflow: tool_result and Data Return

The correct tool_result format, answering every parallel call, updating the messages list, and a Wikipedia Q&A chatbot that loops on stop_reason with a system prompt against unnecessary calls, plus the SDK Tool Runner and built-in web_fetch.

30 min readUpdated Nov 9, 20263 questions in quizReady prompt included
🔒

Full lesson access

Complete Workflow: tool_result and Data Return opens after free sign-up: 7 days of full access to every course, no card needed.

Start 7-day free trial
Then Pro: $9/mo or $79/yr

View plans →

One trial lesson is open without sign-up: what a large language model is →

In this lesson
The Full 4-Step Cycle in PracticeStep 3: Forming the toolresult MessageStep 4: Claude's Final AnswerSystem Prompt Against Over-Eager Tool UseLooping Until the Final AnswerTool Runner: Let the SDK Run the LoopA Wikipedia Article Is Untrusted ContentBuilt-in webfetch Instead of Your Own ToolPracticeReady promptQuiz
CoursesLLM coursesFor teamsPricingFAQBlogAboutPrivacy
© 2026 AcademlDevelopment & promotion —MMIX — Marketing Mix
Get started free