Frontmatec.AI.Tools
0.0.15
dotnet add package Frontmatec.AI.Tools --version 0.0.15
NuGet\Install-Package Frontmatec.AI.Tools -Version 0.0.15
<PackageReference Include="Frontmatec.AI.Tools" Version="0.0.15" />
<PackageVersion Include="Frontmatec.AI.Tools" Version="0.0.15" />
<PackageReference Include="Frontmatec.AI.Tools" />
paket add Frontmatec.AI.Tools --version 0.0.15
#r "nuget: Frontmatec.AI.Tools, 0.0.15"
#:package Frontmatec.AI.Tools@0.0.15
#addin nuget:?package=Frontmatec.AI.Tools&version=0.0.15
#tool nuget:?package=Frontmatec.AI.Tools&version=0.0.15
Frontmatec.AI.Tools
Ready-made ILlmTool implementations for
Frontmatec.AI agents: drop them in and the agent can call them.
Tools
| Tool | Does |
|---|---|
NowTool |
Current date/time as an ISO-8601 timestamp (optional IANA timezone). Read-only. |
ReadUrlTool |
Fetches a URL and returns readable text (HTML stripped via HtmlAgilityPack). Asks before it runs. |
XkcdTool |
Looks up an XKCD comic: title, alt text, image URL. |
Install
dotnet add package Frontmatec.AI.Tools
Use
Register the tools you want and bridge them to the agent's provider path:
services
.AddSingleton<ILlmTool, NowTool>()
.AddSingleton<ILlmTool, ReadUrlTool>()
.AddSingleton<ILlmToolProvider, StaticLlmToolProvider>();
The agent picks them up automatically, and so does the MCP server if you add Frontmatec.AI.Mcp.
ReadUrlTool settings
ReadUrlToolOptions, passed as IOptions<ReadUrlToolOptions>:
| Setting | Default | Meaning |
|---|---|---|
FileRoot |
null | The folder local files may be read from. Null turns local files off |
AllowPrivateNetwork |
false | Whether private, loopback, link-local and cloud metadata addresses may be read |
MaxBytes |
2 000 000 | The most bytes read from a page or file |
Addresses are checked when the connection is made, so redirects and host names that resolve to the
local network are refused too. With the local network blocked, no proxy is used.
These tools are also a working reference for writing your own; see the repository docs/tools.md.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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
- Frontmatec.AI (>= 0.0.15)
- HtmlAgilityPack (>= 1.11.71)
-
net8.0
- Frontmatec.AI (>= 0.0.15)
- HtmlAgilityPack (>= 1.11.71)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.