Class UrlBuildTool
A built-in tool for building and modifying URLs.
Construct URLs from parts, join paths, and manage query parameters.
public sealed class UrlBuildTool : IBuiltInTool, ITool, IToolMetadata
- Inheritance
-
UrlBuildTool
- Implements
- Inherited Members
Examples
var tool = new UrlBuildTool();
registry.Register(tool);
// Agent can now: build URLs, join base/relative URLs, set/remove query parameters
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.