wipe_logs
Clear all stored logs from memory to free up resources and maintain system performance during browser automation and web testing on ARM64 devices.
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 for the wipe_logs tool. It clears all in-memory log arrays (consoleLogs, consoleErrors, networkLogs, networkErrors) and returns a success 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 MCP server tools array, including name, description, and empty input schema.{ name: 'wipe_logs', description: 'Clear all stored logs from memory', inputSchema: { type: 'object', properties: {}, }, },
- index.js:266-269 (schema)Input schema for wipe_logs tool: an empty object (no parameters required).inputSchema: { type: 'object', properties: {}, },
- index.js:375-376 (registration)Dispatch case in the tool request handler that routes 'wipe_logs' calls to the wipeLogs method.case 'wipe_logs': return await this.wipeLogs();