function toolResultBlock(
toolUseId,
content,
isError?): ToolResultBlock;
Defined in: messages/index.ts:55
Create a tool result content block
Parameters
| Parameter | Type | Default value |
toolUseId | string | undefined |
content | string | undefined |
isError | boolean | false |
Returns
ToolResultBlock