Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/tool-reference.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -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.

---

Expand Down
4 changes: 2 additions & 2 deletions src/bin/cliDefinitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
},
Expand Down
4 changes: 2 additions & 2 deletions src/tools/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down
Loading