isCompleteJson
function isCompleteJson(raw): boolean;Defined in: core/src/tool-args.ts:200
Whether raw parses at all. Lets a caller tell a truncated tool call from
an intact one, since parseToolArgs deliberately never throws.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
raw |
string |
Returns
Section titled “Returns”boolean