Class: PostHog::MCP::PreparedToolCall

Inherits:
Struct
  • Object
show all
Defined in:
lib/posthog/mcp/options.rb

Overview

Result of Client#prepare_tool_call: the intent and the self-reported model pulled off the call, the arguments with the injected context and llm_model stripped, and whether the call targeted the get_more_tools virtual tool.

Instance Attribute Summary collapse

Instance Attribute Details

#args ⇒ Object

Returns the value of attribute args

Returns:

  • (Object) —

    the current value of args



42
43
44
# File 'lib/posthog/mcp/options.rb', line 42

def args
  @args
end

#intent ⇒ Object

Returns the value of attribute intent

Returns:

  • (Object) —

    the current value of intent



42
43
44
# File 'lib/posthog/mcp/options.rb', line 42

def intent
  @intent
end

#intent_source ⇒ Object

Returns the value of attribute intent_source

Returns:

  • (Object) —

    the current value of intent_source



42
43
44
# File 'lib/posthog/mcp/options.rb', line 42

def intent_source
  @intent_source
end

#is_missing_capability ⇒ Object

Returns the value of attribute is_missing_capability

Returns:

  • (Object) —

    the current value of is_missing_capability



42
43
44
# File 'lib/posthog/mcp/options.rb', line 42

def is_missing_capability
  @is_missing_capability
end

#llm_model ⇒ Object

Returns the value of attribute llm_model

Returns:

  • (Object) —

    the current value of llm_model



42
43
44
# File 'lib/posthog/mcp/options.rb', line 42

def llm_model
  @llm_model
end

#llm_model_source ⇒ Object

Returns the value of attribute llm_model_source

Returns:

  • (Object) —

    the current value of llm_model_source



42
43
44
# File 'lib/posthog/mcp/options.rb', line 42

def llm_model_source
  @llm_model_source
end