Skip to main content
StableBrowse MCP exposes 17 tools: 8 direct tools and 9 compound tools.
The important rule is not “use fewer tools.” The important rule is “use the right tool first.” The descriptions below are written as routing guidance for agents.

Direct tools

Direct tools are the fast path for common browser work.
ToolUse whenPrefer instead
create_sessionStarting the browser. Usually call once at the beginning.session only manages sessions after creation.
navigateGoing to a known URL in the active page.page.new only when a new tab is needed.
snapshotDiscovering visible controls and refs for actions.content or extract for reading long content.
screenshotVisual layout, images, canvas, charts, or pixel verification.snapshot, content, or extract for text/control tasks.
clickClicking one known ref from the latest snapshot.interact.find for target-by-text clicks.
fillFilling one known input ref.fill_form for multiple fields.
fill_formFilling several fields from one snapshot.fill only for a single field.
evaluateCustom JavaScript when typed tools cannot answer.extract or content for normal page reading.

Compound tools

Compound tools group related actions behind an action parameter.
ToolBest forCommon actions
sessionSession lifecycle, stealth debugging, humanization, saving state.list, select, destroy, stealth_status, set_humanize, save_state
pageTabs, viewport size, iframe discovery.list, select, new, close, resize, list_frames
historyWaiting and navigation recovery.go_back, go_forward, reload, wait_for, scroll_to_text, wait
interactAdvanced page actions beyond direct click/fill.find, choose, fill_form, press_key, scroll, handle_dialog
contentReading mostly-static content.get_markdown, get_text, get_html, extract_links, read_pdf, save_pdf
extractStructured understanding of the current page.page_summary, cards, section, search_page, form_fields, choice_groups, query_elements, table, structured
networkDebugging API calls and client-side failures.list, get, intercept, console_logs
storageCookies, localStorage, sessionStorage.list_cookies, set_cookie, clear_cookies, get_storage, set_storage
knowledgeSite-specific hints and deterministic strategies.sites, lookup, flows, flow, amazon_products

Tool selection recipes

Read a docs page

create_session -> navigate -> content.get_markdown -> final answer
Use extract.section when the user asks for a named section. Use search_page when looking for a phrase.

Extract search results or listings

create_session -> navigate -> extract.cards -> final answer
Use maxCards to keep output small. Use contains to filter cards.

Fill a form

create_session -> navigate -> extract.form_fields -> snapshot -> fill_form
Use submitRef or submitKey on fill_form when possible.
snapshot with contains/roles -> click
If the target is obvious by text but you do not have a ref, use interact.find.

Configure product filters or options

extract.choice_groups -> interact.choose -> extract/page_summary or snapshot
Use interact.choose for multiple choices in one call.

Debug a broken page

network.console_logs -> network.list -> screenshot if visual evidence is needed
Use storage only if cookies or local/session storage are part of the issue.

Known site task

navigate -> knowledge.lookup -> targeted extract/interact calls
For Amazon product, deal, ranking, or price-filter tasks, use knowledge.amazon_products first.

Avoid these patterns

  • Do not use screenshots for ordinary text extraction.
  • Do not call fill repeatedly for a multi-field form.
  • Do not use broad snapshot on huge pages if extract.cards, extract.section, or content.get_markdown can answer.
  • Do not write custom evaluate scripts until typed tools fail.
  • Do not open new tabs unless the task needs multiple pages.
  • Do not use fixed waits before trying history.wait_for.

Parameter notes

ParameterWhere it appearsWhy it matters
pageIdMost toolsTargets a non-active tab/page. Omit for active page.
refInteraction toolsComes from snapshot; stale refs require a fresh snapshot.
maxCharsContent/snapshot toolsKeeps outputs inside useful token budgets.
maxCards / limitextract.cards, page_summaryPrevents oversized result lists.
selectorSnapshot/extract/content toolsNarrows work to a DOM subtree.
containsSnapshot/content/extract toolsFocuses output around relevant text.

Full tool list

Direct

  • create_session
  • navigate
  • snapshot
  • screenshot
  • click
  • fill
  • fill_form
  • evaluate

Compound

  • session
  • page
  • history
  • interact
  • content
  • extract
  • network
  • storage
  • knowledge