FunctionCall

class oci.generative_ai_agent_runtime.models.FunctionCall(**kwargs)

Bases: object

Represent a function call the client need to execute in order to fulfill the required action.

Methods

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

Attributes

arguments [Required] Gets the arguments of this FunctionCall.
name [Required] Gets the name of this FunctionCall.
__init__(**kwargs)

Initializes a new FunctionCall 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 FunctionCall.
  • arguments (str) – The value to assign to the arguments property of this FunctionCall.
arguments

[Required] Gets the arguments of this FunctionCall. Arguments for the function call as a JSON string.

Returns:The arguments of this FunctionCall.
Return type:str
name

[Required] Gets the name of this FunctionCall. Name of the function to be executed.

Returns:The name of this FunctionCall.
Return type:str