Ragent.Tools 0.0.1.2

dotnet add package Ragent.Tools --version 0.0.1.2
                    
NuGet\Install-Package Ragent.Tools -Version 0.0.1.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Ragent.Tools" Version="0.0.1.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Ragent.Tools" Version="0.0.1.2" />
                    
Directory.Packages.props
<PackageReference Include="Ragent.Tools" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Ragent.Tools --version 0.0.1.2
                    
#r "nuget: Ragent.Tools, 0.0.1.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Ragent.Tools@0.0.1.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Ragent.Tools&version=0.0.1.2
                    
Install as a Cake Addin
#tool nuget:?package=Ragent.Tools&version=0.0.1.2
                    
Install as a Cake Tool

Ragent.Tools

Built-in tool collections for the Ragent agentic framework.

Installation

dotnet add package Ragent.Tools

Usage

Register the Ragent.Tools assembly in your AgentConfig so the agent can discover and call the built-in tools:

using Ragent.Config;
using Ragent.LLMClients;
using Ragent.Tools;

var config = new AgentConfig {
    Model = EModel.GEMINI_2_5_FLASH,
    AdditionalAssemblies = [typeof(RagentTools).Assembly]
};

RagentTools is a marker class — referencing its assembly is all that is needed for Ragent to scan and load every tool defined in this package.

Included Tools

Database (Ragent.Tools.DB)

Tool ID Name Description
query_db Query the database Executes a SQL query and returns results

Note: The DB tool is a stub. Connect it to your data source by extending the Query class or replacing it with your own [ToolCollection].

Adding Your Own Tools

You do not need this package to define custom tools. Any [ToolCollection] class in your entry assembly is discovered automatically:

using Ragent.Reflection;

[ToolCollection]
public static class WeatherTools
{
    [Tool(Id = "get_weather", Name = "Get Weather", Description = "Returns current weather for a city")]
    public static string GetWeather(
        [ToolParam(Description = "City name")] string city)
        => $"It is sunny in {city}.";
}

No registration required — Ragent scans your entry assembly automatically.

Source & Issues

github.com/RoryLinnane-Evolve/Agent

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.0.1.2 94 5/3/2026
0.0.1.1 88 5/3/2026