Skip to content

Commit 312a7a4

Browse files
committed
docs: update tool-reference.md
1 parent eed38a5 commit 312a7a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tool-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ so returned values have to JSON-serializable.
284284
**Parameters:**
285285

286286
- **args** (array) _(optional)_: An optional list of arguments to pass to the function.
287-
- **function** (string) **(required)**: A JavaScript function to run in the currently selected page.
287+
- **function** (string) **(required)**: A JavaScript function to run in the currently selected page. Just define the function and let the tool do the execution.
288288
Example without arguments: `() => {
289289
return document.title
290290
}` or `async () => {

0 commit comments

Comments
 (0)