Skip to content

Commit b40cd4e

Browse files
Lightning00BladeOrKoN
authored andcommitted
docs
1 parent 513fe5a commit b40cd4e

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
@@ -287,16 +287,15 @@ so returned values have to JSON-serializable.
287287

288288
- **args** (array) _(optional)_: An optional list of arguments to pass to the function.
289289
- **function** (string) **(required)**: A JavaScript function declaration to be executed by the tool in the currently selected page.
290-
Example without arguments: `() => {
290+
Example without arguments: `() => {
291291
return document.title
292292
}` or `async () => {
293293
return await fetch("example.com")
294294
}`.
295-
Example with arguments: `(el) => {
295+
Example with arguments: `(el) => {
296296
return el.innerText;
297297
}`
298298

299-
300299
---
301300

302301
### `get_console_message`

0 commit comments

Comments
 (0)