request_human), signing in with a saved password (sign_in), answering page dialogs and handling downloads.
Tab ids are numbers. Every tab id names one browser, so a call with a tabId goes to that tab’s browser whichever is selected. Calls without one go to the browser select_browser chose for this MCP session.
Every tool that takes a tabId also takes page: the site that tab is on, such as example.com. It is there for the person approving the call, who sees each input as a row and learns nothing from a tab number. A page the tab isn’t on stops the call before it does anything (page_mismatch), and the error names the right site.
There are 30 tools.
Browsers
A person can have several browsers, one per account or client.list_connected_browsers
List the browsers you can use: one per profile, company or client, each logged in to its own accounts. deviceId names one for select_browser; inUse marks the one your calls without a tabId go to. timeZone is the time zone its pages see (the person’s own, when they set one), so read and enter times in it. languages are the person’s languages, most wanted first, when they set them. awake: it is running now (an asleep one wakes on your first call, in about a second). agent: what an agent is doing in it. waiting: an ask in it waits on the person. No inputs. Returns: JSON with one entry per browser:deviceId (brw_…), its name, inUse, awake, timeZone, languages, what an agent is doing in it and whether an ask waits.
select_browser
Use this browser (a deviceId from list_connected_browsers) for the calls without a tabId: tabs_context_mcp, tabs_create_mcp, navigate without a tabId. Calls with a tabId always go to that tab’s browser. If the selected browser is deleted, those calls fail until you select another.
Returns: A line naming the browser now selected for this MCP session.
create_browser
Make a new browser: a separate profile with its own sign-ins, cookies and tabs. Use it when a new client, company or person should have their sign-ins kept apart from the browsers you have; to work in one that exists, use list_connected_browsers and select_browser instead. name is what the person sees in the console; it must differ from the workspace’s other browsers’ names. With select (true unless you pass false), your calls without a tabId go to the new browser. It goes out from Hotkey’s server. Agents make at most 3 a day per workspace, within the plan’s browsers. Deleting a browser and giving it a residential address are the person’s choices, made in the console.
Returns: JSON with the new browser’s
deviceId (brw_…), name, console (its page in the console) and selected, then a line on what to call next. Refused past the plan’s browsers, past 3 a day per workspace, for a key made for one browser and for an account on the waiting list.
Tabs
tabs_context_mcp
List tabs List the browser’s open tabs with their ids, titles and URLs. Call it before the other browser tools to get tab ids. otherAgent marks a tab another agent is working in now: leave it to them and use tabs_create_mcp for your own. watched marks the tab the person has on screen.
Returns: JSON
availableTabs: each tab’s tabId (a number), title and URL, with asleep, crashed, otherAgent and watched where they apply.
Marked read-only for clients that ask before acting.
tabs_create_mcp
Open a new tab Open a new blank tab and return its id. Close tabs you opened with tabs_close_mcp when you are done with them, unless the person wants them kept. No inputs. Returns: A line with the new tab’s id.tabs_close_mcp
Close a tab Close a tab by its id.
Returns: A line saying the tab closed.
Marked can change or lose things for clients that ask before acting.
navigate
Go to a page Load a URL in a tab and wait for it, or go “back” or “forward” in its history. The URL may leave out https://. Only web pages load: http and https addresses, about:blank and data: URLs, never file: or chrome: ones. Without a tabId, the tab your last call used; on your first call, the tab the person is on, or a new tab when every open tab is another agent’s.
Returns: A line with the address the tab landed on. A note follows when the site answered with an error page or a bot check shows instead of the page. When the address is a file, the result says it is downloading and the tab stays where it was.
resize_window
Resize the window Set the size of the tab’s window in pixels.
Returns: The window’s new size.
Reading the page
read_page
Read the page Read the page as an accessibility tree, iframes included under their iframe line. Each element has a ref (like ref_12) for computer, form_input, scroll_to and file_upload. filter “interactive” keeps the buttons, links and fields on screen now, and says how many more are above or below the view; “all” (the default) keeps everything. Use depth or ref_id to read part of a large page. The output stops at max_chars (default 50000).
Returns: The accessibility tree as text, one element a line with its role, name and
ref. With interactive, a last line counts the buttons, links and fields off screen.
Marked read-only for clients that ask before acting.
find
Find on the page Find elements by what they are or say (“search box”, “add to cart button”, “price of the blue mug”). Returns up to 20 matches with refs.
Returns: Up to 20 matching elements, each with its
ref, role and name.
Marked read-only for clients that ask before acting.
get_page_text
Read the page’s text The page’s text, main article first, without markup, then the values in its form fields and the text of its iframes. For reading articles and long pages, and what a form or a cart holds. A long page comes in parts of 25000 characters: the result says the offset of the next. On a tab that shows a PDF: the document’s title and text, each page marked [Page N].
Returns: The page’s title, URL and text, then
Field values: (each filled form field and its value, never a password) and each iframe’s text under an [iframe <site>] line. On a PDF tab, the document’s text with [Page N] marks.
Marked read-only for clients that ask before acting.
read_console_messages
Read console messages The tab’s console messages (logs, warnings, errors, exceptions) for its current site, kept from the first call on. Pass a pattern to keep the output small.
Returns: The messages kept for the tab, oldest first, with their level.
Marked read-only for clients that ask before acting.
read_network_requests
Read network requests The tab’s network requests (documents, fetches, images…) for its current site, kept from the first call on, with method and status.
Returns: The requests kept for the tab: method, URL, status and type.
Marked read-only for clients that ask before acting.
Acting on the page
computer
Click, type or take a screenshot Use the mouse and keyboard in a tab, and take screenshots. Coordinates are pixels in the last screenshot. Click buttons and links at their center, from a screenshot or by ref. A click or key that loads a new page returns once that page has loaded, and says where the tab went. A click by ref on an element that a dialog, cookie wall or bar covers clicks nothing and says what covers it, with its buttons.
Returns: For
screenshot and zoom, an image. For the other actions, a line saying what happened: the element a click hit, the new page a click or key loaded (with its HTTP status when it is an error), and any dialog the action opened.
Marked can change or lose things for clients that ask before acting.
form_input
Fill in a field Set a form field by ref: the option of a dropdown (by its text or value), a checkbox (true or false), a radio button, a number, a date, or a text field (its text is replaced).
Returns: A line with the field and the value it now holds.
Marked can change or lose things for clients that ask before acting.
file_upload
Upload files Put files into a file input by ref, without opening a file picker (never click file inputs). This browser runs on another machine, so pass the files’ contents in files: a text file’s text in text, any file’s bytes in data (base64), up to 10 MB in all. A file this browser downloaded goes in by its name in downloads instead, without its contents passing through you. A file only the person has (a photo of their ID, a document on their phone): ask them with request_human to choose it on the page; Choose file in their live view opens their own device’s picker.
Returns: A line naming the files now in the input.
javascript_tool
Run JavaScript on the page Run JavaScript in the page and get the value of its last expression (await works at the top level). For data the tree doesn’t show.
Returns: The value of the code’s last expression, as text.
Marked can change or lose things for clients that ask before acting.
handle_dialog
Answer a page dialog Answer a JavaScript dialog the page opened (confirm, prompt, “Leave this page?”). While one is open, the tab does nothing else. Alerts are accepted for you and reported in the result.
Returns: A line saying how the dialog was answered.
Marked can change or lose things for clients that ask before acting.
browser_batch
Run several steps Run several browser tool calls in a row in one round trip, each as { name, input } with the same input as on its own. Stops at the first error, and after 48 s in all: the result then says which steps did not run. Coordinates refer to the screenshot taken before this call.
Returns: Each step’s result in order. When a step fails or the batch runs out of time, the result says which steps did not run.
Marked can change or lose things for clients that ask before acting.
Asking the person
See Asks and hand links.request_human
Ask you for help Ask the human to do something in the browser that you can’t do yourself: sign in when no password is saved and they haven’t given you one, enter a 2FA code you don’t have, choose a password for a new account, solve a captcha, or check something and say yes before you send, pay, buy, delete or publish it. Their phone gets a notification and opens the tab; they tap Done when finished, or Can’t do it with a note. The result has alink. It opens only this tab, with no sign-in, and stops working when they tap Done or after 30 minutes; it is theirs alone, so never post it anywhere else. The ask itself stays in the person’s Needs you for up to 24 hours, where they can still do it or copy a new link, until they answer or you cancel it. The link stays on the tab’s site and the hops a sign-in makes; if the step must also use other sites (a company sign-in page, a bank’s check), name up to three in sites. In a chat with the person (Claude or ChatGPT, a message thread), pass wait_seconds 0, give them the link and end your turn; when they say they are done, call wait_for_human with the id. Otherwise it waits up to wait_seconds (max 40, the default); if they are not done yet, the result says “pending”: call wait_for_human with the id to keep waiting. Asking again on the same tab with the same reason while the ask waits returns that ask, with no second alert to the person.
Returns: JSON describing the ask:
id (ask_…), status (pending until the person finishes), link, linkExpiresAt, tabId, expiresAt, and next while it is pending.
wait_for_human
Wait for your answer Keep waiting for a request_human to finish. Returns its status: done, pending, cancelled (with the person’s note when they couldn’t do it), expired or tab-closed. If you give up on it, call cancel_request so the human is not left with an ask nobody hears. If you gave the person the link in a chat and ended your turn so they can do it, leave it open: it stays in their Needs you and lapses on its own after timeout_minutes (a day by default). A link that ran out still takes the person to the ask once they sign in, so there is no need to raise it again.
Returns: The same JSON as request_human, with
status one of done, pending, cancelled (with the person’s note), expired or tab-closed.
Marked read-only for clients that ask before acting.
cancel_request
Withdraw a request Withdraw a pending request_human: it disappears from the human’s phone and console. Call it whenever you will no longer come back for the answer (not when you only end your turn in a chat so the person can do it).
Returns: The ask’s JSON with
status cancelled.
Signing in
See Sign-ins.sign_in
Sign in with a saved password Sign in on the current page with a password the person saved in this browser, or a login from the 1Password vault they connected to it. You never see the password: the browser types it and submits. Call it whenever you reach a sign-in form; if it says nothing is saved for the site, call request_human. For sign-in in two steps (email, then password), call it again on the second page; on a page that asks for a one-time code, call it again too: a 1Password login with a one-time password types the current code. A 1Password login is typed in a new sealed tab (no script runs in it), named in the result. Passkeys need no call: click the site’s passkey button and the browser answers with its own passkey, or asks the person’s device.
Returns: Whether the browser signed in, or that nothing is saved for the site.
Downloads and PDFs
See Downloads and PDFs.list_downloads
List downloads List the files in this browser’s downloads: what sites sent as a download and pages saved with save_page_as_pdf. Each has its id, name, size in bytes, type, the site it came from, when it started and finished, and its state (downloading, done, failed or canceled). A call that starts a download says so in its result, with the file’s name.
Returns: JSON
downloads with each file’s id (dl_…), name, size, type, site, started, finished and state.
Marked read-only for clients that ask before acting.
wait_for_download
Wait for a download Wait until a download has finished: the one you name by id or name, or else the one in progress, about to start, or finished since your last wait_for_download. Returns its entry once it is done. Waits at most 40 s, or wait_seconds if less; if it is still downloading then, call it again.
Returns: The download’s entry as JSON on the first line once it is done (a line on what to do next follows it), or its entry with
next when it is still downloading after the wait.
Marked read-only for clients that ask before acting.
read_download
Read a downloaded file Read a downloaded file by its id or name: a PDF’s text, each page marked [Page N] (up to 32 MB), or a text file: plain text, CSV, JSON, XML and the like, up to 2 MB. Returns up to max_chars characters (default 50000) from offset. Other files can’t be read here: pass them to file_upload by name, or tell the person they can save them from the console.
Returns: Up to
max_chars characters of the file from offset. A PDF comes back as text with [Page N] marks.
Marked read-only for clients that ask before acting.
delete_download
Delete a downloaded file Delete a file from this browser’s downloads by its id or name. It can’t be brought back. A download still in progress is canceled.
Returns: A line saying the file is gone.
Marked can change or lose things for clients that ask before acting.
save_page_as_pdf
Save the page as a PDF Save the page in a tab as a PDF in this browser’s downloads, as printing it to PDF would (the page’s print layout, with backgrounds). Use it for receipts, tickets, invoices and confirmations, and when a page asks to print: this browser has no printer, so window.print() and Print buttons do nothing by themselves. The result has the file’s name.
Returns: A line with the saved file’s name and size in the downloads.
The clipboard
Each browser has one clipboard, shared by its tabs and kept over restarts. It is never the person’s device clipboard, and never holds a password a page copied.read_clipboard
Read the browser’s clipboard Read what this browser’s clipboard holds now: what a page in it copied (a site’s Copy button, a copied link or code), what the person copied in it, or what you set with write_clipboard. Text comes back as text, an image as an image. Every tab of a browser shares one clipboard, which is the browser’s own: never the person’s device clipboard, and never a password a page copied.
Returns: A line saying what the clipboard holds (a link, a code, text or an image), who put it there and when, then the text, or the image as an image.
Marked read-only for clients that ask before acting.
write_clipboard
Copy or paste text or an image in the browser Put text or an image on this browser’s clipboard, as copying it would, for every tab of the browser and for the person, who sees it in the console. With paste true, also paste it into the focused field of a tab, as Cmd+V or Ctrl+V does: the page gets a real paste event (code boxes split it, editors keep the HTML, image boxes and editors take the image) and plain fields get the text, also inside a frame of another site (a payment or sign-in form). computer’s key “cmd+v” pastes what the clipboard holds too.
Returns: A line saying the clipboard holds the text or the image, or, with
paste, how the page took the paste: as a paste event, a character at a time into code boxes, or typed.