Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
4 changes: 2 additions & 2 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 (~7005 cl100k_base tokens)
# Chrome DevTools MCP Tool Reference (~7014 cl100k_base tokens)

- **[Input automation](#input-automation)** (9 tools)
- [`click`](#click)
Expand Down Expand Up @@ -85,7 +85,7 @@

### `fill_form`

**Description:** [`Fill`](#fill) out multiple form elements at once
**Description:** [`Fill`](#fill) out multiple form elements at once. To set checkboxes [`fill`](#fill) them with 'true'

**Parameters:**

Expand Down
2 changes: 1 addition & 1 deletion src/tools/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ export const drag = definePageTool({

export const fillForm = definePageTool({
name: 'fill_form',
description: `Fill out multiple form elements at once`,
description: `Fill out multiple form elements at once. To set checkboxes fill them with 'true'`,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's add a test to tests/tools/input.test.ts that tests checkboxes and verify that it actually accepts a string true and false

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, I misread some eval results thinking it already works this way. Pushed an update to make fill and fill_form handle those, together with tests.

annotations: {
category: ToolCategory.INPUT,
readOnlyHint: false,
Expand Down
Loading