CohereToolCall¶
- class oci.generative_ai_inference.models.CohereToolCall(**kwargs)¶
Bases:
objectA tool call generated by the model.
Methods:
__init__(**kwargs)Initializes a new CohereToolCall object with values from keyword arguments.
Attributes:
[Required] Gets the name of this CohereToolCall.
[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.
- property name¶
[Required] Gets the name of this CohereToolCall. Name of the tool to call.
- Returns
The name of this CohereToolCall.
- Return type
str
- property 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