Skip to main content

Overview

When a run script calls a destructive tool, execution pauses and returns a paused result with an executionId. Use resume to approve or deny the pending action.

Input

Annotations

  • destructiveHint: true
  • openWorldHint: true

Output

Approved

Denied

Not found

Resolution flow

  1. The resume tool first checks the local ElicitationEngine for a matching pending elicitation
  2. If found locally, it resolves the pending promise, allowing the paused script to continue
  3. If not found locally, it falls back to the resumeRemote callback (e.g., posting to the hosted API)
  4. If neither is available, it returns an error