This commit is contained in:
ray zhou
2026-05-29 17:23:17 +08:00
parent f71a5c59af
commit 1bcb6120dd
139 changed files with 4229 additions and 523 deletions

View File

@@ -1,28 +1,31 @@
{
"name": "browser_fill",
"description": "Clear and fill a value into an input element. Unlike browser_type which appends text, this clears the existing value first and sets the new value atomically. Use this when you want to replace the entire content of an input field.",
"description": "Set the value of an input, textarea, or contenteditable element by ref.",
"arguments": {
"type": "object",
"properties": {
"element": {
"type": "string",
"description": "Human-readable element description used to obtain permission to interact with the element"
},
"ref": {
"type": "string",
"description": "Exact target element reference from the page snapshot"
"description": "Element ref from browser_snapshot."
},
"value": {
"type": "string",
"description": "Value to fill into the element (replaces any existing content)"
"description": "Value to set."
},
"element": {
"type": "string",
"description": "Human-readable description of the element."
},
"viewId": {
"type": "string",
"description": "Target browser tab ID. If omitted, uses the last interacted tab."
},
"take_screenshot_afterwards": {
"type": "boolean",
"description": "When true, takes a screenshot after filling completes. Defaults to false."
}
},
"required": [
"element",
"ref",
"value"
]