assertResultCeiling

Function: assertResultCeiling()

assertResultCeiling(toolName, ceiling): void

Defined in: src/tools/tools.ts:446

Refuse a resultCeiling this library cannot honor, at definition time — naming the tool and the fix, never failing at the first oversized result of the first run. Exported beside lib/toolName.ts · assertValidToolName for consumers assembling Tool objects by hand.

Parameters

toolName

string

ceiling

ToolResultCeiling | undefined

Returns

void

On this page