pilot_resume
Resume browser automation control after manual intervention by capturing a fresh page state snapshot for continued AI-driven task execution.
Instructions
Resume control after user handoff. Takes a fresh snapshot of the current page state.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/settings.ts:189-202 (handler)The registration and handler implementation for the 'pilot_resume' MCP tool.
server.tool( 'pilot_resume', 'Resume control after user handoff. Takes a fresh snapshot of the current page state.', {}, async () => { await bm.ensureBrowser(); try { await bm.resume(); const { takeSnapshot } = await import('../snapshot.js'); const snapshot = await takeSnapshot(bm, { interactive: true }); return { content: [{ type: 'text' as const, text: `RESUMED\n${snapshot}` }] }; } catch (err) { return { content: [{ type: 'text' as const, text: wrapError(err) }], isError: true }; }