Skip to content

list_console_message TOO VERBOSE TOO MUCH TOKENS #171

@santoldev

Description

@santoldev

Describe the bug
The list_console_message tool is very verbose.
example: when copying directly from browser console its only 8k tokens.
when using list_console_messages tool its 40k tokens.
truncate or remove not important parts like timestamp t=1758906781192:597:24 too many of t=XXXX:line:line too many Log>
Right now this mcp is just another Playwright/puppeeter, unusable, the list_console_messages are too verbose , we cant actually use this for continues debuging, and there are no FILTER OPTION <--- very important
its also good to return only pure text without the objects or arrays.
Take note when i test this its all Pure text logs, no object/arrays console logging.

To Reproduce
do a real debugging with console logs , use list_console_messages, compare normal copy directly from browser console and compare with list_console_messages output. compare token length difference

Expected behavior
same or similar token count from Direct Copy vs list_console_messages.

Chrome version: LTS
Coding agent version: LTS
Model version: LTS

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions