Model Online / On-Site
Duration
Modules 6 modules

Course Objective & Scope

Tool calling turns an LLM from a text generator into a component that can act on enterprise systems, but poorly designed tools lead to wrong calls, loops and security holes. The course covers the function calling flow in OpenAI, Claude and Gemini, tool description and parameter schema design, tool choice settings, parallel calls and feeding tool errors back to the model.

Participants write a Model Context Protocol (MCP) server to standardise tools, and work hands-on with confirmation steps for side-effecting actions, least privilege and prompt injection risks arriving through tool outputs.

Who Should Attend?

  • Software developers connecting LLMs to internal systems and APIs
  • AI engineers running agent and assistant projects
  • Platform teams responsible for integration and security policies
  • Prerequisite: LLM API usage and REST API knowledge

Key Takeaways

  • Write clear tool definitions and parameter schemas the model can select correctly
  • Implement multi-step and parallel tool calling loops with safe limits
  • Expose an existing internal service as an MCP server
  • Design confirmation and authorisation checks for side-effecting actions
  • Measure tool selection accuracy with test scenarios

Curriculum

The Function Calling Flow
  • The message loop between model, application and tool
  • Tool choice and parallel calls in OpenAI, Claude and Gemini
Tool Design and Schema Quality
  • Naming, descriptions and parameter design
  • Keeping selection accuracy as the number of tools grows
Error Handling and Loop Control
  • Returning tool errors to the model meaningfully
  • Maximum steps, timeouts and idempotency
Standardised Tools with the Model Context Protocol (MCP)
  • MCP server and client architecture
  • Publishing an internal service as an MCP server
Security and Authorisation
  • Least privilege, user-context authorisation and confirmation steps
  • Prompt injection via tool output and OWASP LLM risks
Hands-On: An Assistant Connected to Internal Systems
  • An assistant using multiple tools on an organisational scenario
  • A test set for tool selection accuracy

Other Courses in This Category

Get in touch