wipe_logs
Clear all stored logs from memory in the Chromium ARM64 Browser to maintain privacy and optimize performance during automation tasks.
Instructions
Clear all stored logs from memory
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- index.js:801-810 (handler)The main handler function that executes the wipe_logs tool by clearing all global log storage arrays (consoleLogs, consoleErrors, networkLogs, networkErrors) and returning a confirmation message.async wipeLogs() { consoleLogs = []; consoleErrors = []; networkLogs = []; networkErrors = []; return { content: [{ type: 'text', text: 'All logs cleared from memory' }], }; }
- index.js:263-270 (registration)Registration of the wipe_logs tool in the ListToolsRequestSchema handler, defining its name, description, and input schema (empty object).{ name: 'wipe_logs', description: 'Clear all stored logs from memory', inputSchema: { type: 'object', properties: {}, }, },
- index.js:375-376 (registration)Dispatch case in the CallToolRequestSchema handler that routes calls to the wipeLogs method.case 'wipe_logs': return await this.wipeLogs();