2.3 KiB
ToolToolCall
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Arguments | Pointer to map[string]interface{} | Arguments is the tool's own input object, passed through verbatim to whichever source owns it. | [optional] |
| Name | Pointer to string | Name is the tool to run, exactly as GET /v1/tool reports it. | [optional] |
Methods
NewToolToolCall
func NewToolToolCall() *ToolToolCall
NewToolToolCall instantiates a new ToolToolCall object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
NewToolToolCallWithDefaults
func NewToolToolCallWithDefaults() *ToolToolCall
NewToolToolCallWithDefaults instantiates a new ToolToolCall object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
GetArguments
func (o *ToolToolCall) GetArguments() map[string]interface{}
GetArguments returns the Arguments field if non-nil, zero value otherwise.
GetArgumentsOk
func (o *ToolToolCall) GetArgumentsOk() (*map[string]interface{}, bool)
GetArgumentsOk returns a tuple with the Arguments field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetArguments
func (o *ToolToolCall) SetArguments(v map[string]interface{})
SetArguments sets Arguments field to given value.
HasArguments
func (o *ToolToolCall) HasArguments() bool
HasArguments returns a boolean if a field has been set.
GetName
func (o *ToolToolCall) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *ToolToolCall) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetName
func (o *ToolToolCall) SetName(v string)
SetName sets Name field to given value.
HasName
func (o *ToolToolCall) HasName() bool
HasName returns a boolean if a field has been set.