Expand description
Internationalization support for tool descriptions.
Loads tool descriptions from TOML locale files in tool_descriptions/.
Falls back to English when a locale file or specific key is missing,
and ultimately falls back to the hardcoded tool.description() value
if no file-based description exists.
Structs§
- Tool
Descriptions - Container for locale-specific tool descriptions loaded from TOML files.
Functions§
- default_
search_ dirs - Build the default set of search directories for locale files.
- detect_
locale - Detect the user’s preferred locale from environment variables.