Перевірити рівеньКурсиПрограмиДля командТарифи
RUУвійтиРеєстрація
Перевірити рівеньКурсиПрограмиДля командТарифиТест із ClaudeПромптиБлогПитання та відповідіПошукРеєстраціяRU
AcademlКурсиTool Use in Claude: Based on Anthropic MaterialsYour First Simple Tool
Виклик інструмента get_article і результат стикуються як дві деталіЦикл агента: думка, дія, спостереженняОдин розʼєм MCP, до якого підключені файли, Git і памʼять
Курс

Tool Use in Claude: Based on Anthropic Materials

Модуль 1 · Tool Use Fundamentals
01Tool Use Overview02Your First Simple Tool
Модуль 2 · Structured Outputs and Tool Choice
03Structured JSON: Structured Outputs and Strict Tool Use04Controlling Tool Selection: tool_choice
Модуль 3 · Complete Workflow and Agentic Patterns
05Complete Workflow: tool_result and Data Return06Chatbot with Multiple Tools
Tool Use in Claude: Based on Anthropic Materials · Урок 2

Your First Simple Tool

Build a calculator tool, define it with JSON Schema in strict mode (strict: true), pass it to Claude, find every tool_use block in the response, and send the result back as a tool_result.

ENМатеріали курсів поки англійською. Інтерфейс, ШІ-наставник і перевірка завдань — українською.

25 хв читанняОновлено 09.11.20263 питання у квізіГотовий промпт включено

The Problem: Long Arithmetic Without a Tool

A language model produces its answer token by token, so an exact result for long multiplication is not guaranteed without a tool. The classic example from Anthropic's course was recorded on Claude 3 Haiku (that model was retired from the API on April 20, 2026):

Prompt:       Multiply 1984135 by 9343116. Only respond with the result
Model answer: 18593367726060
Correct:      18538003464660
Off by about 55 billion

Current models may give a different answer. For calculations where every digit matters (money, taxes, units of measure), it is safer to hand the work to code.

Далі урок відкривається після безкоштовної реєстрації

Реєстрація через email або Google відкриває перші два уроки кожного курсу назавжди і 7 днів повного доступу до всього каталогу. Картка не потрібна.

Зареєструватися безкоштовноАбо пробний урок без реєстрації →
У цьому уроці
The Problem: Long Arithmetic Without a ToolSolution: Give Claude a CalculatorFull Cycle: Find tooluse, Call the Function, Return the ResultSystem Prompt Against Tool-Hungry ClaudeПрактикаГотовий промптКвіз
КурсиКурси з LLMДля командТарифиПитання та відповідіБлогПро насКонфіденційність
© 2026 AcademlРозробка та просування сайтів —MMIX — Marketing Mix
Почати безкоштовно