Skip to content

ChatToolCallData

Defined in: src/components/editor/ChatPanel/ChatPanel.types.ts:69

Represents a single tool/function invocation within a message.

Properties

durationMs?

optional durationMs: number

Defined in: src/components/editor/ChatPanel/ChatPanel.types.ts:83

Duration of execution in milliseconds


error?

optional error: string

Defined in: src/components/editor/ChatPanel/ChatPanel.types.ts:81

Error message if status is ‘error’


id

id: string

Defined in: src/components/editor/ChatPanel/ChatPanel.types.ts:71

Unique identifier


input?

optional input: Record<string, unknown>

Defined in: src/components/editor/ChatPanel/ChatPanel.types.ts:77

Input parameters passed to the tool


name

name: string

Defined in: src/components/editor/ChatPanel/ChatPanel.types.ts:73

Tool/function name (e.g., “create_nodes”, “modify_material”)


output?

optional output: Record<string, unknown>

Defined in: src/components/editor/ChatPanel/ChatPanel.types.ts:79

Result returned by the tool


status

status: ChatToolCallStatus

Defined in: src/components/editor/ChatPanel/ChatPanel.types.ts:75

Current execution status