We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8635082 commit a53956aCopy full SHA for a53956a
docs/tool-reference.md
@@ -284,7 +284,7 @@ so returned values have to JSON-serializable.
284
**Parameters:**
285
286
- **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.
+- **function** (string) **(required)**: A JavaScript function declaration to be executed by the tool in the currently selected page.
288
Example without arguments: `() => {
289
return document.title
290
}` or `async () => {
0 commit comments