Skip to content

Commit 6111f8d

Browse files
committed
format
1 parent 2fb5c28 commit 6111f8d

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

docs/tool-reference.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,16 +285,15 @@ so returned values have to JSON-serializable.
285285

286286
- **args** (array) _(optional)_: An optional list of arguments to pass to the function.
287287
- **function** (string) **(required)**: A JavaScript function to run in the currently selected page.
288-
Example without arguments: `() => {
288+
Example without arguments: `() => {
289289
return document.title
290290
}` or `async () => {
291291
return await fetch("example.com")
292292
}`.
293-
Example with arguments: `(el) => {
293+
Example with arguments: `(el) => {
294294
return el.innerText;
295295
}`
296296

297-
298297
---
299298

300299
### `list_console_messages`

0 commit comments

Comments
 (0)