Type Alias: TToolCallPolicyHandler<TInput>
TToolCallPolicyHandler<
TInput> =object["handler"]
Defined in: contracts/types.ts:307
The tool's own policy on a call, evaluated by ToolPolicy.decide on the parsed input before the call runs (D87).
Declared through a method so it stays bivariant like execute: an IToolDef<{amount: number}> is still an IToolDef.
Type Parameters
TInput
TInput