toolSchemaBuilder function
Builder
toolSchemaBuilder(
- BuilderOptions options
Builder factory for the tool schema generator.
This is the entry point referenced by build.yaml. It creates a
SharedPartBuilder that uses ToolSchemaGenerator to process
@Tool()-annotated functions and emit .g.dart part files.
Implementation
Builder toolSchemaBuilder(BuilderOptions options) =>
SharedPartBuilder([ToolSchemaGenerator()], 'tool_schema');