Skip to content

ChainGraph API Documentation / @badaitech/chaingraph-nodes / ToolResultBlock

Class: ToolResultBlock ​

Defined in: packages/chaingraph-nodes/src/nodes/ai/anthropic/types.ts:155

Tool result content block (for input)

Extends ​

Constructors ​

Constructor ​

new ToolResultBlock(): ToolResultBlock

Defined in: packages/chaingraph-nodes/src/nodes/ai/anthropic/types.ts:173

Returns ​

ToolResultBlock

Overrides ​

ContentBlockBase.constructor

Properties ​

content ​

content: string = ''

Defined in: packages/chaingraph-nodes/src/nodes/ai/anthropic/types.ts:171


index? ​

optional index: number

Defined in: packages/chaingraph-nodes/src/nodes/ai/anthropic/types.ts:99

Inherited from ​

ContentBlockBase.index


tool_use_id ​

tool_use_id: string = ''

Defined in: packages/chaingraph-nodes/src/nodes/ai/anthropic/types.ts:161


type ​

type: string = ''

Defined in: packages/chaingraph-nodes/src/nodes/ai/anthropic/types.ts:92

Inherited from ​

ContentBlockBase.type

Licensed under BUSL-1.1