Class: ClaudeAgentSDK::AgentDefinition

Inherits:
Type
  • Object
show all
Defined in:
lib/claude_agent_sdk/types.rb

Overview

Agent definition configuration

Instance Attribute Summary collapse

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

#backgroundObject

Returns the value of attribute background.



483
484
485
# File 'lib/claude_agent_sdk/types.rb', line 483

def background
  @background
end

#descriptionObject

Returns the value of attribute description.



483
484
485
# File 'lib/claude_agent_sdk/types.rb', line 483

def description
  @description
end

#disallowed_toolsObject

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

#effortObject

Returns the value of attribute effort.



483
484
485
# File 'lib/claude_agent_sdk/types.rb', line 483

def effort
  @effort
end

#initial_promptObject

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_turnsObject

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_serversObject

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

#memoryObject

Returns the value of attribute memory.



483
484
485
# File 'lib/claude_agent_sdk/types.rb', line 483

def memory
  @memory
end

#modelObject

Returns the value of attribute model.



483
484
485
# File 'lib/claude_agent_sdk/types.rb', line 483

def model
  @model
end

#permission_modeObject

Returns the value of attribute permission_mode.



483
484
485
# File 'lib/claude_agent_sdk/types.rb', line 483

def permission_mode
  @permission_mode
end

#promptObject

Returns the value of attribute prompt.



483
484
485
# File 'lib/claude_agent_sdk/types.rb', line 483

def prompt
  @prompt
end

#skillsObject

Returns the value of attribute skills.



483
484
485
# File 'lib/claude_agent_sdk/types.rb', line 483

def skills
  @skills
end

#toolsObject

Returns the value of attribute tools.



483
484
485
# File 'lib/claude_agent_sdk/types.rb', line 483

def tools
  @tools
end