# LlmAgent

constructor(name: String, model: Model, description: String = "", subAgents: List<BaseAgent> = emptyList(), beforeAgentCallbacks: List<BeforeAgentCallback> = emptyList(), afterAgentCallbacks: List<AfterAgentCallback> = emptyList(), disallowTransferToParent: Boolean = false, disallowTransferToPeers: Boolean = false, tools: List<BaseTool> = emptyList(), toolsets: List<Toolset> = emptyList(), generateContentConfig: GenerateContentConfig? = null, instruction: Instruction? = null, staticInstruction: Content? = null, beforeModelCallbacks: List<BeforeModelCallback> = emptyList(), afterModelCallbacks: List<AfterModelCallback> = emptyList(), beforeToolCallbacks: List<BeforeToolCallback> = emptyList(), afterToolCallbacks: List<AfterToolCallback> = emptyList(), inputSchema: Schema? = null, onModelErrorCallbacks: List<OnModelErrorCallback> = emptyList(), onToolErrorCallbacks: List<OnToolErrorCallback> = emptyList(), includeContents: LlmAgent.IncludeContents = IncludeContents.DEFAULT)