llm_tool_calling 0.6.1
llm_tool_calling: ^0.6.1 copied to clipboard
Turn Dart functions into LLM tools for OpenAI, Gemini and Claude. Annotate with @Tool to generate the JSON schema, argument validation and type-safe dispatch.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add llm_tool_callingWith Flutter:
$ flutter pub add llm_tool_callingThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
llm_tool_calling: ^0.6.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:llm_tool_calling/llm_tool_calling.dart';