Skip to main content
Version: Next

Variable: parseToolCall()

const parseToolCall: (message) => ToolCall[]

Defined in: utils/llm.ts:16

Parses tool calls from a given message string.

Parameters

message

string

The message string containing tool calls in JSON format.

Returns

ToolCall[]

An array of ToolCall objects extracted from the message.

We are Software Mansion.