Type Alias: ToolCallParserFn
ts
type ToolCallParserFn = (
rawText: string,
ctx: ToolCallParserContext,
) => ToolCallParseResult;Defined in: src/batteries/llm/chat_common/tool_parsers.ts:69
A synchronous tool-call text parser.
Parameters
| Parameter | Type |
|---|---|
rawText | string |
ctx | ToolCallParserContext |