kToolCallMarker top-level constant
String
const kToolCallMarker
The marker a call is wrapped in.
A marker rather than "reply in JSON" for two reasons: an ordinary answer that happens to contain a JSON block is not mistaken for a call, and the marker lands in the first streamed chunk, so a caller can tell a call from prose after a handful of characters.
Implementation
const String kToolCallMarker = '<<<TOOL_CALL>>>';