MCP Clients the agent is connected to
The name of the agent.
The provider
The system prompt for the agent. Uses the default settings returned by defaultSettings if not provided.
The tools available to the agent.
Removes a tool from the agent
Returns a tool by name
Call the Provider's language model to generate a text response from the supplied prompt or messages.
This will compile all agent tool sources into a single map. It will use all class tools, all mcp client tools, and any extra tools passed in as an argument to the function.
Creates an instance of TinyAgent.