Tools# This page documents the Tool API for function calling capabilities. Note Swift Equivalent: This Python API corresponds to the Tool protocol in the Swift Foundation Models Framework. Tool Class#