Skip to content

Commit a53956a

Browse files
Apply suggestion from @Lightning00Blade
1 parent 8635082 commit a53956a

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 expression to be executed by the tool in the currently selected page.
287+
- **function** (string) **(required)**: A JavaScript function declaration to be executed by the tool in the currently selected page.
288288
Example without arguments: `() => {
289289
return document.title
290290
}` or `async () => {

0 commit comments

Comments
 (0)