types.ContentToolRequest

types.ContentToolRequest(self, id, name, arguments)

A request to call a tool/function

This content type isn’t meant to be used directly. Instead, it’s automatically generated by Chat when a tool/function is requested by the model assistant.

Parameters

Name Type Description Default
id str A unique identifier for this request. required
name str The name of the tool/function to call. required
arguments object The arguments to pass to the tool/function. required