wipe_logs
Remove all stored logs from memory to free up resources and maintain system efficiency on the chromium-arm64 server.
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 handler function for the 'wipe_logs' tool. It clears all global 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:375-376 (registration)Dispatch/registration in the CallToolRequestSchema switch statement, calling the wipeLogs handler.case 'wipe_logs': return await this.wipeLogs();
- index.js:263-270 (registration)Tool registration in the ListToolsRequestSchema response, 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 definition for the wipe_logs tool (empty object, no parameters required).inputSchema: { type: 'object', properties: {}, },