Skip to main content
WebMCP

AI and developers

Himalayas WebMCP Tools: Browser Agent Reference

Reference for the WebMCP tools on himalayas.app: how a browser agent finds and calls them, what each tool does, and what always stays with the person.

Published

Himalayas gives AI agents in the browser WebMCP tools on himalayas.app. WebMCP is a proposed web standard: the page registers tools with the browser, and the agent calls them with structured inputs and gets structured data back instead of clicking through the page.

Should I use WebMCP or the MCP server?

We recommend the MCP server for most agents because it works without an open browser tab; use WebMCP when the agent works in a page the person has open.

WebMCPMCP server
Where it runsIn the Himalayas page, only while it's openFrom any client that supports remote MCP servers, without a browser tab
Sign-inUses the person's own sign-in in that browserUses OAuth for account access; public tools need no sign-in
When to use itThe agent is helping someone in an open pageThe agent needs to connect to Himalayas without a page open
Where to connectTools registered by the pagehttps://mcp.himalayas.app/mcp

How do the tools work?

The tools act in the person's own tab, with their own sign-in and permissions. They do what the page's own controls do, and the page updates to show the result.

  • Support: Chrome and Edge versions that include the WebMCP origin trial and document.modelContext. Himalayas takes part in both trials, so there is nothing to turn on for himalayas.app. Other browsers show the site as usual, without the tools. See the Chrome documentation.
  • ChatGPT: the ChatGPT desktop app's built-in browser supports site tools through WebMCP, when your account and selected model support them. ChatGPT site tools are available only in that built-in browser, not in Chrome, and you may need to sign in again there. See OpenAI's site tools guide.
  • Sign-in: tools never take a password or token. Signed out, job seeker tools reply auth_required with a sign-in link. Employer tools appear only for employer accounts, except create_company_job on /post, which works signed out.
  • Where: a tool registers on the pages where it's useful, so the list changes as the person moves around. open_page opens the main pages, such as a job, the tracker or the profile. For other pages, go to the URL.

How does an agent call a tool?

List the tools with document.modelContext.getTools(), then call one with executeTool(). Run this code in the Himalayas page, such as from the DevTools console:

JavaScript
const tools = await document.modelContext.getTools();
const searchJobs = tools.find((tool) => tool.name === 'search_jobs');

const raw = await document.modelContext.executeTool(searchJobs, {
  keyword: 'product designer',
  country: 'Canada',
});

// Some Chrome versions return the result as a JSON string.
const result = typeof raw === 'string' ? JSON.parse(raw) : raw;

console.log(result.content[0].text); // a short summary
console.log(result.structuredContent); // the data

Every tool carries an inputSchema; read it for the parameters and whether version is needed.

WebMCP is still changing between browser versions. Before Chrome 155, pass input arguments as a JSON string, using JSON.stringify() on the input object. From Chrome 155, pass an object as shown above; JSON stringified input arguments are deprecated. See the imperative API documentation.

A call that triggers navigation can return null, so check for that before reading result.content or result.structuredContent. The example above reads a search result; calls that open another page need that extra check. See the execution result documentation.

Listen for toolchange on document.modelContext and list the tools again when it fires. The event tells the agent that the available tools have changed, as described in the Chrome API documentation. You can inspect registered tools in the WebMCP pane in DevTools' Application panel.

When a list has more results, the reply has next_page. Pass it as page in the next call.

Which tools work on every page?

These register on himalayas.app pages that use the site's main layout. A few full-screen pages, such as /post, only register their own.

ToolWhat it does
search_jobsSearch remote jobs by keyword, country, seniority, type, salary and more. show: true also opens the results
get_job_detailsRead a job. Uses the job on screen when no slugs are passed
get_related_jobsFind jobs like this one
search_companiesFind remote companies
get_company_detailsRead a company's profile, perks, tech stack and open jobs
get_helpRead how Himalayas works: pricing, plus, hiring, agents, docs, privacy or terms
open_pageOpen a Himalayas page, such as a job, the tracker, the profile or pricing
get_my_profileRead the signed-in person's profile and plan
get_saved_jobsRead the signed-in person's application tracker

Which tools help with research?

ToolWhat it does
get_salary_dataRemote pay by role, country and seniority. On job, company and salary pages
get_community_postsRead community threads. On community pages

Which tools help job seekers apply?

These need a sign-in and register on job pages, the /jobs listing, the tracker, profile, documents, interview practice or settings pages.

ToolWhat it does
get_new_matchesNew job matches since the last check. On the free plan it gives counts only, with plus_required
update_trackerSave, skip or move a job, add a job from elsewhere, or edit notes, excitement and salary
remove_saved_jobRemove a job from the tracker
get_apply_linkGet the employer's application link, after any screening questions, and record the application
list_saved_answersList saved answers to common application questions
update_saved_answerChange a saved answer
delete_saved_answerDelete a saved answer
generate_application_documentsMake a tailored resume and cover letter for a job
list_documentsList resumes and cover letters
get_documentRead one as plain text
update_documentRename a document, or replace a cover letter's text
delete_documentDelete a document
edit_profileChange one profile section
start_interview_practiceOpen interview practice for a job
list_interviewsList past interview practice and results
update_settingsChange email subscriptions and names. Never the email address or password

Which tools work with messages and the community?

Drafts stay in the box until the person sends them. On a candidate's profile, draft_message can start an empty conversation, which counts toward the company's daily limit and which the candidate may see.

ToolWhat it does
get_messagesRead conversations and notifications. Never marks anything read
draft_messageFill a reply, or a first message to a candidate from their profile
delete_conversationDelete a conversation
draft_community_postFill a community post or comment

Which tools work for employers?

Except for create_company_job on /post, these need a signed-in employer account.

ToolWhat it does
create_company_jobFill and submit the job form on /post or the company's new job page. A paid post opens checkout
list_company_jobsList the company's jobs with views and apply clicks, or read one
update_company_jobEdit, archive or repost a job
delete_company_jobDelete a job that isn't live
get_company_profileRead the company profile, perks and tech stack
update_company_profileEdit company details, a perk or the tech stack
search_talentSearch candidates. On /talent
get_talent_profileRead a candidate's profile. On /talent
manage_teamInvite team members or change a role

How do edits avoid overwriting someone's changes?

Reading a profile, a document, one job with list_company_jobs or the company profile returns a version. Send it back with the edit. If something changed since, nothing is saved and the reply is stale with the current state, so the agent can check it and try again with the new version.

What errors can a tool return?

The browser itself can also reject a call, for example if the tool is no longer registered, so handle a thrown error too.

A failed call has isError: true and one of these codes in structuredContent.error:

ErrorWhat to do
auth_requiredAsk the person to sign in, using the link in the reply
plus_requiredThe action is part of Himalayas Plus
quota_exhaustedThe plan's allowance is used up for now
staleCheck the edit still applies to the current state in the reply, then retry with its version
validation_failedFix the input. The message says what's wrong
screening_requiredAsk the person the questions in the reply, then call again with their answers. No questions in the reply means the answers didn't meet the employer's requirements, so don't retry
rate_limitedWait as long as the message says, usually a minute
not_foundCheck the slug or id
unavailableFollow the message. Usually try again in a moment, but if it says the change was saved, don't send it again

What stays with the person?

  • Applying: get_apply_link gives the employer's application link and marks the job applied in the tracker. No tool submits the employer's application. The person still needs to complete and submit it with the employer.
  • Sending: the text of a message or community post is a draft until the person sends it.
  • Paying: a paid job post opens checkout, and the person pays.
  • Account security: tools can't change an email address or password, or delete an account.

Tools that publish, delete or otherwise matter more carry consequentialHint, so a browser or agent can ask the person first. The hint is advisory, so the agent should still confirm with the person.