Class: ClaudeAgentSDK::AgentDefinition
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
Agent definition configuration
Instance Attribute Summary collapse
-
#background ⇒ Object
Returns the value of attribute background.
-
#description ⇒ Object
Returns the value of attribute description.
-
#disallowed_tools ⇒ Object
Returns the value of attribute disallowed_tools.
-
#effort ⇒ Object
Returns the value of attribute effort.
-
#initial_prompt ⇒ Object
Returns the value of attribute initial_prompt.
-
#max_turns ⇒ Object
Returns the value of attribute max_turns.
-
#mcp_servers ⇒ Object
Returns the value of attribute mcp_servers.
-
#memory ⇒ Object
Returns the value of attribute memory.
-
#model ⇒ Object
Returns the value of attribute model.
-
#permission_mode ⇒ Object
Returns the value of attribute permission_mode.
-
#prompt ⇒ Object
Returns the value of attribute prompt.
-
#skills ⇒ Object
Returns the value of attribute skills.
-
#tools ⇒ Object
Returns the value of attribute tools.
Method Summary
Methods inherited from Type
#[], #[]=, from_hash, #initialize, #to_h, wrap
Constructor Details
This class inherits a constructor from ClaudeAgentSDK::Type
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ClaudeAgentSDK::Type
Instance Attribute Details
#background ⇒ Object
Returns the value of attribute background.
483 484 485 |
# File 'lib/claude_agent_sdk/types.rb', line 483 def background @background end |
#description ⇒ Object
Returns the value of attribute description.
483 484 485 |
# File 'lib/claude_agent_sdk/types.rb', line 483 def description @description end |
#disallowed_tools ⇒ Object
Returns the value of attribute disallowed_tools.
483 484 485 |
# File 'lib/claude_agent_sdk/types.rb', line 483 def disallowed_tools @disallowed_tools end |
#effort ⇒ Object
Returns the value of attribute effort.
483 484 485 |
# File 'lib/claude_agent_sdk/types.rb', line 483 def effort @effort end |
#initial_prompt ⇒ Object
Returns the value of attribute initial_prompt.
483 484 485 |
# File 'lib/claude_agent_sdk/types.rb', line 483 def initial_prompt @initial_prompt end |
#max_turns ⇒ Object
Returns the value of attribute max_turns.
483 484 485 |
# File 'lib/claude_agent_sdk/types.rb', line 483 def max_turns @max_turns end |
#mcp_servers ⇒ Object
Returns the value of attribute mcp_servers.
483 484 485 |
# File 'lib/claude_agent_sdk/types.rb', line 483 def mcp_servers @mcp_servers end |
#memory ⇒ Object
Returns the value of attribute memory.
483 484 485 |
# File 'lib/claude_agent_sdk/types.rb', line 483 def memory @memory end |
#model ⇒ Object
Returns the value of attribute model.
483 484 485 |
# File 'lib/claude_agent_sdk/types.rb', line 483 def model @model end |
#permission_mode ⇒ Object
Returns the value of attribute permission_mode.
483 484 485 |
# File 'lib/claude_agent_sdk/types.rb', line 483 def @permission_mode end |
#prompt ⇒ Object
Returns the value of attribute prompt.
483 484 485 |
# File 'lib/claude_agent_sdk/types.rb', line 483 def prompt @prompt end |
#skills ⇒ Object
Returns the value of attribute skills.
483 484 485 |
# File 'lib/claude_agent_sdk/types.rb', line 483 def skills @skills end |
#tools ⇒ Object
Returns the value of attribute tools.
483 484 485 |
# File 'lib/claude_agent_sdk/types.rb', line 483 def tools @tools end |