Class UrlTool
A built-in tool for URL parsing and manipulation.
Parse, build, encode, decode, and manipulate URLs properly.
public sealed class UrlTool : ITool
- Inheritance
-
UrlTool
- Implements
- Inherited Members
Examples
var tool = new UrlTool();
registry.Register(tool);
// Agent can now: parse URLs, build query strings, encode/decode
Properties
- Description
Gets a concise description of what the tool does.
- InputSchema
Gets the JSON Schema defining the expected input arguments.
- Name
Gets the stable, unique identifier for this tool.
Methods
- InvokeAsync(string, CancellationToken)
Executes the tool with the specified JSON arguments.