Skip to content

Commit 8f02bc0

Browse files
committed
format
1 parent c23e3c7 commit 8f02bc0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/tool-reference.md

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

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

293-
294293
---
295294

296295
### `list_console_messages`

0 commit comments

Comments
 (0)