invoke method

  1. @override
Future<List<ParsedToolCall>> invoke(
  1. ChatResult input, {
  2. OutputParserOptions? options,
})
override

Invokes the output parser on the given input.

  • input - The result of an LLM call.
  • options - Not used.

Implementation

@override
Future<List<ParsedToolCall>> invoke(
  final ChatResult input, {
  final OutputParserOptions? options,
}) async {
  return _parseInvoke(input, options: options);
}