CohereToolCall

class oci.generative_ai_inference.models.CohereToolCall(**kwargs)

Bases: object

A tool call generated by the model.

Methods

__init__(**kwargs) Initializes a new CohereToolCall object with values from keyword arguments.

Attributes

name [Required] Gets the name of this CohereToolCall.
parameters [Required] Gets the parameters of this CohereToolCall.
__init__(**kwargs)

Initializes a new CohereToolCall object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • name (str) – The value to assign to the name property of this CohereToolCall.
  • parameters (object) – The value to assign to the parameters property of this CohereToolCall.
name

[Required] Gets the name of this CohereToolCall. Name of the tool to call.

Returns:The name of this CohereToolCall.
Return type:str
parameters

[Required] Gets the parameters of this CohereToolCall. The parameters to use when invoking a tool.

Returns:The parameters of this CohereToolCall.
Return type:object