Tool use and function calling

Tool use lets Claude act on real systems: query a database, call an API, run an internal service. This course teaches developers to connect Claude safely to the tools their organization already uses.

Tool Use and Function Calling: Connecting Claude to APIs, Databases and Internal Tools

  • Duration: 2 days
  • Format: instructor-led, online or onsite, with hands-on labs
  • Level: intermediate

Who should attend

  • Backend and integration developers
  • Developers building assistants that take actions
  • Engineers preparing to build agents

Objectives

  • Define tools with clear names, descriptions and JSON schemas
  • Handle the tool-use cycle: tool calls, execution and results
  • Connect Claude to REST APIs, databases and internal services
  • Use the Model Context Protocol (MCP) to expose tools and data
  • Validate inputs and control what tools are allowed to do

Course outline

  1. How tool use works: the request, tool call and result cycle
  2. Defining tools: names, descriptions and input schemas
  3. The tool-use loop in code: running calls and returning results
  4. Multiple tools: parallel and sequential tool calls
  5. Connecting systems: REST APIs and databases
  6. Server tools: web search and code execution
  7. Model Context Protocol: building and using MCP servers
  8. Safety: input validation, permissions and human approval
  9. Tool errors: timeouts, failures and fallbacks
  10. Capstone lab: an assistant that queries a database and calls an internal API

Prerequisites

Claude API Fundamentals and Prompt Design. Experience with REST APIs and JSON.

Request a quote or a customized program: ask us about other Anthropic and AI topics, or a version tailored to your environment. Contact us for dates and prices.