ToolCallReader typedef
The tool calls in a raw LiteRT-LM reply: each call's name and arguments. Reading them is chat-template knowledge (a model can write a call as text), which the caller owns; the Flutter adapter passes core's parser.
Implementation
typedef ToolCallReader =
List<({String name, Map<String, Object?> arguments})> Function(
String rawReply,
);