flutter_ai_tools 0.1.4
flutter_ai_tools: ^0.1.4 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. Pure Dart.
Changelog #
0.1.4 #
- Docs: shortened the pubspec
descriptioninto pub.dev's 60–180 character window so it renders in full in search results. No code changes.
0.1.3 #
- Docs: refreshed the README listing with a hero image, screenshot gallery, and badges (consistent across the package family). No code changes.
0.1.2 #
- Declares supported
platforms:(all 6) for the pub.dev listing.
0.1.1 #
- Docs: added a "Buy me a coffee" (Ko-fi) support section to the README. No code changes.
0.1.0 #
Initial release.
ToolSpec— a tool declaration (name,description, JSON-SchemaparametersSchema) plus an optional client-sideexecute;toDefinition()yields the model-facingToolDefinition.ToolRegistry— registers tools, exposes theirdefinitionsfor a provider, andruns aToolCallPartinto aToolResultPart, 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.