agent


Description:

public Interface? agent { get; set; }

Reference to the agent for this tool request.

For agentic usage: This is the Base agent (implements Agent.Interface). For non-agentic usage: This is a dummy agent implementation (implements Agent.Interface).

Tools access resources via this.agent.chat(), this.agent.get_permission_provider(), this.agent.add_message().