Namespace LMKit.Agents.Tools.BuiltIn.Utility
Classes
- ColorInfoTool
Color utilities: contrast ratio, luminance, palette generation, random color.
- ColorModifyTool
Modifies colors: lighten, darken, saturate, desaturate, complement, blend.
- ColorParseTool
Parses and converts colors between formats: hex, RGB, HSL.
- CronNextTool
A built-in tool for computing cron execution times.
Calculate the next occurrence, enumerate multiple upcoming runs, and check whether a date matches a cron pattern.
- CronParseTool
A built-in tool for parsing and validating cron expressions.
Parse cron syntax into field descriptions, validate expressions, and describe schedules in human-readable format.
- DateTimeCalcTool
A built-in tool for date/time calculations.
Parse date strings, add intervals to dates, and compute differences between dates.
- DateTimeNowTool
A built-in tool for getting the current date/time and formatting dates.
Provides the current UTC or local time and formats date strings using custom patterns.
- DurationCalcTool
A built-in tool for duration arithmetic.
Add, subtract, compare durations, and compute time remaining until a target date.
- DurationParseTool
A built-in tool for parsing and formatting time durations.
Parse human-readable durations like "2h30m", format to various styles, convert to different units.
- HumanizeNumberTool
Humanize numbers: format with words, byte sizes (KB/MB/GB), ordinals (1st, 2nd).
- HumanizeTextTool
Humanize text: natural language lists, relative time, truncation, pluralization.
- LocaleFormatTool
Formats numbers, currency, dates, and percentages for a locale.
- LocaleInfoTool
Locale information: parse values, list locales, compare locale settings.
- MimeInfoTool
Gets MIME type details: category, whether text or binary.
- MimeLookupTool
Looks up MIME types from file extensions, filenames, or content bytes.
- PathBuildTool
A built-in tool for building and transforming file paths.
Join, normalize, combine paths and change file extensions.
- PathParseTool
A built-in tool for parsing and inspecting file paths.
Extract directory, filename, extension, check validity, and query temp paths.
- PathRelativeTool
A built-in tool for computing relative paths and common path prefixes.
Find the relative path between two locations or the common prefix of multiple paths.
- PerfBenchmarkTool
Benchmark code execution: start/stop timers, measure performance.
- PerfMonitorTool
Monitor system performance: memory usage, GC stats, CPU, thread count.
- ScheduleNextTool
Compute next schedule occurrences, find conflicts between schedules.
- ScheduleParseTool
Parse and describe recurring schedule definitions.
- SemverParseTool
Parse, validate, and compare semantic version strings.
- SemverRangeTool
Semantic version ranges: increment, check constraints, sort, find min/max.
- TimeZoneConvertTool
A built-in tool for converting times between time zones.
Convert datetimes across zones, get the current time in any zone, query UTC offsets, and check DST status.
- 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.
- UrlBuildTool
A built-in tool for building and modifying URLs.
Construct URLs from parts, join paths, and manage query parameters.
- UrlEncodeTool
A built-in tool for URL encoding and decoding.
Encode and decode full URLs or individual components.
- UrlParseTool
A built-in tool for parsing URLs into their components.
Extract scheme, host, port, path, query parameters, and other URL components.