chrome-devtools-mcp
chrome-devtools-mcp copied to clipboard
[Task]: Consider replacing custom formatters with TOON or GCF
Task to do:
TOON is landed behind a flag GCF is being added the same way by external contributor in #2235
We need to eval agent correctness and token efficiency in all three variants.
Using standardized format can lower development and maintenance costs (no custom formatters when we add or modify structured data).
If we decide on either option, we need to add unit tests for it (for GCE contributor offered to create then).
Both options come with provenance now.
Hi, just noticing this:
The GCF unit tests are already up in #2343 (follow-up to #2235). They decode the emitted block with @blackwell-systems/gcf and assert:
- round-trip losslessness (decode(GCF) equals the original structuredContent);
- structuredContent is byte-identical with and without the flag — only the text representation changes, so MCP clients that read structuredContent are unaffected;
- values carrying delimiters and GCF sentinels (| , " ~ - @ ##, newlines) round-trip intact.