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
<PackageReference Include="Ragent.Tools" Version="0.0.1.2" />
<PackageVersion Include="Ragent.Tools" Version="0.0.1.2" />
<PackageReference Include="Ragent.Tools" />
paket add Ragent.Tools --version 0.0.1.2
#r "nuget: Ragent.Tools, 0.0.1.2"
#:package Ragent.Tools@0.0.1.2
#addin nuget:?package=Ragent.Tools&version=0.0.1.2
#tool nuget:?package=Ragent.Tools&version=0.0.1.2
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
Queryclass 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
| Product | Versions 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. |
-
net10.0
- Newtonsoft.Json (>= 13.0.3)
- Ragent (>= 0.0.1.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.