Function: toolUseBlock()

function toolUseBlock(
   id, 
   name, 
   input): ToolUseBlock;

Defined in: messages/index.ts:44

Create a tool use content block

Parameters

Parameter Type
id string
name string
input Record<string, unknown>

Returns

ToolUseBlock