types.ContentToolRequest
types.ContentToolRequest()
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 | A unique identifier for this request. | required | |
name | The name of the tool/function to call. | required | |
arguments | The arguments to pass to the tool/function. | required |