Functions

checkInDeclined

Function: checkInDeclined()

checkInDeclined(input): CheckInDecision

Defined in: src/core/checkin.ts:160

Decline a pending check-in — the tool is NOT executed; the model receives a "declined by human: <note>" tool result and adapts in-loop.

Parameters

input

CheckInDecisionInput

Returns

CheckInDecision

Example

const decision = checkInDeclined({ by: 'alice@ops', note: 'amount too high' });
  const final = await agent.resume(outcome.checkpoint, decision);

On this page