llm_tool_calling 0.1.0 copy "llm_tool_calling: ^0.1.0" to clipboard
llm_tool_calling: ^0.1.0 copied to clipboard

discontinuedreplaced by: llm_tool

LLM tool calling and function calling for Dart & Flutter. Annotate a function with @Tool and generate its JSON schema, validation, and dispatch.

0.1.0 #

  • Initial release.
  • @Tool and @Param annotations.
  • ToolDefinition with name, description, JSON schema, requiresConfirmation and call(), which validates arguments before running the tool.
  • validateArguments(): checks required, unknown and wrongly typed arguments and reports every problem at once. Whole numbers sent as 5.0 are accepted for integer.
  • ToolArgumentException with a message an LLM can use to fix its call.
0
likes
0
points
--
downloads

Publisher

verified publisheramitgp.dev

Weekly Downloads

LLM tool calling and function calling for Dart & Flutter. Annotate a function with @Tool and generate its JSON schema, validation, and dispatch.

Repository (GitHub)
View/report issues

Topics

#llm #tool-calling #function-calling #ai-agents #codegen

License

unknown (license)

More

Packages that depend on llm_tool_calling