Skip to main content

Module tools

Module tools 

Source
Expand description

Tool definition utilities for the Copilot SDK.

Provides convenience functions for defining tools with automatic result normalization and error handling.

Functions§

define_tool
Define a tool with metadata for registration on a session.
normalize_result
Normalize any result into a ToolResultObject.