DirectToolCallHandler
DirectToolCallHandler = (
toolName,toolInput,toolId) =>Promise<string| {content:string;isError?:boolean; }>
Defined in: types.ts:36
Handler for tool calls in direct mode.
Parameters
Section titled “Parameters”toolName
Section titled “toolName”string
toolInput
Section titled “toolInput”Record<string, unknown>
toolId
Section titled “toolId”string
Returns
Section titled “Returns”Promise<string | { content: string; isError?: boolean; }>