Skip to main content
Version: 0.15.0

Function: createHumanApprovalServer()

function createHumanApprovalServer(runDir, texts?): McpSdkServerConfigWithInstance;

Defined in: core/tools/humanApproval.ts:31

Checkpoint tool for "guided" mode: the agent explores freely, but must call this tool and wait for human approval right before any action that publishes something visible to others and that's hard to naturally undo. Everything else — browsing and reading — doesn't go through this.

Parameters​

ParameterTypeDefault value
runDirstringundefined
textsHumanApprovalTextsDEFAULT_HUMAN_APPROVAL_TEXTS

Returns​

McpSdkServerConfigWithInstance