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.
1878 1879 1880 1881 1882 1883 |
# File 'lib/claude_agent_sdk/types.rb', line 1878 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.
1876 1877 1878 |
# File 'lib/claude_agent_sdk/types.rb', line 1876 def arguments @arguments end |
#description ⇒ Object
Returns the value of attribute description.
1876 1877 1878 |
# File 'lib/claude_agent_sdk/types.rb', line 1876 def description @description end |
#generator ⇒ Object
Returns the value of attribute generator.
1876 1877 1878 |
# File 'lib/claude_agent_sdk/types.rb', line 1876 def generator @generator end |
#name ⇒ Object
Returns the value of attribute name.
1876 1877 1878 |
# File 'lib/claude_agent_sdk/types.rb', line 1876 def name @name end |