Class: Cadenya::Models::ToolApprovalRequested

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/cadenya/models/tool_approval_requested.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(tool_call_id: nil) ⇒ Object

Some parameter documentations has been truncated, see Cadenya::Models::ToolApprovalRequested for more details.

Parameters:

  • tool_call_id (String) (defaults to: nil)

    The ID of the objective tool call record. Use this ID with the ApproveToolCall o



# File 'lib/cadenya/models/tool_approval_requested.rb', line 13

Instance Attribute Details

#tool_call_idString?

The ID of the objective tool call record. Use this ID with the ApproveToolCall or DenyToolCall RPCs to approve or deny the tool call.

Returns:

  • (String, nil)


11
# File 'lib/cadenya/models/tool_approval_requested.rb', line 11

optional :tool_call_id, String, api_name: :toolCallId