llm_tool_generator 0.8.0 copy "llm_tool_generator: ^0.8.0" to clipboard
llm_tool_generator: ^0.8.0 copied to clipboard

Code generator for llm_tool. Turns @LlmTool-annotated Dart functions into LLM tools for OpenAI, Gemini, Claude and MCP, with JSON schemas and validation.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add llm_tool_generator

With Flutter:

 $ flutter pub add llm_tool_generator

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  llm_tool_generator: ^0.8.0

Alternatively, 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_generator/llm_tool_generator.dart';
4
likes
160
points
0
downloads

Documentation

API reference

Publisher

verified publisheramitgp.dev

Weekly Downloads

Code generator for llm_tool. Turns @LlmTool-annotated Dart functions into LLM tools for OpenAI, Gemini, Claude and MCP, with JSON schemas and validation.

Homepage
Repository (GitHub)
View/report issues

Topics

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

License

MIT (license)

Dependencies

analyzer, build, llm_tool, source_gen

More

Packages that depend on llm_tool_generator