domshell_refresh
refresh
How to use it
domshell_refresh is exposed by the DOMShell MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the domshell_refresh tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install DOMShell
npx @apireno/domshell --allow-write --token my-secret-tokenOther tools in DOMShell (37)
back (browser history back)
call <funcName> [args] (call a global JS function)
cat <name>
cd <path> (~, ~/tabs/, /, ..)
click <name>
close [tab-id] (close a tab)
diff [--json] (compare tree against pre-action snapshot)
each [--pattern FILTER] <cmd> (cross-tab operations)
eval <expression> (read-only JS evaluation, no --allow-write needed)
(any command)
extractlinks [name] [-n N] (all links as text)
extracttable <name> [--format csv] (table → markdown/CSV)
find [pattern] [--type ROLE/alias] [--meta] [--text] [-n N] (type accepts fuzzy aliases: input, dropdown, nav, etc.)
focus <name>
for <source> : <template> (iterate over output lines, {} replaced)
forward (browser history forward)
functions [pattern] [--json] (list callable page functions)
grep [-r] [-n N] [--content] <pattern> (section discovery)
here (jump to active tab)
js <code> (arbitrary JavaScript execution)
ls [options] (DOM or browser level)
navigate <url> (current tab)
open <url> (new tab)
pwd
read [name] [--meta] [--text] [-d N] (structured subtree)
screenshot (capture tab as PNG image)
script list\
scroll [down\
select <name> <value> (dropdown selection)
submit <input> <value> [--submit btn] (atomic form fill)
tabs (list all tabs)
text [name] [-n N] [--links] (bulk text; links=true inlines URLs)
tree [depth]
type <text>
wait <pattern> [--type ROLE] [--timeout N] (wait for element)
watch <cmd> [--interval N] [--times N] [--until-change] (periodic re-execution)
whoami