docs: document network response and request extensions (#1887)

Extensions are enforced since
https://github.com/ChromeDevTools/chrome-devtools-mcp/pull/1867
This commit is contained in:
Alex Rudenko
2026-04-17 09:34:31 +02:00
committed by GitHub
parent 54cfc7e46a
commit 796d6f2e24
3 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
<!-- AUTO GENERATED DO NOT EDIT - run 'npm run gen' to update-->
# Chrome DevTools MCP Tool Reference (~6951 cl100k_base tokens)
# Chrome DevTools MCP Tool Reference (~6963 cl100k_base tokens)
- **[Input automation](#input-automation)** (9 tools)
- [`click`](#click)
@@ -295,8 +295,8 @@
**Parameters:**
- **reqid** (number) _(optional)_: The reqid of the network request. If omitted returns the currently selected request in the DevTools Network panel.
- **requestFilePath** (string) _(optional)_: The absolute or relative path to save the request body to. If omitted, the body is returned inline.
- **responseFilePath** (string) _(optional)_: The absolute or relative path to save the response body to. If omitted, the body is returned inline.
- **requestFilePath** (string) _(optional)_: The absolute or relative path to a .network-request file to save the request body to. If omitted, the body is returned inline.
- **responseFilePath** (string) _(optional)_: The absolute or relative path to a .network-response file to save the response body to. If omitted, the body is returned inline.
---
+2 -2
View File
@@ -214,14 +214,14 @@ export const commands: Commands = {
name: 'requestFilePath',
type: 'string',
description:
'The absolute or relative path to save the request body to. If omitted, the body is returned inline.',
'The absolute or relative path to a .network-request file to save the request body to. If omitted, the body is returned inline.',
required: false,
},
responseFilePath: {
name: 'responseFilePath',
type: 'string',
description:
'The absolute or relative path to save the response body to. If omitted, the body is returned inline.',
'The absolute or relative path to a .network-response file to save the response body to. If omitted, the body is returned inline.',
required: false,
},
},
+2 -2
View File
@@ -104,13 +104,13 @@ export const getNetworkRequest = definePageTool({
.string()
.optional()
.describe(
'The absolute or relative path to save the request body to. If omitted, the body is returned inline.',
'The absolute or relative path to a .network-request file to save the request body to. If omitted, the body is returned inline.',
),
responseFilePath: zod
.string()
.optional()
.describe(
'The absolute or relative path to save the response body to. If omitted, the body is returned inline.',
'The absolute or relative path to a .network-response file to save the response body to. If omitted, the body is returned inline.',
),
},
handler: async (request, response, context) => {