Overview
When arun 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: trueopenWorldHint: true
Output
Approved
Denied
Not found
Resolution flow
- The
resumetool first checks the localElicitationEnginefor a matching pending elicitation - If found locally, it resolves the pending promise, allowing the paused script to continue
- If not found locally, it falls back to the
resumeRemotecallback (e.g., posting to the hosted API) - If neither is available, it returns an error