Class: Copilot::ToolInvocation

Inherits:
Struct
  • Object
show all
Defined in:
lib/copilot/types.rb

Overview

Context provided to a tool handler when invoked.

Instance Attribute Summary collapse

Instance Attribute Details

#argumentsObject

Returns the value of attribute arguments

Returns:

  • (Object)

    the current value of arguments



58
59
60
# File 'lib/copilot/types.rb', line 58

def arguments
  @arguments
end

#session_idObject

Returns the value of attribute session_id

Returns:

  • (Object)

    the current value of session_id



58
59
60
# File 'lib/copilot/types.rb', line 58

def session_id
  @session_id
end

#tool_call_idObject

Returns the value of attribute tool_call_id

Returns:

  • (Object)

    the current value of tool_call_id



58
59
60
# File 'lib/copilot/types.rb', line 58

def tool_call_id
  @tool_call_id
end

#tool_nameObject

Returns the value of attribute tool_name

Returns:

  • (Object)

    the current value of tool_name



58
59
60
# File 'lib/copilot/types.rb', line 58

def tool_name
  @tool_name
end