Namespace LMKit.Agents.Tools.BuiltIn.Text
Classes
- AsciiArtGenerateTool
A built-in tool for ASCII art generation.
Generate text banners, boxes, tables, lines, progress bars, trees, and list available fonts.
- DiffCompareTool
Compares two texts and shows differences in various formats.
Supports side-by-side comparison, unified diff output, and inline change display.
- DiffStatsTool
Gets diff statistics between two texts.
Returns counts of lines added, removed, unchanged, and overall change percentage. Can also return just the added or removed lines.
- EncodingConvertTool
Converts text between encodings, encodes text to bytes, decodes bytes to text, or fixes mojibake.
Supports all standard .NET encodings including UTF-8, UTF-16, ISO-8859-1, Windows-1252, Shift-JIS, and more.
- EncodingDetectTool
Detects text encoding and retrieves encoding information.
Analyzes text or byte data to determine encoding, or returns detailed metadata about a named encoding.
- EncodingListTool
Lists common text encodings with their names and code pages.
Returns a catalog of widely used encodings including UTF variants, ISO standards, Windows code pages, and CJK encodings.
- FuzzyDistanceTool
Computes string similarity using Levenshtein distance, Jaro similarity, or Jaro-Winkler similarity.
- FuzzyMatchTool
Finds the best or all fuzzy matches from a list of candidates.
- PhoneticEncodeTool
A built-in tool for phonetic encoding algorithms.
Soundex, Metaphone, Double Metaphone for fuzzy name matching.
- RegexMatchTool
A built-in tool for matching regex patterns against text.
Supports finding the first match, all matches, testing if a pattern matches, and extracting named capture groups.
- RegexReplaceTool
A built-in tool for replacing or splitting text using regex patterns.
Supports pattern-based replacement with back-references ($1, $2, ${name}) and splitting text by regex delimiters.
- RegexToolOptions
Configuration options shared by all regex tools.
- RegexValidateTool
A built-in tool for validating regex patterns and escaping special characters.
Validates whether a pattern is syntactically correct and reports its capture groups, or escapes special regex characters in a string for safe literal matching.
- SlugGenerateTool
A built-in tool for URL slugification, filename sanitization, and naming convention conversion.
Generate URL-safe slugs, sanitize filenames, transliterate to ASCII, remove diacritics, and convert between kebab-case, snake_case, camelCase, PascalCase, and Title Case.
- TemplateAnalyzeTool
Analyzes a text template: extract variables, validate syntax, or escape/unescape template delimiters.
- TemplateRenderTool
Renders a text template with variable substitution, conditionals, and loops.
- TextManipulateTool
A built-in tool for text manipulation operations.
Supports replace, split, join, and substring extraction.
- TextSearchTool
A built-in tool for searching within text.
Supports contains, starts-with, ends-with checks, and regex match/extract operations.
- TextStatsTool
A built-in tool for computing text statistics.
Returns character count, word count, line count, and character count excluding whitespace.
- TextTransformTool
A built-in tool for text transformation operations.
Supports case conversion (upper, lower, title), trimming whitespace, and reversing text.