Class: ClaudeAgentSDK::SdkMcpPrompt
- Inherits:
-
Object
- Object
- ClaudeAgentSDK::SdkMcpPrompt
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
SDK MCP Prompt definition
Instance Attribute Summary collapse
-
#arguments ⇒ Object
Returns the value of attribute arguments.
-
#description ⇒ Object
Returns the value of attribute description.
-
#generator ⇒ Object
Returns the value of attribute generator.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name:, description: nil, arguments: nil, generator:) ⇒ SdkMcpPrompt
constructor
A new instance of SdkMcpPrompt.
Constructor Details
#initialize(name:, description: nil, arguments: nil, generator:) ⇒ SdkMcpPrompt
Returns a new instance of SdkMcpPrompt.
883 884 885 886 887 888 |
# File 'lib/claude_agent_sdk/types.rb', line 883 def initialize(name:, description: nil, arguments: nil, generator:) @name = name @description = description @arguments = arguments @generator = generator end |
Instance Attribute Details
#arguments ⇒ Object
Returns the value of attribute arguments.
881 882 883 |
# File 'lib/claude_agent_sdk/types.rb', line 881 def arguments @arguments end |
#description ⇒ Object
Returns the value of attribute description.
881 882 883 |
# File 'lib/claude_agent_sdk/types.rb', line 881 def description @description end |
#generator ⇒ Object
Returns the value of attribute generator.
881 882 883 |
# File 'lib/claude_agent_sdk/types.rb', line 881 def generator @generator end |
#name ⇒ Object
Returns the value of attribute name.
881 882 883 |
# File 'lib/claude_agent_sdk/types.rb', line 881 def name @name end |