pilot_close
Close the browser and clean up resources to manage memory and end automation sessions.
Instructions
Close the browser and clean up all resources.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/settings.ts:206-218 (handler)Implementation of the 'pilot_close' tool handler, which closes the browser managed by `bm`.
server.tool( 'pilot_close', 'Close the browser and clean up all resources.', {}, async () => { try { await bm.close(); return { content: [{ type: 'text' as const, text: 'Browser closed.' }] }; } catch (err) { return { content: [{ type: 'text' as const, text: wrapError(err) }], isError: true }; } } );