Skip to content
providerkit
GitHub

isCompleteJson

function isCompleteJson(raw): boolean;

Defined in: core/src/tool-args.ts:199

Whether raw parses at all. Lets a caller tell a truncated tool call from an intact one, since parseToolArgs deliberately never throws.

Parameter Type
raw string

boolean