llm_tool_calling_generator 0.1.0
llm_tool_calling_generator: ^0.1.0 copied to clipboard
Code generator for llm_tool_calling. Turns @Tool-annotated Dart functions into LLM tool definitions with JSON schemas.
0.1.0 #
- Initial release.
- Generates a
<functionName>ToolToolDefinitionfor every@Tooltop-level function. - Parameter types:
String,int,double,num,bool, nullable or not, positional or named, with or without defaults. - Description from
@Tool(description:)or the doc comment (///or/** */). - Sync, async and
voidfunctions. - Build-time errors for unsupported types, missing descriptions, invalid tool
names, generic functions and
@Toolon methods.