Repository navigation
Description
Description of the bug
Step 4 of skills/debug-optimize-lcp/SKILL.md tells agents to call list_network_requests "filtered by resourceTypes: ["Image", "Font"]". The tool's resourceTypes enum is lowercase, so the call fails input validation and the agent gets no network waterfall for the LCP resource until it retries with lowercase values.
Actual behavior
On both tested builds the documented call returned isError: true with:
Input validation error: Invalid arguments for tool list_network_requests: resourceTypes.0: Invalid option: expected one of "document"|"stylesheet"|"image"|"media"|"font"|"script"|"texttrack"|"xhr"|"fetch"|"prefetch"|"eventsource"|"websocket"|"manifest"|"signedexchange"|"ping"|"cspviolationreport"|"p...
The lowercase control returned reqid=2 GET http://127.0.0.1:PORT/hero.svg [200] on both builds.
Reproduction
- Serve this fixture as
lcp.htmlfrom a loopback server (port shown asPORT), with anyhero.svgimage beside it:
<!doctype html><html lang="en"><title>Fixture</title><h1>Fixture</h1><img src="hero.svg" width="400" height="300" alt="hero"></html>- Start each tested build over stdio with
--headless --isolated --no-usage-statistics --no-performance-cruxand send thesetools/callrequests:
{"name":"navigate_page","arguments":{"pageId":1,"url":"http://127.0.0.1:PORT/lcp.html"}}
{"name":"list_network_requests","arguments":{"pageId":1,"resourceTypes":["Image","Font"]}}
{"name":"list_network_requests","arguments":{"pageId":1,"resourceTypes":["image","font"]}}Expectation
The skill's Step 4 ("Check the Network Waterfall") instructs agents to filter list_network_requests by resourceTypes: ["Image", "Font"] to find the LCP resource. Following the documented call should return the image and font requests.
MCP configuration
--headless --isolated --no-usage-statistics --no-performance-crux unless the reproduction states otherwise (update checks disabled with CHROME_DEVTOOLS_MCP_NO_UPDATE_CHECKS=1).
Chrome DevTools MCP version
1.10.1 (npm) and main 5ddb0a3 (local build)
Chrome version
154.0.8037.98 (stable)
Node version
v22.23.2
Operating system
macOS 27.0
Environment details
- Release build:
[email protected]from npm. mainbuild: local build ofmainat 5ddb0a3.- Google Chrome 154.0.8037.98 (stable), Node v22.23.2, macOS 27.
skills/debug-optimize-lcp/SKILL.mdis identical at tagchrome-devtools-mcp-v1.10.1and onmain.
Evidence
- Expected source:
skills/debug-optimize-lcp/SKILL.md:65("Calllist_network_requestswithpageIdfiltered byresourceTypes: ["Image", "Font"]"). - Failure source:
tools/callresults from both tested builds quoted under Actual behavior; theresourceTypesenum intools/listanddocs/tool-reference.mdlists lowercase values only. - Evidence provenance: observed
- Local verification: reproduced
- Reproduction completeness: complete
The full open and closed issue and PR corpus was screened as of 2026-10-06; no issue or PR mentions this line or capitalized resourceTypes. The chrome-devtools-cli skill has a separate capitalized --resourceTypes Fetch example in a different file, reported separately.
Fix check
Failing now: the skill's Step 4 filter, sent as written, returns an input validation error. Restored: the filter shown in the skill, sent as written after loading the fixture, returns the hero.svg request without a validation error. Control: ["image","font"] keeps returning the same request.
Activity
docs: fix some reported issues (ChromeDevTools#3099)