Skip to main content

Description

Clears all messages from the console output buffer. Useful for resetting the buffer before running tests or starting a new debugging session.

Endpoint

clear_console_output

Parameters

This tool takes no parameters.

Response

ok
boolean
Returns true when the buffer has been cleared

Examples

Clear the console buffer

{}
Response:
{
  "ok": true
}

Use Cases

  • Clear old messages before running a test
  • Reset the buffer when starting a new debugging session
  • Clean up after capturing specific output you needed
  • Prevent memory buildup from long-running sessions

Build docs developers (and LLMs) love