Class: Puppeteer::WebMCPToolCallResult

Inherits:
Object
  • Object
show all
Defined in:
lib/puppeteer/web_mcp.rb,
sig/puppeteer/web_mcp.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id:, call:, status:, output:, error_text:, exception:) ⇒ Object

Parameters:

  • id: (String)
  • call: (Puppeteer::WebMCPToolCall, nil)
  • status: (String)
  • output: (Object)
  • error_text: (String, nil)
  • exception: (Hash[String, untyped], nil)


81
82
83
84
85
86
87
88
# File 'lib/puppeteer/web_mcp.rb', line 81

def initialize(id:, call:, status:, output:, error_text:, exception:)
  @id = id
  @call = call
  @status = status
  @output = output
  @error_text = error_text
  @exception = exception
end

Instance Attribute Details

#callObject (readonly)

Returns the value of attribute call.

Returns:

  • (Object)


90
91
92
# File 'lib/puppeteer/web_mcp.rb', line 90

def call
  @call
end

#error_textObject (readonly)

Returns the value of attribute error_text.

Returns:

  • (Object)


90
91
92
# File 'lib/puppeteer/web_mcp.rb', line 90

def error_text
  @error_text
end

#exceptionObject (readonly)

Returns the value of attribute exception.

Returns:

  • (Object)


90
91
92
# File 'lib/puppeteer/web_mcp.rb', line 90

def exception
  @exception
end

#idObject (readonly)

Returns the value of attribute id.

Returns:

  • (Object)


90
91
92
# File 'lib/puppeteer/web_mcp.rb', line 90

def id
  @id
end

#outputObject (readonly)

Returns the value of attribute output.

Returns:

  • (Object)


90
91
92
# File 'lib/puppeteer/web_mcp.rb', line 90

def output
  @output
end

#statusObject (readonly)

Returns the value of attribute status.

Returns:

  • (Object)


90
91
92
# File 'lib/puppeteer/web_mcp.rb', line 90

def status
  @status
end