Class TimeZoneListTool
A built-in tool for listing and searching time zones.
List all system time zones, get detailed zone information, and find zones by offset or name.
public sealed class TimeZoneListTool : IBuiltInTool, ITool, IToolMetadata
- Inheritance
-
TimeZoneListTool
- Implements
- Inherited Members
Examples
var tool = new TimeZoneListTool();
registry.Register(tool);
// Agent can now use: list all time zones, get zone details, search zones
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.