Skip to content
1 min read · 59 words

Variable: E_INVALID_INITIAL_TOOL_CALL_VALUE ​

ts
const E_INVALID_INITIAL_TOOL_CALL_VALUE: CreatedException<[]>;

Defined in: src/lib/exceptions/runtime.ts:373

Thrown when a @nhtio/adk!ToolCall is initialised with a value that fails schema validation.

Remarks ​

ToolCall requires id, tool, args, checksum, isComplete, isError, createdAt, and updatedAt to be present and of the correct type. Passing an incomplete or incorrectly typed object signals a programming error in the caller, not a recoverable runtime condition.