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

Provider-neutral tool calling for flutter_ai: declare tools with executors, run tool calls into results, and expose web search as a tool — all in pure Dart with no Flutter dependency.

Changelog #

0.1.0 #

Initial release.

  • ToolSpec — a tool declaration (name, description, JSON-Schema parametersSchema) plus an optional client-side execute; toDefinition() yields the model-facing ToolDefinition.
  • ToolRegistry — registers tools, exposes their definitions for a provider, and runs a ToolCallPart into a ToolResultPart, capturing unknown tools and thrown executors as error results instead of crashing.
  • WebSearchAdapter + webSearchTool + SearchResult — expose any web-search backend as a callable tool.
  • Pure Dart; re-exports flutter_ai_core.
0
likes
0
points
289
downloads

Publisher

unverified uploader

Weekly Downloads

Provider-neutral tool calling for flutter_ai: declare tools with executors, run tool calls into results, and expose web search as a tool — all in pure Dart with no Flutter dependency.

Homepage
Repository (GitHub)
View/report issues

Topics

#ai #llm #tool-calling #chat #flutter

License

unknown (license)

Dependencies

flutter_ai_core

More

Packages that depend on flutter_ai_tools