Files
piebald-ai--claude-code-sys…/system-prompts/tool-parameter-claude-in-chrome-javascript-code.md
2026-07-13 12:49:20 +08:00

581 B

The JavaScript code to execute. Evaluated in the page context with REPL semantics: top-level await works, and the result of the last expression is returned automatically — write the expression you want (e.g. window.myData.value, or await fetch(url).then(r=>r.json())) rather than return .... You can access and modify the DOM, call page functions, and interact with page variables.