Parameter Type Sanitizer

•
8
•

Validates and coerces runtime function arguments to prevent TypeError crashes during LLM tool dispatch.

Ensure your Large Language Model (LLM) agents execute tools flawlessly with this essential runtime skill. It meticulously sanitizes function call parameters, performing crucial type coercion from strings to numerics and booleans, enforcing boundary constraints, and providing robust input validation. This process prevents common TypeError crashes, guaranteeing reliable and type-safe tool execution every time your LLM dispatches a command.

主要功能

01Zero external dependencies
028 GitHub stars
03String-to-Numeric & Bool Coercion
04Range Clamping for numeric inputs

使用案例

01Normalizing LLM-generated string arguments into expected data types and ranges
02Ensuring type safety for arguments passed from LLMs to external tools
03Preventing TypeError crashes in LLM agent tool dispatch