[{"data":1,"prerenderedAt":4856},["ShallowReactive",2],{"guide-webfuse-for-elevenlabs":3},{"id":4,"title":5,"audience":6,"body":7,"created":4819,"description":4820,"extension":4821,"eyebrow":4822,"facts":4823,"head":4827,"meta":4828,"navigation":78,"ogImage":4827,"partner":19,"path":4829,"robots":4827,"schemaOrg":4827,"seo":4830,"showcase":4831,"sitemap":4838,"stem":4839,"steps":4840,"time":4853,"titleAccent":4854,"totalMinutes":746,"updated":4827,"__hash__":4855},"guides/guides/webfuse-for-elevenlabs.md","Give your ElevenLabs agent access to the full web","For ElevenLabs forward deployed engineers",{"type":8,"value":9,"toc":4816},"minimark",[10,55,82,150,205,4272,4339,4394,4496,4668,4713,4812],[11,12,16,24],"guide-section",{"id":13,"title":14,"lead":15},"how","How it works","Your ElevenLabs agent already talks to your customers. With Webfuse, it can also do what a human support agent does on the web: find the right page, fill in the form, make the change for them, while the customer watches and hears every step. Everything runs in the customer's own browser.",[17,18],"guide-duo",{"left-label":19,"left-text":20,"left-title":21,"right-text":22,"right-title":23},"ElevenLabs","The customer speaks, your agent hears and answers. Real time, interruptible, natural. You already have this.","Ears and voice","Your agent sees the live page the customer is on, and clicks, types and navigates in it, while the customer watches every action.","Eyes and hands",[25,26,27],"guide-flow",{},[28,29,30,38,44,49],"ol",{},[31,32,33,37],"li",{},[34,35,36],"strong",{},"Customer"," Opens a Webfuse session. The website loads inside it, in their own browser.",[31,39,40,43],{},[34,41,42],{},"Widget"," A Webfuse extension puts your ElevenLabs agent in the corner of the session, as a voice widget.",[31,45,46,48],{},[34,47,19],{}," The agent hears the request and calls browser tools: snapshot, click, type, navigate.",[31,50,51,54],{},[34,52,53],{},"Webfuse"," Runs each tool on the live page. The customer watches every step and hears the agent narrate it.",[11,56,60],{"id":57,"title":58,"lead":59},"needs","What you need, and how long it takes","A Webfuse Studio account, an ElevenLabs account with Agents, and a website to work on. Everything else is on this page: the prompt, the eight tool definitions and the voice widget to download. The same files are in one GitHub repository.",[61,62,63,73],"ul",{},[31,64,65,72],{},[66,67,71],"a",{"href":68,"rel":69},"https://github.com/webfuse-com/elevenlabs-voice-agent",[70],"nofollow","github.com/webfuse-com/elevenlabs-voice-agent",": the prompt, the eight tools, the script that adds them and the widget source, with a quick start.",[31,74,75,81],{},[66,76,80],{"href":77,"download":78,"external":79},"/guides/elevenlabs/downloads/webfuse-elevenlabs-widget.zip",true,"","webfuse-elevenlabs-widget.zip",": the voice widget extension, ready to install on your Space.",[83,84,86,112,128],"guide-step",{"id":85},"space",[28,87,88,101],{},[31,89,90,91,96,97,100],{},"Sign in at ",[66,92,95],{"href":93,"rel":94},"https://webfuse.com/studio",[70],"webfuse.com/studio"," and open ",[34,98,99],{},"Spaces",". You see your Spaces and the four Space templates.",[31,102,103,104,107,108,111],{},"On the ",[34,105,106],{},"Automation"," card, click ",[34,109,110],{},"Get started with Automation",". Describe a goal and let Webfuse scaffold tools for you, or create the Space manually. Both end in the same place: an Automation Space, with the automation layer switched on.",[113,114,115,123],"guide-shots",{},[116,117],"guide-shot",{"alt":118,"caption":119,"height":120,"src":121,"width":122},"The Spaces dashboard in Webfuse Studio with the Automation, Meeting, Assisted and Solo templates","Your agent-ready Space starts from the Automation card.",653,"/guides/elevenlabs/img-01.jpg",1400,[116,124],{"alt":125,"caption":126,"height":120,"src":127,"width":122},"The Automation get-started page asking what you want to automate","Describe your goal, or create the Space manually.","/guides/elevenlabs/img-02.jpg",[129,130,133],"guide-note",{"title":131,"type":132},"Optional: keep the agent on one site","tip",[134,135,136,137,140,141,145,146,149],"p",{},"In a session's Automation panel, ",[34,138,139],{},"Automation app allowlist"," sets where the tools work. Replace ",[142,143,144],"code",{},"\u003Call_urls>"," with your customer's domain, for example ",[142,147,148],{},"https://*.example.com/*",".",[83,151,153,181,186,192],{"id":152},"agent",[28,154,155,167,174],{},[31,156,157,158,161,162,166],{},"In ElevenLabs, open ",[34,159,160],{},"Agents"," and create an agent. Name it something a customer would trust, such as ",[163,164,165],"em",{},"Web Assistant",", and give it a first message and a voice.",[31,168,169,170,173],{},"Open the agent, stay on the ",[34,171,172],{},"Prompt"," tab and paste the prompt below.",[31,175,176,177,180],{},"Note your agent ID from the URL. It starts with ",[142,178,179],{},"agent_",". You need it in step 4.",[116,182],{"alt":183,"caption":184,"height":120,"src":185,"width":122},"Your agents in the ElevenLabs dashboard","Your agents in the ElevenLabs dashboard.","/guides/elevenlabs/img-03.jpg",[129,187,189],{"title":188,"type":132},"Start from this prompt",[134,190,191],{},"We found that a generic \"helpful assistant\" prompt makes the agent talk about the page instead of acting on it, or ask which website to search when one is already open. This prompt anchors the agent to the live page, tells it to act, report and stop, and adds rules for confirming changes and handling errors. It matches the tools you add in step 3.",[193,194,196],"guide-code",{"title":172,":wrap":195},"true",[197,198,203],"pre",{"className":199,"code":201,"language":202,"meta":79},[200],"language-text","# Web Agent\n\n## Identity\nYou are a voice agent that helps a customer on a website by using the web browser for them. The customer is watching the same live browser session and hears everything you say.\n\n## Environment\nThe current web page is the source of truth, and a page is already open. Before asking where to search or which site to use, take a DOM snapshot of the current page. It is almost always the right context. Only go to a different site when the customer asks for it.\n\nRules:\n- Act only on elements that appear in your latest DOM snapshot. Never guess elements.\n- Target an element by its wf-id when the snapshot shows one. Otherwise use a short CSS selector, such as an id.\n- Take a new snapshot after you navigate or after the page changes. Otherwise act on the snapshot you already have, and never take the same snapshot twice in a row without acting in between.\n- If a cookie or consent banner blocks the page, choose the most privacy-friendly option, such as \"Strictly necessary only\", before doing anything else.\n\n## How to act\n- When the customer asks you to find or do something, assume the current page is the target. Act first, then report.\n- Never ask the customer to do something in the browser that you can do yourself.\n- Use as few tool calls as you can.\n\n## Confirm before you change anything\n- Before changing the customer's data, say what you are about to change and wait for a yes.\n- Before anything that cannot be undone, such as submitting an order, sending a payment or deleting data, ask for explicit confirmation every time.\n- Never type passwords, payment card details or one-time codes. Ask the customer to enter those themselves.\n\n## When something goes wrong\n- If a tool fails or times out, take a new snapshot and try once more. If it still fails, say plainly what happened. Never report a result you did not see on the page.\n- If the site asks for a login, a CAPTCHA or a security code, hand over to the customer.\n\n## How you speak\n- Your words are spoken aloud. Use short, plain sentences. No lists, markdown or emoji.\n- Do not mention DOM snapshots, wf-ids or tools.\n- After completing a request, state the result and stop. Ask a question only when you cannot continue without the answer.\n","text",[142,204,201],{"__ignoreMap":79},[83,206,208,227,247,460,749,1120,1382,1741,2001,2358,2517,2522,2534,2566,4251],{"id":207},"tools",[134,209,210,211,214,215,218,219,222,223,226],{},"Still in your agent, open the ",[34,212,213],{},"Tools"," tab. You add eight client tools: functions that run inside the customer's browser session. ",[142,216,217],{},"take_dom_snapshot"," gives the agent its eyes, ",[142,220,221],{},"click"," and ",[142,224,225],{},"type"," its hands. The others make interactions smoother.",[28,228,229,240],{},[31,230,231,232,235,236,239],{},"Click ",[34,233,234],{},"Add tool"," and choose the ",[34,237,238],{},"JSON"," option.",[31,241,242,243,246],{},"Open the first tool below, click ",[34,244,245],{},"Copy",", paste it and save. Repeat for all eight.",[248,249,251],"guide-details",{"name":217,"text":250},"Reads the live page.",[193,252,253],{"title":217,":no-collapse":195},[197,254,258],{"className":255,"code":256,"language":257,"meta":79,"style":79},"language-json shiki shiki-themes github-dark github-dark","{\n  \"type\": \"client\",\n  \"name\": \"take_dom_snapshot\",\n  \"description\": \"Take a snapshot of the currently browsed web page. That means, serlialize its DOM to HTML in order to analyze the inherent UI.\",\n  \"disable_interruptions\": false,\n  \"force_pre_tool_speech\": \"auto\",\n  \"tool_call_sound\": null,\n  \"tool_call_sound_behavior\": \"auto\",\n  \"tool_error_handling_mode\": \"auto\",\n  \"execution_mode\": \"immediate\",\n  \"assignments\": [],\n  \"expects_response\": false,\n  \"response_timeout_secs\": 1,\n  \"parameters\": [],\n  \"dynamic_variables\": {\n    \"dynamic_variable_placeholders\": {}\n  }\n}\n","json",[142,259,260,269,286,299,312,325,338,351,363,375,388,397,409,422,430,439,448,454],{"__ignoreMap":79},[261,262,265],"span",{"class":263,"line":264},"line",1,[261,266,268],{"class":267},"suv1-","{\n",[261,270,272,276,279,283],{"class":263,"line":271},2,[261,273,275],{"class":274},"s8ozJ","  \"type\"",[261,277,278],{"class":267},": ",[261,280,282],{"class":281},"s4wv1","\"client\"",[261,284,285],{"class":267},",\n",[261,287,289,292,294,297],{"class":263,"line":288},3,[261,290,291],{"class":274},"  \"name\"",[261,293,278],{"class":267},[261,295,296],{"class":281},"\"take_dom_snapshot\"",[261,298,285],{"class":267},[261,300,302,305,307,310],{"class":263,"line":301},4,[261,303,304],{"class":274},"  \"description\"",[261,306,278],{"class":267},[261,308,309],{"class":281},"\"Take a snapshot of the currently browsed web page. That means, serlialize its DOM to HTML in order to analyze the inherent UI.\"",[261,311,285],{"class":267},[261,313,315,318,320,323],{"class":263,"line":314},5,[261,316,317],{"class":274},"  \"disable_interruptions\"",[261,319,278],{"class":267},[261,321,322],{"class":274},"false",[261,324,285],{"class":267},[261,326,328,331,333,336],{"class":263,"line":327},6,[261,329,330],{"class":274},"  \"force_pre_tool_speech\"",[261,332,278],{"class":267},[261,334,335],{"class":281},"\"auto\"",[261,337,285],{"class":267},[261,339,341,344,346,349],{"class":263,"line":340},7,[261,342,343],{"class":274},"  \"tool_call_sound\"",[261,345,278],{"class":267},[261,347,348],{"class":274},"null",[261,350,285],{"class":267},[261,352,354,357,359,361],{"class":263,"line":353},8,[261,355,356],{"class":274},"  \"tool_call_sound_behavior\"",[261,358,278],{"class":267},[261,360,335],{"class":281},[261,362,285],{"class":267},[261,364,366,369,371,373],{"class":263,"line":365},9,[261,367,368],{"class":274},"  \"tool_error_handling_mode\"",[261,370,278],{"class":267},[261,372,335],{"class":281},[261,374,285],{"class":267},[261,376,378,381,383,386],{"class":263,"line":377},10,[261,379,380],{"class":274},"  \"execution_mode\"",[261,382,278],{"class":267},[261,384,385],{"class":281},"\"immediate\"",[261,387,285],{"class":267},[261,389,391,394],{"class":263,"line":390},11,[261,392,393],{"class":274},"  \"assignments\"",[261,395,396],{"class":267},": [],\n",[261,398,400,403,405,407],{"class":263,"line":399},12,[261,401,402],{"class":274},"  \"expects_response\"",[261,404,278],{"class":267},[261,406,322],{"class":274},[261,408,285],{"class":267},[261,410,412,415,417,420],{"class":263,"line":411},13,[261,413,414],{"class":274},"  \"response_timeout_secs\"",[261,416,278],{"class":267},[261,418,419],{"class":274},"1",[261,421,285],{"class":267},[261,423,425,428],{"class":263,"line":424},14,[261,426,427],{"class":274},"  \"parameters\"",[261,429,396],{"class":267},[261,431,433,436],{"class":263,"line":432},15,[261,434,435],{"class":274},"  \"dynamic_variables\"",[261,437,438],{"class":267},": {\n",[261,440,442,445],{"class":263,"line":441},16,[261,443,444],{"class":274},"    \"dynamic_variable_placeholders\"",[261,446,447],{"class":267},": {}\n",[261,449,451],{"class":263,"line":450},17,[261,452,453],{"class":267},"  }\n",[261,455,457],{"class":263,"line":456},18,[261,458,459],{"class":267},"}\n",[248,461,463],{"name":221,"text":462},"Clicks an element.",[193,464,465],{"title":221,":no-collapse":195},[197,466,468],{"className":255,"code":467,"language":257,"meta":79,"style":79},"{\n  \"type\": \"client\",\n  \"name\": \"click\",\n  \"description\": \"Click an element in the web page.\",\n  \"disable_interruptions\": false,\n  \"force_pre_tool_speech\": \"auto\",\n  \"tool_call_sound\": null,\n  \"tool_call_sound_behavior\": \"auto\",\n  \"tool_error_handling_mode\": \"auto\",\n  \"execution_mode\": \"immediate\",\n  \"assignments\": [],\n  \"expects_response\": true,\n  \"response_timeout_secs\": 1,\n  \"parameters\": [\n    {\n      \"id\": \"target\",\n      \"type\": \"string\",\n      \"value_type\": \"llm_prompt\",\n      \"description\": \"The unique CSS selector of the element to click.\",\n      \"dynamic_variable\": \"\",\n      \"constant_value\": \"\",\n      \"enum\": null,\n      \"is_system_provided\": false,\n      \"required\": true\n    }\n  ],\n  \"dynamic_variables\": {\n    \"dynamic_variable_placeholders\": {}\n  }\n}\n",[142,469,470,474,484,495,506,516,526,536,546,556,566,572,582,592,599,604,616,628,640,653,666,678,690,702,713,719,725,732,739,744],{"__ignoreMap":79},[261,471,472],{"class":263,"line":264},[261,473,268],{"class":267},[261,475,476,478,480,482],{"class":263,"line":271},[261,477,275],{"class":274},[261,479,278],{"class":267},[261,481,282],{"class":281},[261,483,285],{"class":267},[261,485,486,488,490,493],{"class":263,"line":288},[261,487,291],{"class":274},[261,489,278],{"class":267},[261,491,492],{"class":281},"\"click\"",[261,494,285],{"class":267},[261,496,497,499,501,504],{"class":263,"line":301},[261,498,304],{"class":274},[261,500,278],{"class":267},[261,502,503],{"class":281},"\"Click an element in the web page.\"",[261,505,285],{"class":267},[261,507,508,510,512,514],{"class":263,"line":314},[261,509,317],{"class":274},[261,511,278],{"class":267},[261,513,322],{"class":274},[261,515,285],{"class":267},[261,517,518,520,522,524],{"class":263,"line":327},[261,519,330],{"class":274},[261,521,278],{"class":267},[261,523,335],{"class":281},[261,525,285],{"class":267},[261,527,528,530,532,534],{"class":263,"line":340},[261,529,343],{"class":274},[261,531,278],{"class":267},[261,533,348],{"class":274},[261,535,285],{"class":267},[261,537,538,540,542,544],{"class":263,"line":353},[261,539,356],{"class":274},[261,541,278],{"class":267},[261,543,335],{"class":281},[261,545,285],{"class":267},[261,547,548,550,552,554],{"class":263,"line":365},[261,549,368],{"class":274},[261,551,278],{"class":267},[261,553,335],{"class":281},[261,555,285],{"class":267},[261,557,558,560,562,564],{"class":263,"line":377},[261,559,380],{"class":274},[261,561,278],{"class":267},[261,563,385],{"class":281},[261,565,285],{"class":267},[261,567,568,570],{"class":263,"line":390},[261,569,393],{"class":274},[261,571,396],{"class":267},[261,573,574,576,578,580],{"class":263,"line":399},[261,575,402],{"class":274},[261,577,278],{"class":267},[261,579,195],{"class":274},[261,581,285],{"class":267},[261,583,584,586,588,590],{"class":263,"line":411},[261,585,414],{"class":274},[261,587,278],{"class":267},[261,589,419],{"class":274},[261,591,285],{"class":267},[261,593,594,596],{"class":263,"line":424},[261,595,427],{"class":274},[261,597,598],{"class":267},": [\n",[261,600,601],{"class":263,"line":432},[261,602,603],{"class":267},"    {\n",[261,605,606,609,611,614],{"class":263,"line":441},[261,607,608],{"class":274},"      \"id\"",[261,610,278],{"class":267},[261,612,613],{"class":281},"\"target\"",[261,615,285],{"class":267},[261,617,618,621,623,626],{"class":263,"line":450},[261,619,620],{"class":274},"      \"type\"",[261,622,278],{"class":267},[261,624,625],{"class":281},"\"string\"",[261,627,285],{"class":267},[261,629,630,633,635,638],{"class":263,"line":456},[261,631,632],{"class":274},"      \"value_type\"",[261,634,278],{"class":267},[261,636,637],{"class":281},"\"llm_prompt\"",[261,639,285],{"class":267},[261,641,643,646,648,651],{"class":263,"line":642},19,[261,644,645],{"class":274},"      \"description\"",[261,647,278],{"class":267},[261,649,650],{"class":281},"\"The unique CSS selector of the element to click.\"",[261,652,285],{"class":267},[261,654,656,659,661,664],{"class":263,"line":655},20,[261,657,658],{"class":274},"      \"dynamic_variable\"",[261,660,278],{"class":267},[261,662,663],{"class":281},"\"\"",[261,665,285],{"class":267},[261,667,669,672,674,676],{"class":263,"line":668},21,[261,670,671],{"class":274},"      \"constant_value\"",[261,673,278],{"class":267},[261,675,663],{"class":281},[261,677,285],{"class":267},[261,679,681,684,686,688],{"class":263,"line":680},22,[261,682,683],{"class":274},"      \"enum\"",[261,685,278],{"class":267},[261,687,348],{"class":274},[261,689,285],{"class":267},[261,691,693,696,698,700],{"class":263,"line":692},23,[261,694,695],{"class":274},"      \"is_system_provided\"",[261,697,278],{"class":267},[261,699,322],{"class":274},[261,701,285],{"class":267},[261,703,705,708,710],{"class":263,"line":704},24,[261,706,707],{"class":274},"      \"required\"",[261,709,278],{"class":267},[261,711,712],{"class":274},"true\n",[261,714,716],{"class":263,"line":715},25,[261,717,718],{"class":267},"    }\n",[261,720,722],{"class":263,"line":721},26,[261,723,724],{"class":267},"  ],\n",[261,726,728,730],{"class":263,"line":727},27,[261,729,435],{"class":274},[261,731,438],{"class":267},[261,733,735,737],{"class":263,"line":734},28,[261,736,444],{"class":274},[261,738,447],{"class":267},[261,740,742],{"class":263,"line":741},29,[261,743,453],{"class":267},[261,745,747],{"class":263,"line":746},30,[261,748,459],{"class":267},[248,750,752],{"name":225,"text":751},"Types into a field.",[193,753,754],{"title":225,":no-collapse":195},[197,755,757],{"className":255,"code":756,"language":257,"meta":79,"style":79},"{\n  \"type\": \"client\",\n  \"name\": \"type\",\n  \"description\": \"Type to an element in the web page.\",\n  \"disable_interruptions\": false,\n  \"force_pre_tool_speech\": \"auto\",\n  \"tool_call_sound\": \"typing\",\n  \"tool_call_sound_behavior\": \"auto\",\n  \"tool_error_handling_mode\": \"auto\",\n  \"execution_mode\": \"immediate\",\n  \"assignments\": [],\n  \"expects_response\": true,\n  \"response_timeout_secs\": 7,\n  \"parameters\": [\n    {\n      \"id\": \"target\",\n      \"type\": \"string\",\n      \"value_type\": \"llm_prompt\",\n      \"description\": \"The unique CSS selector of the element to type to.\",\n      \"dynamic_variable\": \"\",\n      \"constant_value\": \"\",\n      \"enum\": null,\n      \"is_system_provided\": false,\n      \"required\": true\n    },\n    {\n      \"id\": \"text\",\n      \"type\": \"string\",\n      \"value_type\": \"llm_prompt\",\n      \"description\": \"Text to type.\",\n      \"dynamic_variable\": \"\",\n      \"constant_value\": \"\",\n      \"enum\": null,\n      \"is_system_provided\": false,\n      \"required\": true\n    }\n  ],\n  \"dynamic_variables\": {\n    \"dynamic_variable_placeholders\": {}\n  }\n}\n",[142,758,759,763,773,784,795,805,815,826,836,846,856,862,872,883,889,893,903,913,923,934,944,954,964,974,982,987,991,1002,1012,1022,1033,1044,1055,1066,1077,1086,1091,1096,1103,1110,1115],{"__ignoreMap":79},[261,760,761],{"class":263,"line":264},[261,762,268],{"class":267},[261,764,765,767,769,771],{"class":263,"line":271},[261,766,275],{"class":274},[261,768,278],{"class":267},[261,770,282],{"class":281},[261,772,285],{"class":267},[261,774,775,777,779,782],{"class":263,"line":288},[261,776,291],{"class":274},[261,778,278],{"class":267},[261,780,781],{"class":281},"\"type\"",[261,783,285],{"class":267},[261,785,786,788,790,793],{"class":263,"line":301},[261,787,304],{"class":274},[261,789,278],{"class":267},[261,791,792],{"class":281},"\"Type to an element in the web page.\"",[261,794,285],{"class":267},[261,796,797,799,801,803],{"class":263,"line":314},[261,798,317],{"class":274},[261,800,278],{"class":267},[261,802,322],{"class":274},[261,804,285],{"class":267},[261,806,807,809,811,813],{"class":263,"line":327},[261,808,330],{"class":274},[261,810,278],{"class":267},[261,812,335],{"class":281},[261,814,285],{"class":267},[261,816,817,819,821,824],{"class":263,"line":340},[261,818,343],{"class":274},[261,820,278],{"class":267},[261,822,823],{"class":281},"\"typing\"",[261,825,285],{"class":267},[261,827,828,830,832,834],{"class":263,"line":353},[261,829,356],{"class":274},[261,831,278],{"class":267},[261,833,335],{"class":281},[261,835,285],{"class":267},[261,837,838,840,842,844],{"class":263,"line":365},[261,839,368],{"class":274},[261,841,278],{"class":267},[261,843,335],{"class":281},[261,845,285],{"class":267},[261,847,848,850,852,854],{"class":263,"line":377},[261,849,380],{"class":274},[261,851,278],{"class":267},[261,853,385],{"class":281},[261,855,285],{"class":267},[261,857,858,860],{"class":263,"line":390},[261,859,393],{"class":274},[261,861,396],{"class":267},[261,863,864,866,868,870],{"class":263,"line":399},[261,865,402],{"class":274},[261,867,278],{"class":267},[261,869,195],{"class":274},[261,871,285],{"class":267},[261,873,874,876,878,881],{"class":263,"line":411},[261,875,414],{"class":274},[261,877,278],{"class":267},[261,879,880],{"class":274},"7",[261,882,285],{"class":267},[261,884,885,887],{"class":263,"line":424},[261,886,427],{"class":274},[261,888,598],{"class":267},[261,890,891],{"class":263,"line":432},[261,892,603],{"class":267},[261,894,895,897,899,901],{"class":263,"line":441},[261,896,608],{"class":274},[261,898,278],{"class":267},[261,900,613],{"class":281},[261,902,285],{"class":267},[261,904,905,907,909,911],{"class":263,"line":450},[261,906,620],{"class":274},[261,908,278],{"class":267},[261,910,625],{"class":281},[261,912,285],{"class":267},[261,914,915,917,919,921],{"class":263,"line":456},[261,916,632],{"class":274},[261,918,278],{"class":267},[261,920,637],{"class":281},[261,922,285],{"class":267},[261,924,925,927,929,932],{"class":263,"line":642},[261,926,645],{"class":274},[261,928,278],{"class":267},[261,930,931],{"class":281},"\"The unique CSS selector of the element to type to.\"",[261,933,285],{"class":267},[261,935,936,938,940,942],{"class":263,"line":655},[261,937,658],{"class":274},[261,939,278],{"class":267},[261,941,663],{"class":281},[261,943,285],{"class":267},[261,945,946,948,950,952],{"class":263,"line":668},[261,947,671],{"class":274},[261,949,278],{"class":267},[261,951,663],{"class":281},[261,953,285],{"class":267},[261,955,956,958,960,962],{"class":263,"line":680},[261,957,683],{"class":274},[261,959,278],{"class":267},[261,961,348],{"class":274},[261,963,285],{"class":267},[261,965,966,968,970,972],{"class":263,"line":692},[261,967,695],{"class":274},[261,969,278],{"class":267},[261,971,322],{"class":274},[261,973,285],{"class":267},[261,975,976,978,980],{"class":263,"line":704},[261,977,707],{"class":274},[261,979,278],{"class":267},[261,981,712],{"class":274},[261,983,984],{"class":263,"line":715},[261,985,986],{"class":267},"    },\n",[261,988,989],{"class":263,"line":721},[261,990,603],{"class":267},[261,992,993,995,997,1000],{"class":263,"line":727},[261,994,608],{"class":274},[261,996,278],{"class":267},[261,998,999],{"class":281},"\"text\"",[261,1001,285],{"class":267},[261,1003,1004,1006,1008,1010],{"class":263,"line":734},[261,1005,620],{"class":274},[261,1007,278],{"class":267},[261,1009,625],{"class":281},[261,1011,285],{"class":267},[261,1013,1014,1016,1018,1020],{"class":263,"line":741},[261,1015,632],{"class":274},[261,1017,278],{"class":267},[261,1019,637],{"class":281},[261,1021,285],{"class":267},[261,1023,1024,1026,1028,1031],{"class":263,"line":746},[261,1025,645],{"class":274},[261,1027,278],{"class":267},[261,1029,1030],{"class":281},"\"Text to type.\"",[261,1032,285],{"class":267},[261,1034,1036,1038,1040,1042],{"class":263,"line":1035},31,[261,1037,658],{"class":274},[261,1039,278],{"class":267},[261,1041,663],{"class":281},[261,1043,285],{"class":267},[261,1045,1047,1049,1051,1053],{"class":263,"line":1046},32,[261,1048,671],{"class":274},[261,1050,278],{"class":267},[261,1052,663],{"class":281},[261,1054,285],{"class":267},[261,1056,1058,1060,1062,1064],{"class":263,"line":1057},33,[261,1059,683],{"class":274},[261,1061,278],{"class":267},[261,1063,348],{"class":274},[261,1065,285],{"class":267},[261,1067,1069,1071,1073,1075],{"class":263,"line":1068},34,[261,1070,695],{"class":274},[261,1072,278],{"class":267},[261,1074,322],{"class":274},[261,1076,285],{"class":267},[261,1078,1080,1082,1084],{"class":263,"line":1079},35,[261,1081,707],{"class":274},[261,1083,278],{"class":267},[261,1085,712],{"class":274},[261,1087,1089],{"class":263,"line":1088},36,[261,1090,718],{"class":267},[261,1092,1094],{"class":263,"line":1093},37,[261,1095,724],{"class":267},[261,1097,1099,1101],{"class":263,"line":1098},38,[261,1100,435],{"class":274},[261,1102,438],{"class":267},[261,1104,1106,1108],{"class":263,"line":1105},39,[261,1107,444],{"class":274},[261,1109,447],{"class":267},[261,1111,1113],{"class":263,"line":1112},40,[261,1114,453],{"class":267},[261,1116,1118],{"class":263,"line":1117},41,[261,1119,459],{"class":267},[248,1121,1124],{"name":1122,"text":1123},"navigate","Opens a URL in the session.",[193,1125,1126],{"title":1122,":no-collapse":195},[197,1127,1129],{"className":255,"code":1128,"language":257,"meta":79,"style":79},"{\n  \"type\": \"client\",\n  \"name\": \"navigate\",\n  \"description\": \"Navigate to a different website by URL.\",\n  \"disable_interruptions\": false,\n  \"force_pre_tool_speech\": \"auto\",\n  \"tool_call_sound\": null,\n  \"tool_call_sound_behavior\": \"auto\",\n  \"tool_error_handling_mode\": \"auto\",\n  \"execution_mode\": \"immediate\",\n  \"assignments\": [],\n  \"expects_response\": true,\n  \"response_timeout_secs\": 15,\n  \"parameters\": [\n    {\n      \"id\": \"url\",\n      \"type\": \"string\",\n      \"value_type\": \"llm_prompt\",\n      \"description\": \"URL to navigate to.\",\n      \"dynamic_variable\": \"\",\n      \"constant_value\": \"\",\n      \"enum\": null,\n      \"is_system_provided\": false,\n      \"required\": true\n    }\n  ],\n  \"dynamic_variables\": {\n    \"dynamic_variable_placeholders\": {}\n  }\n}\n",[142,1130,1131,1135,1145,1156,1167,1177,1187,1197,1207,1217,1227,1233,1243,1254,1260,1264,1275,1285,1295,1306,1316,1326,1336,1346,1354,1358,1362,1368,1374,1378],{"__ignoreMap":79},[261,1132,1133],{"class":263,"line":264},[261,1134,268],{"class":267},[261,1136,1137,1139,1141,1143],{"class":263,"line":271},[261,1138,275],{"class":274},[261,1140,278],{"class":267},[261,1142,282],{"class":281},[261,1144,285],{"class":267},[261,1146,1147,1149,1151,1154],{"class":263,"line":288},[261,1148,291],{"class":274},[261,1150,278],{"class":267},[261,1152,1153],{"class":281},"\"navigate\"",[261,1155,285],{"class":267},[261,1157,1158,1160,1162,1165],{"class":263,"line":301},[261,1159,304],{"class":274},[261,1161,278],{"class":267},[261,1163,1164],{"class":281},"\"Navigate to a different website by URL.\"",[261,1166,285],{"class":267},[261,1168,1169,1171,1173,1175],{"class":263,"line":314},[261,1170,317],{"class":274},[261,1172,278],{"class":267},[261,1174,322],{"class":274},[261,1176,285],{"class":267},[261,1178,1179,1181,1183,1185],{"class":263,"line":327},[261,1180,330],{"class":274},[261,1182,278],{"class":267},[261,1184,335],{"class":281},[261,1186,285],{"class":267},[261,1188,1189,1191,1193,1195],{"class":263,"line":340},[261,1190,343],{"class":274},[261,1192,278],{"class":267},[261,1194,348],{"class":274},[261,1196,285],{"class":267},[261,1198,1199,1201,1203,1205],{"class":263,"line":353},[261,1200,356],{"class":274},[261,1202,278],{"class":267},[261,1204,335],{"class":281},[261,1206,285],{"class":267},[261,1208,1209,1211,1213,1215],{"class":263,"line":365},[261,1210,368],{"class":274},[261,1212,278],{"class":267},[261,1214,335],{"class":281},[261,1216,285],{"class":267},[261,1218,1219,1221,1223,1225],{"class":263,"line":377},[261,1220,380],{"class":274},[261,1222,278],{"class":267},[261,1224,385],{"class":281},[261,1226,285],{"class":267},[261,1228,1229,1231],{"class":263,"line":390},[261,1230,393],{"class":274},[261,1232,396],{"class":267},[261,1234,1235,1237,1239,1241],{"class":263,"line":399},[261,1236,402],{"class":274},[261,1238,278],{"class":267},[261,1240,195],{"class":274},[261,1242,285],{"class":267},[261,1244,1245,1247,1249,1252],{"class":263,"line":411},[261,1246,414],{"class":274},[261,1248,278],{"class":267},[261,1250,1251],{"class":274},"15",[261,1253,285],{"class":267},[261,1255,1256,1258],{"class":263,"line":424},[261,1257,427],{"class":274},[261,1259,598],{"class":267},[261,1261,1262],{"class":263,"line":432},[261,1263,603],{"class":267},[261,1265,1266,1268,1270,1273],{"class":263,"line":441},[261,1267,608],{"class":274},[261,1269,278],{"class":267},[261,1271,1272],{"class":281},"\"url\"",[261,1274,285],{"class":267},[261,1276,1277,1279,1281,1283],{"class":263,"line":450},[261,1278,620],{"class":274},[261,1280,278],{"class":267},[261,1282,625],{"class":281},[261,1284,285],{"class":267},[261,1286,1287,1289,1291,1293],{"class":263,"line":456},[261,1288,632],{"class":274},[261,1290,278],{"class":267},[261,1292,637],{"class":281},[261,1294,285],{"class":267},[261,1296,1297,1299,1301,1304],{"class":263,"line":642},[261,1298,645],{"class":274},[261,1300,278],{"class":267},[261,1302,1303],{"class":281},"\"URL to navigate to.\"",[261,1305,285],{"class":267},[261,1307,1308,1310,1312,1314],{"class":263,"line":655},[261,1309,658],{"class":274},[261,1311,278],{"class":267},[261,1313,663],{"class":281},[261,1315,285],{"class":267},[261,1317,1318,1320,1322,1324],{"class":263,"line":668},[261,1319,671],{"class":274},[261,1321,278],{"class":267},[261,1323,663],{"class":281},[261,1325,285],{"class":267},[261,1327,1328,1330,1332,1334],{"class":263,"line":680},[261,1329,683],{"class":274},[261,1331,278],{"class":267},[261,1333,348],{"class":274},[261,1335,285],{"class":267},[261,1337,1338,1340,1342,1344],{"class":263,"line":692},[261,1339,695],{"class":274},[261,1341,278],{"class":267},[261,1343,322],{"class":274},[261,1345,285],{"class":267},[261,1347,1348,1350,1352],{"class":263,"line":704},[261,1349,707],{"class":274},[261,1351,278],{"class":267},[261,1353,712],{"class":274},[261,1355,1356],{"class":263,"line":715},[261,1357,718],{"class":267},[261,1359,1360],{"class":263,"line":721},[261,1361,724],{"class":267},[261,1363,1364,1366],{"class":263,"line":727},[261,1365,435],{"class":274},[261,1367,438],{"class":267},[261,1369,1370,1372],{"class":263,"line":734},[261,1371,444],{"class":274},[261,1373,447],{"class":267},[261,1375,1376],{"class":263,"line":741},[261,1377,453],{"class":267},[261,1379,1380],{"class":263,"line":746},[261,1381,459],{"class":267},[248,1383,1386],{"name":1384,"text":1385},"scroll","Scrolls an element into view, or the page.",[193,1387,1388],{"title":1384,":no-collapse":195},[197,1389,1391],{"className":255,"code":1390,"language":257,"meta":79,"style":79},"{\n  \"type\": \"client\",\n  \"name\": \"scroll\",\n  \"description\": \"Scroll in the page or a certain element. The element will be scrolled to by using                         element.scrollIntoView({ behavior: 'smooth', block: 'center' });\",\n  \"disable_interruptions\": false,\n  \"force_pre_tool_speech\": \"auto\",\n  \"tool_call_sound\": null,\n  \"tool_call_sound_behavior\": \"auto\",\n  \"tool_error_handling_mode\": \"auto\",\n  \"execution_mode\": \"immediate\",\n  \"assignments\": [],\n  \"expects_response\": true,\n  \"response_timeout_secs\": 7,\n  \"parameters\": [\n    {\n      \"id\": \"target\",\n      \"type\": \"string\",\n      \"value_type\": \"llm_prompt\",\n      \"description\": \"Requires a CSS selector of the element you'd like to scroll to.\",\n      \"dynamic_variable\": \"\",\n      \"constant_value\": \"\",\n      \"enum\": null,\n      \"is_system_provided\": false,\n      \"required\": true\n    },\n    {\n      \"id\": \"amount\",\n      \"type\": \"integer\",\n      \"value_type\": \"llm_prompt\",\n      \"description\": \"Requires an amount of pixels to vertically scroll (negative scrolls up).\",\n      \"dynamic_variable\": \"\",\n      \"constant_value\": \"\",\n      \"enum\": null,\n      \"is_system_provided\": false,\n      \"required\": true\n    }\n  ],\n  \"dynamic_variables\": {\n    \"dynamic_variable_placeholders\": {}\n  }\n}\n",[142,1392,1393,1397,1407,1418,1429,1439,1449,1459,1469,1479,1489,1495,1505,1515,1521,1525,1535,1545,1555,1566,1576,1586,1596,1606,1614,1618,1622,1633,1644,1654,1665,1675,1685,1695,1705,1713,1717,1721,1727,1733,1737],{"__ignoreMap":79},[261,1394,1395],{"class":263,"line":264},[261,1396,268],{"class":267},[261,1398,1399,1401,1403,1405],{"class":263,"line":271},[261,1400,275],{"class":274},[261,1402,278],{"class":267},[261,1404,282],{"class":281},[261,1406,285],{"class":267},[261,1408,1409,1411,1413,1416],{"class":263,"line":288},[261,1410,291],{"class":274},[261,1412,278],{"class":267},[261,1414,1415],{"class":281},"\"scroll\"",[261,1417,285],{"class":267},[261,1419,1420,1422,1424,1427],{"class":263,"line":301},[261,1421,304],{"class":274},[261,1423,278],{"class":267},[261,1425,1426],{"class":281},"\"Scroll in the page or a certain element. The element will be scrolled to by using                         element.scrollIntoView({ behavior: 'smooth', block: 'center' });\"",[261,1428,285],{"class":267},[261,1430,1431,1433,1435,1437],{"class":263,"line":314},[261,1432,317],{"class":274},[261,1434,278],{"class":267},[261,1436,322],{"class":274},[261,1438,285],{"class":267},[261,1440,1441,1443,1445,1447],{"class":263,"line":327},[261,1442,330],{"class":274},[261,1444,278],{"class":267},[261,1446,335],{"class":281},[261,1448,285],{"class":267},[261,1450,1451,1453,1455,1457],{"class":263,"line":340},[261,1452,343],{"class":274},[261,1454,278],{"class":267},[261,1456,348],{"class":274},[261,1458,285],{"class":267},[261,1460,1461,1463,1465,1467],{"class":263,"line":353},[261,1462,356],{"class":274},[261,1464,278],{"class":267},[261,1466,335],{"class":281},[261,1468,285],{"class":267},[261,1470,1471,1473,1475,1477],{"class":263,"line":365},[261,1472,368],{"class":274},[261,1474,278],{"class":267},[261,1476,335],{"class":281},[261,1478,285],{"class":267},[261,1480,1481,1483,1485,1487],{"class":263,"line":377},[261,1482,380],{"class":274},[261,1484,278],{"class":267},[261,1486,385],{"class":281},[261,1488,285],{"class":267},[261,1490,1491,1493],{"class":263,"line":390},[261,1492,393],{"class":274},[261,1494,396],{"class":267},[261,1496,1497,1499,1501,1503],{"class":263,"line":399},[261,1498,402],{"class":274},[261,1500,278],{"class":267},[261,1502,195],{"class":274},[261,1504,285],{"class":267},[261,1506,1507,1509,1511,1513],{"class":263,"line":411},[261,1508,414],{"class":274},[261,1510,278],{"class":267},[261,1512,880],{"class":274},[261,1514,285],{"class":267},[261,1516,1517,1519],{"class":263,"line":424},[261,1518,427],{"class":274},[261,1520,598],{"class":267},[261,1522,1523],{"class":263,"line":432},[261,1524,603],{"class":267},[261,1526,1527,1529,1531,1533],{"class":263,"line":441},[261,1528,608],{"class":274},[261,1530,278],{"class":267},[261,1532,613],{"class":281},[261,1534,285],{"class":267},[261,1536,1537,1539,1541,1543],{"class":263,"line":450},[261,1538,620],{"class":274},[261,1540,278],{"class":267},[261,1542,625],{"class":281},[261,1544,285],{"class":267},[261,1546,1547,1549,1551,1553],{"class":263,"line":456},[261,1548,632],{"class":274},[261,1550,278],{"class":267},[261,1552,637],{"class":281},[261,1554,285],{"class":267},[261,1556,1557,1559,1561,1564],{"class":263,"line":642},[261,1558,645],{"class":274},[261,1560,278],{"class":267},[261,1562,1563],{"class":281},"\"Requires a CSS selector of the element you'd like to scroll to.\"",[261,1565,285],{"class":267},[261,1567,1568,1570,1572,1574],{"class":263,"line":655},[261,1569,658],{"class":274},[261,1571,278],{"class":267},[261,1573,663],{"class":281},[261,1575,285],{"class":267},[261,1577,1578,1580,1582,1584],{"class":263,"line":668},[261,1579,671],{"class":274},[261,1581,278],{"class":267},[261,1583,663],{"class":281},[261,1585,285],{"class":267},[261,1587,1588,1590,1592,1594],{"class":263,"line":680},[261,1589,683],{"class":274},[261,1591,278],{"class":267},[261,1593,348],{"class":274},[261,1595,285],{"class":267},[261,1597,1598,1600,1602,1604],{"class":263,"line":692},[261,1599,695],{"class":274},[261,1601,278],{"class":267},[261,1603,322],{"class":274},[261,1605,285],{"class":267},[261,1607,1608,1610,1612],{"class":263,"line":704},[261,1609,707],{"class":274},[261,1611,278],{"class":267},[261,1613,712],{"class":274},[261,1615,1616],{"class":263,"line":715},[261,1617,986],{"class":267},[261,1619,1620],{"class":263,"line":721},[261,1621,603],{"class":267},[261,1623,1624,1626,1628,1631],{"class":263,"line":727},[261,1625,608],{"class":274},[261,1627,278],{"class":267},[261,1629,1630],{"class":281},"\"amount\"",[261,1632,285],{"class":267},[261,1634,1635,1637,1639,1642],{"class":263,"line":734},[261,1636,620],{"class":274},[261,1638,278],{"class":267},[261,1640,1641],{"class":281},"\"integer\"",[261,1643,285],{"class":267},[261,1645,1646,1648,1650,1652],{"class":263,"line":741},[261,1647,632],{"class":274},[261,1649,278],{"class":267},[261,1651,637],{"class":281},[261,1653,285],{"class":267},[261,1655,1656,1658,1660,1663],{"class":263,"line":746},[261,1657,645],{"class":274},[261,1659,278],{"class":267},[261,1661,1662],{"class":281},"\"Requires an amount of pixels to vertically scroll (negative scrolls up).\"",[261,1664,285],{"class":267},[261,1666,1667,1669,1671,1673],{"class":263,"line":1035},[261,1668,658],{"class":274},[261,1670,278],{"class":267},[261,1672,663],{"class":281},[261,1674,285],{"class":267},[261,1676,1677,1679,1681,1683],{"class":263,"line":1046},[261,1678,671],{"class":274},[261,1680,278],{"class":267},[261,1682,663],{"class":281},[261,1684,285],{"class":267},[261,1686,1687,1689,1691,1693],{"class":263,"line":1057},[261,1688,683],{"class":274},[261,1690,278],{"class":267},[261,1692,348],{"class":274},[261,1694,285],{"class":267},[261,1696,1697,1699,1701,1703],{"class":263,"line":1068},[261,1698,695],{"class":274},[261,1700,278],{"class":267},[261,1702,322],{"class":274},[261,1704,285],{"class":267},[261,1706,1707,1709,1711],{"class":263,"line":1079},[261,1708,707],{"class":274},[261,1710,278],{"class":267},[261,1712,712],{"class":274},[261,1714,1715],{"class":263,"line":1088},[261,1716,718],{"class":267},[261,1718,1719],{"class":263,"line":1093},[261,1720,724],{"class":267},[261,1722,1723,1725],{"class":263,"line":1098},[261,1724,435],{"class":274},[261,1726,438],{"class":267},[261,1728,1729,1731],{"class":263,"line":1105},[261,1730,444],{"class":274},[261,1732,447],{"class":267},[261,1734,1735],{"class":263,"line":1112},[261,1736,453],{"class":267},[261,1738,1739],{"class":263,"line":1117},[261,1740,459],{"class":267},[248,1742,1745],{"name":1743,"text":1744},"mouse_move","Moves the pointer, for hover menus.",[193,1746,1747],{"title":1743,":no-collapse":195},[197,1748,1750],{"className":255,"code":1749,"language":257,"meta":79,"style":79},"{\n  \"type\": \"client\",\n  \"name\": \"mouse_move\",\n  \"description\": \"Move the mouse pointer to a certain pixel coordinate.\",\n  \"disable_interruptions\": false,\n  \"force_pre_tool_speech\": \"auto\",\n  \"tool_call_sound\": null,\n  \"tool_call_sound_behavior\": \"auto\",\n  \"tool_error_handling_mode\": \"auto\",\n  \"execution_mode\": \"immediate\",\n  \"assignments\": [],\n  \"expects_response\": false,\n  \"response_timeout_secs\": 1,\n  \"parameters\": [\n    {\n      \"id\": \"target\",\n      \"type\": \"string\",\n      \"value_type\": \"llm_prompt\",\n      \"description\": \"CSS selector of element to center mouse pointer over.\",\n      \"dynamic_variable\": \"\",\n      \"constant_value\": \"\",\n      \"enum\": null,\n      \"is_system_provided\": false,\n      \"required\": true\n    }\n  ],\n  \"dynamic_variables\": {\n    \"dynamic_variable_placeholders\": {}\n  }\n}\n",[142,1751,1752,1756,1766,1777,1788,1798,1808,1818,1828,1838,1848,1854,1864,1874,1880,1884,1894,1904,1914,1925,1935,1945,1955,1965,1973,1977,1981,1987,1993,1997],{"__ignoreMap":79},[261,1753,1754],{"class":263,"line":264},[261,1755,268],{"class":267},[261,1757,1758,1760,1762,1764],{"class":263,"line":271},[261,1759,275],{"class":274},[261,1761,278],{"class":267},[261,1763,282],{"class":281},[261,1765,285],{"class":267},[261,1767,1768,1770,1772,1775],{"class":263,"line":288},[261,1769,291],{"class":274},[261,1771,278],{"class":267},[261,1773,1774],{"class":281},"\"mouse_move\"",[261,1776,285],{"class":267},[261,1778,1779,1781,1783,1786],{"class":263,"line":301},[261,1780,304],{"class":274},[261,1782,278],{"class":267},[261,1784,1785],{"class":281},"\"Move the mouse pointer to a certain pixel coordinate.\"",[261,1787,285],{"class":267},[261,1789,1790,1792,1794,1796],{"class":263,"line":314},[261,1791,317],{"class":274},[261,1793,278],{"class":267},[261,1795,322],{"class":274},[261,1797,285],{"class":267},[261,1799,1800,1802,1804,1806],{"class":263,"line":327},[261,1801,330],{"class":274},[261,1803,278],{"class":267},[261,1805,335],{"class":281},[261,1807,285],{"class":267},[261,1809,1810,1812,1814,1816],{"class":263,"line":340},[261,1811,343],{"class":274},[261,1813,278],{"class":267},[261,1815,348],{"class":274},[261,1817,285],{"class":267},[261,1819,1820,1822,1824,1826],{"class":263,"line":353},[261,1821,356],{"class":274},[261,1823,278],{"class":267},[261,1825,335],{"class":281},[261,1827,285],{"class":267},[261,1829,1830,1832,1834,1836],{"class":263,"line":365},[261,1831,368],{"class":274},[261,1833,278],{"class":267},[261,1835,335],{"class":281},[261,1837,285],{"class":267},[261,1839,1840,1842,1844,1846],{"class":263,"line":377},[261,1841,380],{"class":274},[261,1843,278],{"class":267},[261,1845,385],{"class":281},[261,1847,285],{"class":267},[261,1849,1850,1852],{"class":263,"line":390},[261,1851,393],{"class":274},[261,1853,396],{"class":267},[261,1855,1856,1858,1860,1862],{"class":263,"line":399},[261,1857,402],{"class":274},[261,1859,278],{"class":267},[261,1861,322],{"class":274},[261,1863,285],{"class":267},[261,1865,1866,1868,1870,1872],{"class":263,"line":411},[261,1867,414],{"class":274},[261,1869,278],{"class":267},[261,1871,419],{"class":274},[261,1873,285],{"class":267},[261,1875,1876,1878],{"class":263,"line":424},[261,1877,427],{"class":274},[261,1879,598],{"class":267},[261,1881,1882],{"class":263,"line":432},[261,1883,603],{"class":267},[261,1885,1886,1888,1890,1892],{"class":263,"line":441},[261,1887,608],{"class":274},[261,1889,278],{"class":267},[261,1891,613],{"class":281},[261,1893,285],{"class":267},[261,1895,1896,1898,1900,1902],{"class":263,"line":450},[261,1897,620],{"class":274},[261,1899,278],{"class":267},[261,1901,625],{"class":281},[261,1903,285],{"class":267},[261,1905,1906,1908,1910,1912],{"class":263,"line":456},[261,1907,632],{"class":274},[261,1909,278],{"class":267},[261,1911,637],{"class":281},[261,1913,285],{"class":267},[261,1915,1916,1918,1920,1923],{"class":263,"line":642},[261,1917,645],{"class":274},[261,1919,278],{"class":267},[261,1921,1922],{"class":281},"\"CSS selector of element to center mouse pointer over.\"",[261,1924,285],{"class":267},[261,1926,1927,1929,1931,1933],{"class":263,"line":655},[261,1928,658],{"class":274},[261,1930,278],{"class":267},[261,1932,663],{"class":281},[261,1934,285],{"class":267},[261,1936,1937,1939,1941,1943],{"class":263,"line":668},[261,1938,671],{"class":274},[261,1940,278],{"class":267},[261,1942,663],{"class":281},[261,1944,285],{"class":267},[261,1946,1947,1949,1951,1953],{"class":263,"line":680},[261,1948,683],{"class":274},[261,1950,278],{"class":267},[261,1952,348],{"class":274},[261,1954,285],{"class":267},[261,1956,1957,1959,1961,1963],{"class":263,"line":692},[261,1958,695],{"class":274},[261,1960,278],{"class":267},[261,1962,322],{"class":274},[261,1964,285],{"class":267},[261,1966,1967,1969,1971],{"class":263,"line":704},[261,1968,707],{"class":274},[261,1970,278],{"class":267},[261,1972,712],{"class":274},[261,1974,1975],{"class":263,"line":715},[261,1976,718],{"class":267},[261,1978,1979],{"class":263,"line":721},[261,1980,724],{"class":267},[261,1982,1983,1985],{"class":263,"line":727},[261,1984,435],{"class":274},[261,1986,438],{"class":267},[261,1988,1989,1991],{"class":263,"line":734},[261,1990,444],{"class":274},[261,1992,447],{"class":267},[261,1994,1995],{"class":263,"line":741},[261,1996,453],{"class":267},[261,1998,1999],{"class":263,"line":746},[261,2000,459],{"class":267},[248,2002,2005],{"name":2003,"text":2004},"text_select","Highlights text for the customer.",[193,2006,2007],{"title":2003,":no-collapse":195},[197,2008,2010],{"className":255,"code":2009,"language":257,"meta":79,"style":79},"{\n  \"type\": \"client\",\n  \"name\": \"text_select\",\n  \"description\": \"Select a specific part of text in the page to emphasise it.\",\n  \"disable_interruptions\": false,\n  \"force_pre_tool_speech\": \"auto\",\n  \"tool_call_sound\": null,\n  \"tool_call_sound_behavior\": \"auto\",\n  \"tool_error_handling_mode\": \"auto\",\n  \"execution_mode\": \"immediate\",\n  \"assignments\": [],\n  \"expects_response\": true,\n  \"response_timeout_secs\": 1,\n  \"parameters\": [\n    {\n      \"id\": \"target\",\n      \"type\": \"string\",\n      \"value_type\": \"llm_prompt\",\n      \"description\": \"The CSS selector of the element to highlight.\",\n      \"dynamic_variable\": \"\",\n      \"constant_value\": \"\",\n      \"enum\": null,\n      \"is_system_provided\": false,\n      \"required\": true\n    },\n    {\n      \"id\": \"text\",\n      \"type\": \"string\",\n      \"value_type\": \"llm_prompt\",\n      \"description\": \"The text in the selected element to highlight.\",\n      \"dynamic_variable\": \"\",\n      \"constant_value\": \"\",\n      \"enum\": null,\n      \"is_system_provided\": false,\n      \"required\": true\n    }\n  ],\n  \"dynamic_variables\": {\n    \"dynamic_variable_placeholders\": {}\n  }\n}\n",[142,2011,2012,2016,2026,2037,2048,2058,2068,2078,2088,2098,2108,2114,2124,2134,2140,2144,2154,2164,2174,2185,2195,2205,2215,2225,2233,2237,2241,2251,2261,2271,2282,2292,2302,2312,2322,2330,2334,2338,2344,2350,2354],{"__ignoreMap":79},[261,2013,2014],{"class":263,"line":264},[261,2015,268],{"class":267},[261,2017,2018,2020,2022,2024],{"class":263,"line":271},[261,2019,275],{"class":274},[261,2021,278],{"class":267},[261,2023,282],{"class":281},[261,2025,285],{"class":267},[261,2027,2028,2030,2032,2035],{"class":263,"line":288},[261,2029,291],{"class":274},[261,2031,278],{"class":267},[261,2033,2034],{"class":281},"\"text_select\"",[261,2036,285],{"class":267},[261,2038,2039,2041,2043,2046],{"class":263,"line":301},[261,2040,304],{"class":274},[261,2042,278],{"class":267},[261,2044,2045],{"class":281},"\"Select a specific part of text in the page to emphasise it.\"",[261,2047,285],{"class":267},[261,2049,2050,2052,2054,2056],{"class":263,"line":314},[261,2051,317],{"class":274},[261,2053,278],{"class":267},[261,2055,322],{"class":274},[261,2057,285],{"class":267},[261,2059,2060,2062,2064,2066],{"class":263,"line":327},[261,2061,330],{"class":274},[261,2063,278],{"class":267},[261,2065,335],{"class":281},[261,2067,285],{"class":267},[261,2069,2070,2072,2074,2076],{"class":263,"line":340},[261,2071,343],{"class":274},[261,2073,278],{"class":267},[261,2075,348],{"class":274},[261,2077,285],{"class":267},[261,2079,2080,2082,2084,2086],{"class":263,"line":353},[261,2081,356],{"class":274},[261,2083,278],{"class":267},[261,2085,335],{"class":281},[261,2087,285],{"class":267},[261,2089,2090,2092,2094,2096],{"class":263,"line":365},[261,2091,368],{"class":274},[261,2093,278],{"class":267},[261,2095,335],{"class":281},[261,2097,285],{"class":267},[261,2099,2100,2102,2104,2106],{"class":263,"line":377},[261,2101,380],{"class":274},[261,2103,278],{"class":267},[261,2105,385],{"class":281},[261,2107,285],{"class":267},[261,2109,2110,2112],{"class":263,"line":390},[261,2111,393],{"class":274},[261,2113,396],{"class":267},[261,2115,2116,2118,2120,2122],{"class":263,"line":399},[261,2117,402],{"class":274},[261,2119,278],{"class":267},[261,2121,195],{"class":274},[261,2123,285],{"class":267},[261,2125,2126,2128,2130,2132],{"class":263,"line":411},[261,2127,414],{"class":274},[261,2129,278],{"class":267},[261,2131,419],{"class":274},[261,2133,285],{"class":267},[261,2135,2136,2138],{"class":263,"line":424},[261,2137,427],{"class":274},[261,2139,598],{"class":267},[261,2141,2142],{"class":263,"line":432},[261,2143,603],{"class":267},[261,2145,2146,2148,2150,2152],{"class":263,"line":441},[261,2147,608],{"class":274},[261,2149,278],{"class":267},[261,2151,613],{"class":281},[261,2153,285],{"class":267},[261,2155,2156,2158,2160,2162],{"class":263,"line":450},[261,2157,620],{"class":274},[261,2159,278],{"class":267},[261,2161,625],{"class":281},[261,2163,285],{"class":267},[261,2165,2166,2168,2170,2172],{"class":263,"line":456},[261,2167,632],{"class":274},[261,2169,278],{"class":267},[261,2171,637],{"class":281},[261,2173,285],{"class":267},[261,2175,2176,2178,2180,2183],{"class":263,"line":642},[261,2177,645],{"class":274},[261,2179,278],{"class":267},[261,2181,2182],{"class":281},"\"The CSS selector of the element to highlight.\"",[261,2184,285],{"class":267},[261,2186,2187,2189,2191,2193],{"class":263,"line":655},[261,2188,658],{"class":274},[261,2190,278],{"class":267},[261,2192,663],{"class":281},[261,2194,285],{"class":267},[261,2196,2197,2199,2201,2203],{"class":263,"line":668},[261,2198,671],{"class":274},[261,2200,278],{"class":267},[261,2202,663],{"class":281},[261,2204,285],{"class":267},[261,2206,2207,2209,2211,2213],{"class":263,"line":680},[261,2208,683],{"class":274},[261,2210,278],{"class":267},[261,2212,348],{"class":274},[261,2214,285],{"class":267},[261,2216,2217,2219,2221,2223],{"class":263,"line":692},[261,2218,695],{"class":274},[261,2220,278],{"class":267},[261,2222,322],{"class":274},[261,2224,285],{"class":267},[261,2226,2227,2229,2231],{"class":263,"line":704},[261,2228,707],{"class":274},[261,2230,278],{"class":267},[261,2232,712],{"class":274},[261,2234,2235],{"class":263,"line":715},[261,2236,986],{"class":267},[261,2238,2239],{"class":263,"line":721},[261,2240,603],{"class":267},[261,2242,2243,2245,2247,2249],{"class":263,"line":727},[261,2244,608],{"class":274},[261,2246,278],{"class":267},[261,2248,999],{"class":281},[261,2250,285],{"class":267},[261,2252,2253,2255,2257,2259],{"class":263,"line":734},[261,2254,620],{"class":274},[261,2256,278],{"class":267},[261,2258,625],{"class":281},[261,2260,285],{"class":267},[261,2262,2263,2265,2267,2269],{"class":263,"line":741},[261,2264,632],{"class":274},[261,2266,278],{"class":267},[261,2268,637],{"class":281},[261,2270,285],{"class":267},[261,2272,2273,2275,2277,2280],{"class":263,"line":746},[261,2274,645],{"class":274},[261,2276,278],{"class":267},[261,2278,2279],{"class":281},"\"The text in the selected element to highlight.\"",[261,2281,285],{"class":267},[261,2283,2284,2286,2288,2290],{"class":263,"line":1035},[261,2285,658],{"class":274},[261,2287,278],{"class":267},[261,2289,663],{"class":281},[261,2291,285],{"class":267},[261,2293,2294,2296,2298,2300],{"class":263,"line":1046},[261,2295,671],{"class":274},[261,2297,278],{"class":267},[261,2299,663],{"class":281},[261,2301,285],{"class":267},[261,2303,2304,2306,2308,2310],{"class":263,"line":1057},[261,2305,683],{"class":274},[261,2307,278],{"class":267},[261,2309,348],{"class":274},[261,2311,285],{"class":267},[261,2313,2314,2316,2318,2320],{"class":263,"line":1068},[261,2315,695],{"class":274},[261,2317,278],{"class":267},[261,2319,322],{"class":274},[261,2321,285],{"class":267},[261,2323,2324,2326,2328],{"class":263,"line":1079},[261,2325,707],{"class":274},[261,2327,278],{"class":267},[261,2329,712],{"class":274},[261,2331,2332],{"class":263,"line":1088},[261,2333,718],{"class":267},[261,2335,2336],{"class":263,"line":1093},[261,2337,724],{"class":267},[261,2339,2340,2342],{"class":263,"line":1098},[261,2341,435],{"class":274},[261,2343,438],{"class":267},[261,2345,2346,2348],{"class":263,"line":1105},[261,2347,444],{"class":274},[261,2349,447],{"class":267},[261,2351,2352],{"class":263,"line":1112},[261,2353,453],{"class":267},[261,2355,2356],{"class":263,"line":1117},[261,2357,459],{"class":267},[248,2359,2362],{"name":2360,"text":2361},"get_current_location","Returns the current page URL.",[193,2363,2364],{"title":2360,":no-collapse":195},[197,2365,2367],{"className":255,"code":2366,"language":257,"meta":79,"style":79},"{\n  \"type\": \"client\",\n  \"name\": \"get_current_location\",\n  \"description\": \"Get the URL of the currently browsed web page.\",\n  \"disable_interruptions\": false,\n  \"force_pre_tool_speech\": \"auto\",\n  \"tool_call_sound\": null,\n  \"tool_call_sound_behavior\": \"auto\",\n  \"tool_error_handling_mode\": \"auto\",\n  \"execution_mode\": \"immediate\",\n  \"assignments\": [],\n  \"expects_response\": true,\n  \"response_timeout_secs\": 7,\n  \"parameters\": [],\n  \"dynamic_variables\": {\n    \"dynamic_variable_placeholders\": {}\n  }\n}\n",[142,2368,2369,2373,2383,2394,2405,2415,2425,2435,2445,2455,2465,2471,2481,2491,2497,2503,2509,2513],{"__ignoreMap":79},[261,2370,2371],{"class":263,"line":264},[261,2372,268],{"class":267},[261,2374,2375,2377,2379,2381],{"class":263,"line":271},[261,2376,275],{"class":274},[261,2378,278],{"class":267},[261,2380,282],{"class":281},[261,2382,285],{"class":267},[261,2384,2385,2387,2389,2392],{"class":263,"line":288},[261,2386,291],{"class":274},[261,2388,278],{"class":267},[261,2390,2391],{"class":281},"\"get_current_location\"",[261,2393,285],{"class":267},[261,2395,2396,2398,2400,2403],{"class":263,"line":301},[261,2397,304],{"class":274},[261,2399,278],{"class":267},[261,2401,2402],{"class":281},"\"Get the URL of the currently browsed web page.\"",[261,2404,285],{"class":267},[261,2406,2407,2409,2411,2413],{"class":263,"line":314},[261,2408,317],{"class":274},[261,2410,278],{"class":267},[261,2412,322],{"class":274},[261,2414,285],{"class":267},[261,2416,2417,2419,2421,2423],{"class":263,"line":327},[261,2418,330],{"class":274},[261,2420,278],{"class":267},[261,2422,335],{"class":281},[261,2424,285],{"class":267},[261,2426,2427,2429,2431,2433],{"class":263,"line":340},[261,2428,343],{"class":274},[261,2430,278],{"class":267},[261,2432,348],{"class":274},[261,2434,285],{"class":267},[261,2436,2437,2439,2441,2443],{"class":263,"line":353},[261,2438,356],{"class":274},[261,2440,278],{"class":267},[261,2442,335],{"class":281},[261,2444,285],{"class":267},[261,2446,2447,2449,2451,2453],{"class":263,"line":365},[261,2448,368],{"class":274},[261,2450,278],{"class":267},[261,2452,335],{"class":281},[261,2454,285],{"class":267},[261,2456,2457,2459,2461,2463],{"class":263,"line":377},[261,2458,380],{"class":274},[261,2460,278],{"class":267},[261,2462,385],{"class":281},[261,2464,285],{"class":267},[261,2466,2467,2469],{"class":263,"line":390},[261,2468,393],{"class":274},[261,2470,396],{"class":267},[261,2472,2473,2475,2477,2479],{"class":263,"line":399},[261,2474,402],{"class":274},[261,2476,278],{"class":267},[261,2478,195],{"class":274},[261,2480,285],{"class":267},[261,2482,2483,2485,2487,2489],{"class":263,"line":411},[261,2484,414],{"class":274},[261,2486,278],{"class":267},[261,2488,880],{"class":274},[261,2490,285],{"class":267},[261,2492,2493,2495],{"class":263,"line":424},[261,2494,427],{"class":274},[261,2496,396],{"class":267},[261,2498,2499,2501],{"class":263,"line":432},[261,2500,435],{"class":274},[261,2502,438],{"class":267},[261,2504,2505,2507],{"class":263,"line":441},[261,2506,444],{"class":274},[261,2508,447],{"class":267},[261,2510,2511],{"class":263,"line":450},[261,2512,453],{"class":267},[261,2514,2515],{"class":263,"line":456},[261,2516,459],{"class":267},[116,2518],{"alt":2519,"caption":2520,"height":120,"src":2521,"width":122},"The Tools tab with all eight browser tools added","The Tools tab with all eight browser tools added.","/guides/elevenlabs/img-04.jpg",[129,2523,2525],{"title":2524,"type":132},"Faster: let a script add them",[134,2526,2527,2528,2533],{},"Instead of pasting eight tools, run this script once. It creates the same eight tools through the ElevenLabs API and attaches them to your agent. Get ",[66,2529,2532],{"href":2530,"rel":2531},"https://github.com/webfuse-com/elevenlabs-voice-agent/blob/main/add_webfuse_tools.py",[70],"add_webfuse_tools.py"," from the repository (or copy it below), then run it with your ElevenLabs API key and agent ID. Running it again does not create duplicates.",[193,2535,2537],{"title":2536},"Terminal",[197,2538,2542],{"className":2539,"code":2540,"language":2541,"meta":79,"style":79},"language-bash shiki shiki-themes github-dark github-dark","ELEVENLABS_API_KEY=sk_... python3 add_webfuse_tools.py agent_...\n","bash",[142,2543,2544],{"__ignoreMap":79},[261,2545,2546,2549,2553,2556,2560,2563],{"class":263,"line":264},[261,2547,2548],{"class":267},"ELEVENLABS_API_KEY",[261,2550,2552],{"class":2551},"sOPea","=",[261,2554,2555],{"class":281},"sk_...",[261,2557,2559],{"class":2558},"sFR8T"," python3",[261,2561,2562],{"class":281}," add_webfuse_tools.py",[261,2564,2565],{"class":281}," agent_...\n",[248,2567,2569],{"name":2532,"text":2568},"Python 3, no extra packages.",[193,2570,2571],{"title":2532,":no-collapse":195},[197,2572,2576],{"className":2573,"code":2574,"language":2575,"meta":79,"style":79},"language-python shiki shiki-themes github-dark github-dark","# Adds the eight Webfuse browser tools to your ElevenLabs agent.\n# Usage: ELEVENLABS_API_KEY=sk_... python3 add_webfuse_tools.py agent_...\n# Safe to run twice: tools that already exist are reused, not duplicated.\nimport json, os, sys, urllib.request, urllib.error\n\nKEY = os.environ.get(\"ELEVENLABS_API_KEY\")\nif not KEY or len(sys.argv) != 2:\n    sys.exit(\"Usage: ELEVENLABS_API_KEY=sk_... python3 add_webfuse_tools.py agent_...\")\nAGENT = sys.argv[1]\nBASE = \"https://api.elevenlabs.io/v1/convai\"\n\nTOOLS = json.loads(r\"\"\"[\n    {\n        \"type\": \"client\",\n        \"name\": \"take_dom_snapshot\",\n        \"description\": \"Take a snapshot of the currently browsed web page. That means, serlialize its DOM to HTML in order to analyze the inherent UI.\",\n        \"expects_response\": false,\n        \"response_timeout_secs\": 1,\n        \"parameters\": {\n            \"type\": \"object\",\n            \"properties\": {},\n            \"required\": []\n        }\n    },\n    {\n        \"type\": \"client\",\n        \"name\": \"click\",\n        \"description\": \"Click an element in the web page.\",\n        \"expects_response\": true,\n        \"response_timeout_secs\": 1,\n        \"parameters\": {\n            \"type\": \"object\",\n            \"properties\": {\n                \"target\": {\n                    \"type\": \"string\",\n                    \"description\": \"The unique CSS selector of the element to click.\"\n                }\n            },\n            \"required\": [\n                \"target\"\n            ]\n        }\n    },\n    {\n        \"type\": \"client\",\n        \"name\": \"type\",\n        \"description\": \"Type to an element in the web page.\",\n        \"expects_response\": true,\n        \"response_timeout_secs\": 7,\n        \"parameters\": {\n            \"type\": \"object\",\n            \"properties\": {\n                \"target\": {\n                    \"type\": \"string\",\n                    \"description\": \"The unique CSS selector of the element to type to.\"\n                },\n                \"text\": {\n                    \"type\": \"string\",\n                    \"description\": \"Text to type.\"\n                }\n            },\n            \"required\": [\n                \"target\",\n                \"text\"\n            ]\n        }\n    },\n    {\n        \"type\": \"client\",\n        \"name\": \"navigate\",\n        \"description\": \"Navigate to a different website by URL.\",\n        \"expects_response\": true,\n        \"response_timeout_secs\": 15,\n        \"parameters\": {\n            \"type\": \"object\",\n            \"properties\": {\n                \"url\": {\n                    \"type\": \"string\",\n                    \"description\": \"URL to navigate to.\"\n                }\n            },\n            \"required\": [\n                \"url\"\n            ]\n        }\n    },\n    {\n        \"type\": \"client\",\n        \"name\": \"scroll\",\n        \"description\": \"Scroll in the page or a certain element. The element will be scrolled to by using                         element.scrollIntoView({ behavior: 'smooth', block: 'center' });\",\n        \"expects_response\": true,\n        \"response_timeout_secs\": 7,\n        \"parameters\": {\n            \"type\": \"object\",\n            \"properties\": {\n                \"target\": {\n                    \"type\": \"string\",\n                    \"description\": \"Requires a CSS selector of the element you'd like to scroll to.\"\n                },\n                \"amount\": {\n                    \"type\": \"integer\",\n                    \"description\": \"Requires an amount of pixels to vertically scroll (negative scrolls up).\"\n                }\n            },\n            \"required\": [\n                \"target\",\n                \"amount\"\n            ]\n        }\n    },\n    {\n        \"type\": \"client\",\n        \"name\": \"mouse_move\",\n        \"description\": \"Move the mouse pointer to a certain pixel coordinate.\",\n        \"expects_response\": false,\n        \"response_timeout_secs\": 1,\n        \"parameters\": {\n            \"type\": \"object\",\n            \"properties\": {\n                \"target\": {\n                    \"type\": \"string\",\n                    \"description\": \"CSS selector of element to center mouse pointer over.\"\n                }\n            },\n            \"required\": [\n                \"target\"\n            ]\n        }\n    },\n    {\n        \"type\": \"client\",\n        \"name\": \"text_select\",\n        \"description\": \"Select a specific part of text in the page to emphasise it.\",\n        \"expects_response\": true,\n        \"response_timeout_secs\": 1,\n        \"parameters\": {\n            \"type\": \"object\",\n            \"properties\": {\n                \"target\": {\n                    \"type\": \"string\",\n                    \"description\": \"The CSS selector of the element to highlight.\"\n                },\n                \"text\": {\n                    \"type\": \"string\",\n                    \"description\": \"The text in the selected element to highlight.\"\n                }\n            },\n            \"required\": [\n                \"target\",\n                \"text\"\n            ]\n        }\n    },\n    {\n        \"type\": \"client\",\n        \"name\": \"get_current_location\",\n        \"description\": \"Get the URL of the currently browsed web page.\",\n        \"expects_response\": true,\n        \"response_timeout_secs\": 7,\n        \"parameters\": {\n            \"type\": \"object\",\n            \"properties\": {},\n            \"required\": []\n        }\n    }\n]\"\"\")\n\ndef api(method, path, body=None):\n    req = urllib.request.Request(BASE + path, method=method,\n        data=json.dumps(body).encode() if body is not None else None,\n        headers={\"xi-api-key\": KEY, \"Content-Type\": \"application/json\"})\n    try:\n        with urllib.request.urlopen(req, timeout=60) as r:\n            return json.loads(r.read().decode() or \"{}\")\n    except urllib.error.HTTPError as e:\n        sys.exit(f\"{method} {path} failed ({e.code}): {e.read().decode()[:300]}\")\n\nexisting = {t[\"tool_config\"][\"name\"]: t[\"id\"] for t in api(\"GET\", \"/tools\").get(\"tools\", [])}\nids = []\nfor cfg in TOOLS:\n    if cfg[\"name\"] in existing:\n        print(f\"  {cfg['name']:\u003C22} already exists, reusing it\")\n        ids.append(existing[cfg[\"name\"]])\n    else:\n        ids.append(api(\"POST\", \"/tools\", {\"tool_config\": cfg})[\"id\"])\n        print(f\"  {cfg['name']:\u003C22} created\")\n\n# Keep any tools the agent already has, then add ours\nagent = api(\"GET\", f\"/agents/{AGENT}\")\ncurrent = agent[\"conversation_config\"][\"agent\"][\"prompt\"].get(\"tool_ids\") or []\nmerged = current + [i for i in ids if i not in current]\napi(\"PATCH\", f\"/agents/{AGENT}\", {\"conversation_config\": {\"agent\": {\"prompt\": {\"tool_ids\": merged}}}})\nprint(f\"Done. {len(ids)} Webfuse tools are attached to {AGENT}. Start a new conversation to use them.\")\n","python",[142,2577,2578,2584,2589,2594,2602,2607,2624,2653,2663,2678,2688,2692,2711,2715,2720,2725,2730,2735,2740,2745,2750,2755,2760,2766,2770,2774,2778,2783,2793,2798,2802,2806,2810,2815,2820,2825,2835,2840,2845,2852,2857,2862,2867,2872,2877,2882,2888,2898,2903,2909,2914,2919,2924,2929,2934,2944,2950,2956,2961,2971,2976,2981,2988,2994,3000,3005,3010,3015,3020,3025,3031,3041,3046,3052,3057,3062,3067,3073,3078,3088,3093,3098,3105,3111,3116,3121,3126,3131,3136,3142,3170,3175,3180,3185,3190,3195,3200,3205,3215,3220,3226,3232,3248,3253,3258,3265,3270,3276,3281,3286,3291,3296,3301,3307,3317,3322,3327,3332,3337,3342,3347,3352,3362,3367,3372,3379,3384,3389,3394,3399,3404,3409,3415,3425,3430,3435,3440,3445,3450,3455,3460,3470,3475,3480,3485,3495,3500,3505,3512,3517,3522,3527,3532,3537,3542,3547,3553,3563,3568,3573,3578,3583,3588,3593,3598,3603,3613,3618,3638,3666,3697,3729,3737,3763,3786,3800,3855,3860,3918,3929,3944,3962,3995,4006,4014,4040,4068,4073,4079,4105,4141,4181,4220],{"__ignoreMap":79},[261,2579,2580],{"class":263,"line":264},[261,2581,2583],{"class":2582},"sJ8bj","# Adds the eight Webfuse browser tools to your ElevenLabs agent.\n",[261,2585,2586],{"class":263,"line":271},[261,2587,2588],{"class":2582},"# Usage: ELEVENLABS_API_KEY=sk_... python3 add_webfuse_tools.py agent_...\n",[261,2590,2591],{"class":263,"line":288},[261,2592,2593],{"class":2582},"# Safe to run twice: tools that already exist are reused, not duplicated.\n",[261,2595,2596,2599],{"class":263,"line":301},[261,2597,2598],{"class":2551},"import",[261,2600,2601],{"class":267}," json, os, sys, urllib.request, urllib.error\n",[261,2603,2604],{"class":263,"line":314},[261,2605,2606],{"emptyLinePlaceholder":78},"\n",[261,2608,2609,2612,2615,2618,2621],{"class":263,"line":327},[261,2610,2611],{"class":274},"KEY",[261,2613,2614],{"class":2551}," =",[261,2616,2617],{"class":267}," os.environ.get(",[261,2619,2620],{"class":281},"\"ELEVENLABS_API_KEY\"",[261,2622,2623],{"class":267},")\n",[261,2625,2626,2629,2632,2635,2638,2641,2644,2647,2650],{"class":263,"line":340},[261,2627,2628],{"class":2551},"if",[261,2630,2631],{"class":2551}," not",[261,2633,2634],{"class":274}," KEY",[261,2636,2637],{"class":2551}," or",[261,2639,2640],{"class":274}," len",[261,2642,2643],{"class":267},"(sys.argv) ",[261,2645,2646],{"class":2551},"!=",[261,2648,2649],{"class":274}," 2",[261,2651,2652],{"class":267},":\n",[261,2654,2655,2658,2661],{"class":263,"line":353},[261,2656,2657],{"class":267},"    sys.exit(",[261,2659,2660],{"class":281},"\"Usage: ELEVENLABS_API_KEY=sk_... python3 add_webfuse_tools.py agent_...\"",[261,2662,2623],{"class":267},[261,2664,2665,2668,2670,2673,2675],{"class":263,"line":365},[261,2666,2667],{"class":274},"AGENT",[261,2669,2614],{"class":2551},[261,2671,2672],{"class":267}," sys.argv[",[261,2674,419],{"class":274},[261,2676,2677],{"class":267},"]\n",[261,2679,2680,2683,2685],{"class":263,"line":377},[261,2681,2682],{"class":274},"BASE",[261,2684,2614],{"class":2551},[261,2686,2687],{"class":281}," \"https://api.elevenlabs.io/v1/convai\"\n",[261,2689,2690],{"class":263,"line":390},[261,2691,2606],{"emptyLinePlaceholder":78},[261,2693,2694,2697,2699,2702,2705,2708],{"class":263,"line":399},[261,2695,2696],{"class":274},"TOOLS",[261,2698,2614],{"class":2551},[261,2700,2701],{"class":267}," json.loads(",[261,2703,2704],{"class":2551},"r",[261,2706,2707],{"class":281},"\"\"\"",[261,2709,2710],{"class":274},"[\n",[261,2712,2713],{"class":263,"line":411},[261,2714,603],{"class":274},[261,2716,2717],{"class":263,"line":424},[261,2718,2719],{"class":274},"        \"type\": \"client\",\n",[261,2721,2722],{"class":263,"line":432},[261,2723,2724],{"class":274},"        \"name\": \"take_dom_snapshot\",\n",[261,2726,2727],{"class":263,"line":441},[261,2728,2729],{"class":274},"        \"description\": \"Take a snapshot of the currently browsed web page. That means, serlialize its DOM to HTML in order to analyze the inherent UI.\",\n",[261,2731,2732],{"class":263,"line":450},[261,2733,2734],{"class":274},"        \"expects_response\": false,\n",[261,2736,2737],{"class":263,"line":456},[261,2738,2739],{"class":274},"        \"response_timeout_secs\": 1,\n",[261,2741,2742],{"class":263,"line":642},[261,2743,2744],{"class":274},"        \"parameters\": {\n",[261,2746,2747],{"class":263,"line":655},[261,2748,2749],{"class":274},"            \"type\": \"object\",\n",[261,2751,2752],{"class":263,"line":668},[261,2753,2754],{"class":274},"            \"properties\": {},\n",[261,2756,2757],{"class":263,"line":680},[261,2758,2759],{"class":274},"            \"required\": []\n",[261,2761,2762],{"class":263,"line":692},[261,2763,2765],{"class":2764},"se7xv","        }\n",[261,2767,2768],{"class":263,"line":704},[261,2769,986],{"class":2764},[261,2771,2772],{"class":263,"line":715},[261,2773,603],{"class":2764},[261,2775,2776],{"class":263,"line":721},[261,2777,2719],{"class":2764},[261,2779,2780],{"class":263,"line":727},[261,2781,2782],{"class":2764},"        \"name\": \"click\",\n",[261,2784,2785,2788,2790],{"class":263,"line":734},[261,2786,2787],{"class":2764},"        \"description\": \"Click an element in the web page",[261,2789,149],{"class":274},[261,2791,2792],{"class":2764},"\",\n",[261,2794,2795],{"class":263,"line":741},[261,2796,2797],{"class":2764},"        \"expects_response\": true,\n",[261,2799,2800],{"class":263,"line":746},[261,2801,2739],{"class":2764},[261,2803,2804],{"class":263,"line":1035},[261,2805,2744],{"class":2764},[261,2807,2808],{"class":263,"line":1046},[261,2809,2749],{"class":2764},[261,2811,2812],{"class":263,"line":1057},[261,2813,2814],{"class":2764},"            \"properties\": {\n",[261,2816,2817],{"class":263,"line":1068},[261,2818,2819],{"class":2764},"                \"target\": {\n",[261,2821,2822],{"class":263,"line":1079},[261,2823,2824],{"class":2764},"                    \"type\": \"string\",\n",[261,2826,2827,2830,2832],{"class":263,"line":1088},[261,2828,2829],{"class":2764},"                    \"description\": \"The unique CSS selector of the element to click",[261,2831,149],{"class":274},[261,2833,2834],{"class":2764},"\"\n",[261,2836,2837],{"class":263,"line":1093},[261,2838,2839],{"class":2764},"                }\n",[261,2841,2842],{"class":263,"line":1098},[261,2843,2844],{"class":2764},"            },\n",[261,2846,2847,2850],{"class":263,"line":1105},[261,2848,2849],{"class":2764},"            \"required\": ",[261,2851,2710],{"class":274},[261,2853,2854],{"class":263,"line":1112},[261,2855,2856],{"class":274},"                \"target\"\n",[261,2858,2859],{"class":263,"line":1117},[261,2860,2861],{"class":274},"            ]\n",[261,2863,2865],{"class":263,"line":2864},42,[261,2866,2765],{"class":2764},[261,2868,2870],{"class":263,"line":2869},43,[261,2871,986],{"class":2764},[261,2873,2875],{"class":263,"line":2874},44,[261,2876,603],{"class":2764},[261,2878,2880],{"class":263,"line":2879},45,[261,2881,2719],{"class":2764},[261,2883,2885],{"class":263,"line":2884},46,[261,2886,2887],{"class":2764},"        \"name\": \"type\",\n",[261,2889,2891,2894,2896],{"class":263,"line":2890},47,[261,2892,2893],{"class":2764},"        \"description\": \"Type to an element in the web page",[261,2895,149],{"class":274},[261,2897,2792],{"class":2764},[261,2899,2901],{"class":263,"line":2900},48,[261,2902,2797],{"class":2764},[261,2904,2906],{"class":263,"line":2905},49,[261,2907,2908],{"class":2764},"        \"response_timeout_secs\": 7,\n",[261,2910,2912],{"class":263,"line":2911},50,[261,2913,2744],{"class":2764},[261,2915,2917],{"class":263,"line":2916},51,[261,2918,2749],{"class":2764},[261,2920,2922],{"class":263,"line":2921},52,[261,2923,2814],{"class":2764},[261,2925,2927],{"class":263,"line":2926},53,[261,2928,2819],{"class":2764},[261,2930,2932],{"class":263,"line":2931},54,[261,2933,2824],{"class":2764},[261,2935,2937,2940,2942],{"class":263,"line":2936},55,[261,2938,2939],{"class":2764},"                    \"description\": \"The unique CSS selector of the element to type to",[261,2941,149],{"class":274},[261,2943,2834],{"class":2764},[261,2945,2947],{"class":263,"line":2946},56,[261,2948,2949],{"class":2764},"                },\n",[261,2951,2953],{"class":263,"line":2952},57,[261,2954,2955],{"class":2764},"                \"text\": {\n",[261,2957,2959],{"class":263,"line":2958},58,[261,2960,2824],{"class":2764},[261,2962,2964,2967,2969],{"class":263,"line":2963},59,[261,2965,2966],{"class":2764},"                    \"description\": \"Text to type",[261,2968,149],{"class":274},[261,2970,2834],{"class":2764},[261,2972,2974],{"class":263,"line":2973},60,[261,2975,2839],{"class":2764},[261,2977,2979],{"class":263,"line":2978},61,[261,2980,2844],{"class":2764},[261,2982,2984,2986],{"class":263,"line":2983},62,[261,2985,2849],{"class":2764},[261,2987,2710],{"class":274},[261,2989,2991],{"class":263,"line":2990},63,[261,2992,2993],{"class":274},"                \"target\",\n",[261,2995,2997],{"class":263,"line":2996},64,[261,2998,2999],{"class":274},"                \"text\"\n",[261,3001,3003],{"class":263,"line":3002},65,[261,3004,2861],{"class":274},[261,3006,3008],{"class":263,"line":3007},66,[261,3009,2765],{"class":2764},[261,3011,3013],{"class":263,"line":3012},67,[261,3014,986],{"class":2764},[261,3016,3018],{"class":263,"line":3017},68,[261,3019,603],{"class":2764},[261,3021,3023],{"class":263,"line":3022},69,[261,3024,2719],{"class":2764},[261,3026,3028],{"class":263,"line":3027},70,[261,3029,3030],{"class":2764},"        \"name\": \"navigate\",\n",[261,3032,3034,3037,3039],{"class":263,"line":3033},71,[261,3035,3036],{"class":2764},"        \"description\": \"Navigate to a different website by URL",[261,3038,149],{"class":274},[261,3040,2792],{"class":2764},[261,3042,3044],{"class":263,"line":3043},72,[261,3045,2797],{"class":2764},[261,3047,3049],{"class":263,"line":3048},73,[261,3050,3051],{"class":2764},"        \"response_timeout_secs\": 15,\n",[261,3053,3055],{"class":263,"line":3054},74,[261,3056,2744],{"class":2764},[261,3058,3060],{"class":263,"line":3059},75,[261,3061,2749],{"class":2764},[261,3063,3065],{"class":263,"line":3064},76,[261,3066,2814],{"class":2764},[261,3068,3070],{"class":263,"line":3069},77,[261,3071,3072],{"class":2764},"                \"url\": {\n",[261,3074,3076],{"class":263,"line":3075},78,[261,3077,2824],{"class":2764},[261,3079,3081,3084,3086],{"class":263,"line":3080},79,[261,3082,3083],{"class":2764},"                    \"description\": \"URL to navigate to",[261,3085,149],{"class":274},[261,3087,2834],{"class":2764},[261,3089,3091],{"class":263,"line":3090},80,[261,3092,2839],{"class":2764},[261,3094,3096],{"class":263,"line":3095},81,[261,3097,2844],{"class":2764},[261,3099,3101,3103],{"class":263,"line":3100},82,[261,3102,2849],{"class":2764},[261,3104,2710],{"class":274},[261,3106,3108],{"class":263,"line":3107},83,[261,3109,3110],{"class":274},"                \"url\"\n",[261,3112,3114],{"class":263,"line":3113},84,[261,3115,2861],{"class":274},[261,3117,3119],{"class":263,"line":3118},85,[261,3120,2765],{"class":2764},[261,3122,3124],{"class":263,"line":3123},86,[261,3125,986],{"class":2764},[261,3127,3129],{"class":263,"line":3128},87,[261,3130,603],{"class":2764},[261,3132,3134],{"class":263,"line":3133},88,[261,3135,2719],{"class":2764},[261,3137,3139],{"class":263,"line":3138},89,[261,3140,3141],{"class":2764},"        \"name\": \"scroll\",\n",[261,3143,3145,3148,3150,3153,3155,3158,3161,3164,3167],{"class":263,"line":3144},90,[261,3146,3147],{"class":2764},"        \"description\": \"Scroll in the page or a certain element",[261,3149,149],{"class":274},[261,3151,3152],{"class":2764}," The element will be scrolled to by using                         element",[261,3154,149],{"class":274},[261,3156,3157],{"class":2764},"scrollIntoView",[261,3159,3160],{"class":274},"(",[261,3162,3163],{"class":2764},"{ behavior: 'smooth', block: 'center' }",[261,3165,3166],{"class":274},")",[261,3168,3169],{"class":2764},";\",\n",[261,3171,3173],{"class":263,"line":3172},91,[261,3174,2797],{"class":2764},[261,3176,3178],{"class":263,"line":3177},92,[261,3179,2908],{"class":2764},[261,3181,3183],{"class":263,"line":3182},93,[261,3184,2744],{"class":2764},[261,3186,3188],{"class":263,"line":3187},94,[261,3189,2749],{"class":2764},[261,3191,3193],{"class":263,"line":3192},95,[261,3194,2814],{"class":2764},[261,3196,3198],{"class":263,"line":3197},96,[261,3199,2819],{"class":2764},[261,3201,3203],{"class":263,"line":3202},97,[261,3204,2824],{"class":2764},[261,3206,3208,3211,3213],{"class":263,"line":3207},98,[261,3209,3210],{"class":2764},"                    \"description\": \"Requires a CSS selector of the element you'd like to scroll to",[261,3212,149],{"class":274},[261,3214,2834],{"class":2764},[261,3216,3218],{"class":263,"line":3217},99,[261,3219,2949],{"class":2764},[261,3221,3223],{"class":263,"line":3222},100,[261,3224,3225],{"class":2764},"                \"amount\": {\n",[261,3227,3229],{"class":263,"line":3228},101,[261,3230,3231],{"class":2764},"                    \"type\": \"integer\",\n",[261,3233,3235,3238,3240,3243,3246],{"class":263,"line":3234},102,[261,3236,3237],{"class":2764},"                    \"description\": \"Requires an amount of pixels to vertically scroll ",[261,3239,3160],{"class":274},[261,3241,3242],{"class":2764},"negative scrolls up",[261,3244,3245],{"class":274},").",[261,3247,2834],{"class":2764},[261,3249,3251],{"class":263,"line":3250},103,[261,3252,2839],{"class":2764},[261,3254,3256],{"class":263,"line":3255},104,[261,3257,2844],{"class":2764},[261,3259,3261,3263],{"class":263,"line":3260},105,[261,3262,2849],{"class":2764},[261,3264,2710],{"class":274},[261,3266,3268],{"class":263,"line":3267},106,[261,3269,2993],{"class":274},[261,3271,3273],{"class":263,"line":3272},107,[261,3274,3275],{"class":274},"                \"amount\"\n",[261,3277,3279],{"class":263,"line":3278},108,[261,3280,2861],{"class":274},[261,3282,3284],{"class":263,"line":3283},109,[261,3285,2765],{"class":2764},[261,3287,3289],{"class":263,"line":3288},110,[261,3290,986],{"class":2764},[261,3292,3294],{"class":263,"line":3293},111,[261,3295,603],{"class":2764},[261,3297,3299],{"class":263,"line":3298},112,[261,3300,2719],{"class":2764},[261,3302,3304],{"class":263,"line":3303},113,[261,3305,3306],{"class":2764},"        \"name\": \"mouse_move\",\n",[261,3308,3310,3313,3315],{"class":263,"line":3309},114,[261,3311,3312],{"class":2764},"        \"description\": \"Move the mouse pointer to a certain pixel coordinate",[261,3314,149],{"class":274},[261,3316,2792],{"class":2764},[261,3318,3320],{"class":263,"line":3319},115,[261,3321,2734],{"class":2764},[261,3323,3325],{"class":263,"line":3324},116,[261,3326,2739],{"class":2764},[261,3328,3330],{"class":263,"line":3329},117,[261,3331,2744],{"class":2764},[261,3333,3335],{"class":263,"line":3334},118,[261,3336,2749],{"class":2764},[261,3338,3340],{"class":263,"line":3339},119,[261,3341,2814],{"class":2764},[261,3343,3345],{"class":263,"line":3344},120,[261,3346,2819],{"class":2764},[261,3348,3350],{"class":263,"line":3349},121,[261,3351,2824],{"class":2764},[261,3353,3355,3358,3360],{"class":263,"line":3354},122,[261,3356,3357],{"class":2764},"                    \"description\": \"CSS selector of element to center mouse pointer over",[261,3359,149],{"class":274},[261,3361,2834],{"class":2764},[261,3363,3365],{"class":263,"line":3364},123,[261,3366,2839],{"class":2764},[261,3368,3370],{"class":263,"line":3369},124,[261,3371,2844],{"class":2764},[261,3373,3375,3377],{"class":263,"line":3374},125,[261,3376,2849],{"class":2764},[261,3378,2710],{"class":274},[261,3380,3382],{"class":263,"line":3381},126,[261,3383,2856],{"class":274},[261,3385,3387],{"class":263,"line":3386},127,[261,3388,2861],{"class":274},[261,3390,3392],{"class":263,"line":3391},128,[261,3393,2765],{"class":2764},[261,3395,3397],{"class":263,"line":3396},129,[261,3398,986],{"class":2764},[261,3400,3402],{"class":263,"line":3401},130,[261,3403,603],{"class":2764},[261,3405,3407],{"class":263,"line":3406},131,[261,3408,2719],{"class":2764},[261,3410,3412],{"class":263,"line":3411},132,[261,3413,3414],{"class":2764},"        \"name\": \"text_select\",\n",[261,3416,3418,3421,3423],{"class":263,"line":3417},133,[261,3419,3420],{"class":2764},"        \"description\": \"Select a specific part of text in the page to emphasise it",[261,3422,149],{"class":274},[261,3424,2792],{"class":2764},[261,3426,3428],{"class":263,"line":3427},134,[261,3429,2797],{"class":2764},[261,3431,3433],{"class":263,"line":3432},135,[261,3434,2739],{"class":2764},[261,3436,3438],{"class":263,"line":3437},136,[261,3439,2744],{"class":2764},[261,3441,3443],{"class":263,"line":3442},137,[261,3444,2749],{"class":2764},[261,3446,3448],{"class":263,"line":3447},138,[261,3449,2814],{"class":2764},[261,3451,3453],{"class":263,"line":3452},139,[261,3454,2819],{"class":2764},[261,3456,3458],{"class":263,"line":3457},140,[261,3459,2824],{"class":2764},[261,3461,3463,3466,3468],{"class":263,"line":3462},141,[261,3464,3465],{"class":2764},"                    \"description\": \"The CSS selector of the element to highlight",[261,3467,149],{"class":274},[261,3469,2834],{"class":2764},[261,3471,3473],{"class":263,"line":3472},142,[261,3474,2949],{"class":2764},[261,3476,3478],{"class":263,"line":3477},143,[261,3479,2955],{"class":2764},[261,3481,3483],{"class":263,"line":3482},144,[261,3484,2824],{"class":2764},[261,3486,3488,3491,3493],{"class":263,"line":3487},145,[261,3489,3490],{"class":2764},"                    \"description\": \"The text in the selected element to highlight",[261,3492,149],{"class":274},[261,3494,2834],{"class":2764},[261,3496,3498],{"class":263,"line":3497},146,[261,3499,2839],{"class":2764},[261,3501,3503],{"class":263,"line":3502},147,[261,3504,2844],{"class":2764},[261,3506,3508,3510],{"class":263,"line":3507},148,[261,3509,2849],{"class":2764},[261,3511,2710],{"class":274},[261,3513,3515],{"class":263,"line":3514},149,[261,3516,2993],{"class":274},[261,3518,3520],{"class":263,"line":3519},150,[261,3521,2999],{"class":274},[261,3523,3525],{"class":263,"line":3524},151,[261,3526,2861],{"class":274},[261,3528,3530],{"class":263,"line":3529},152,[261,3531,2765],{"class":2764},[261,3533,3535],{"class":263,"line":3534},153,[261,3536,986],{"class":2764},[261,3538,3540],{"class":263,"line":3539},154,[261,3541,603],{"class":2764},[261,3543,3545],{"class":263,"line":3544},155,[261,3546,2719],{"class":2764},[261,3548,3550],{"class":263,"line":3549},156,[261,3551,3552],{"class":2764},"        \"name\": \"get_current_location\",\n",[261,3554,3556,3559,3561],{"class":263,"line":3555},157,[261,3557,3558],{"class":2764},"        \"description\": \"Get the URL of the currently browsed web page",[261,3560,149],{"class":274},[261,3562,2792],{"class":2764},[261,3564,3566],{"class":263,"line":3565},158,[261,3567,2797],{"class":2764},[261,3569,3571],{"class":263,"line":3570},159,[261,3572,2908],{"class":2764},[261,3574,3576],{"class":263,"line":3575},160,[261,3577,2744],{"class":2764},[261,3579,3581],{"class":263,"line":3580},161,[261,3582,2749],{"class":2764},[261,3584,3586],{"class":263,"line":3585},162,[261,3587,2754],{"class":2764},[261,3589,3591],{"class":263,"line":3590},163,[261,3592,2759],{"class":2764},[261,3594,3596],{"class":263,"line":3595},164,[261,3597,2765],{"class":2764},[261,3599,3601],{"class":263,"line":3600},165,[261,3602,718],{"class":2764},[261,3604,3606,3609,3611],{"class":263,"line":3605},166,[261,3607,3608],{"class":2764},"]",[261,3610,2707],{"class":281},[261,3612,2623],{"class":267},[261,3614,3616],{"class":263,"line":3615},167,[261,3617,2606],{"emptyLinePlaceholder":78},[261,3619,3621,3624,3627,3630,3632,3635],{"class":263,"line":3620},168,[261,3622,3623],{"class":2551},"def",[261,3625,3626],{"class":2558}," api",[261,3628,3629],{"class":267},"(method, path, body",[261,3631,2552],{"class":2551},[261,3633,3634],{"class":274},"None",[261,3636,3637],{"class":267},"):\n",[261,3639,3641,3644,3646,3649,3651,3654,3657,3661,3663],{"class":263,"line":3640},169,[261,3642,3643],{"class":267},"    req ",[261,3645,2552],{"class":2551},[261,3647,3648],{"class":267}," urllib.request.Request(",[261,3650,2682],{"class":274},[261,3652,3653],{"class":2551}," +",[261,3655,3656],{"class":267}," path, ",[261,3658,3660],{"class":3659},"s-3mD","method",[261,3662,2552],{"class":2551},[261,3664,3665],{"class":267},"method,\n",[261,3667,3669,3672,3674,3677,3679,3682,3685,3687,3690,3693,3695],{"class":263,"line":3668},170,[261,3670,3671],{"class":3659},"        data",[261,3673,2552],{"class":2551},[261,3675,3676],{"class":267},"json.dumps(body).encode() ",[261,3678,2628],{"class":2551},[261,3680,3681],{"class":267}," body ",[261,3683,3684],{"class":2551},"is",[261,3686,2631],{"class":2551},[261,3688,3689],{"class":274}," None",[261,3691,3692],{"class":2551}," else",[261,3694,3689],{"class":274},[261,3696,285],{"class":267},[261,3698,3700,3703,3705,3708,3711,3713,3715,3718,3721,3723,3726],{"class":263,"line":3699},171,[261,3701,3702],{"class":3659},"        headers",[261,3704,2552],{"class":2551},[261,3706,3707],{"class":267},"{",[261,3709,3710],{"class":281},"\"xi-api-key\"",[261,3712,278],{"class":267},[261,3714,2611],{"class":274},[261,3716,3717],{"class":267},", ",[261,3719,3720],{"class":281},"\"Content-Type\"",[261,3722,278],{"class":267},[261,3724,3725],{"class":281},"\"application/json\"",[261,3727,3728],{"class":267},"})\n",[261,3730,3732,3735],{"class":263,"line":3731},172,[261,3733,3734],{"class":2551},"    try",[261,3736,2652],{"class":267},[261,3738,3740,3743,3746,3749,3751,3754,3757,3760],{"class":263,"line":3739},173,[261,3741,3742],{"class":2551},"        with",[261,3744,3745],{"class":267}," urllib.request.urlopen(req, ",[261,3747,3748],{"class":3659},"timeout",[261,3750,2552],{"class":2551},[261,3752,3753],{"class":274},"60",[261,3755,3756],{"class":267},") ",[261,3758,3759],{"class":2551},"as",[261,3761,3762],{"class":267}," r:\n",[261,3764,3766,3769,3772,3775,3778,3781,3784],{"class":263,"line":3765},174,[261,3767,3768],{"class":2551},"            return",[261,3770,3771],{"class":267}," json.loads(r.read().decode() ",[261,3773,3774],{"class":2551},"or",[261,3776,3777],{"class":281}," \"",[261,3779,3780],{"class":274},"{}",[261,3782,3783],{"class":281},"\"",[261,3785,2623],{"class":267},[261,3787,3789,3792,3795,3797],{"class":263,"line":3788},175,[261,3790,3791],{"class":2551},"    except",[261,3793,3794],{"class":267}," urllib.error.HTTPError ",[261,3796,3759],{"class":2551},[261,3798,3799],{"class":267}," e:\n",[261,3801,3803,3806,3809,3811,3813,3815,3818,3821,3824,3826,3829,3831,3834,3836,3839,3841,3844,3847,3849,3851,3853],{"class":263,"line":3802},176,[261,3804,3805],{"class":267},"        sys.exit(",[261,3807,3808],{"class":2551},"f",[261,3810,3783],{"class":281},[261,3812,3707],{"class":274},[261,3814,3660],{"class":267},[261,3816,3817],{"class":274},"}",[261,3819,3820],{"class":274}," {",[261,3822,3823],{"class":267},"path",[261,3825,3817],{"class":274},[261,3827,3828],{"class":281}," failed (",[261,3830,3707],{"class":274},[261,3832,3833],{"class":267},"e.code",[261,3835,3817],{"class":274},[261,3837,3838],{"class":281},"): ",[261,3840,3707],{"class":274},[261,3842,3843],{"class":267},"e.read().decode()[:",[261,3845,3846],{"class":274},"300",[261,3848,3608],{"class":267},[261,3850,3817],{"class":274},[261,3852,3783],{"class":281},[261,3854,2623],{"class":267},[261,3856,3858],{"class":263,"line":3857},177,[261,3859,2606],{"emptyLinePlaceholder":78},[261,3861,3863,3866,3868,3871,3874,3877,3880,3883,3886,3889,3892,3895,3898,3901,3904,3906,3909,3912,3915],{"class":263,"line":3862},178,[261,3864,3865],{"class":267},"existing ",[261,3867,2552],{"class":2551},[261,3869,3870],{"class":267}," {t[",[261,3872,3873],{"class":281},"\"tool_config\"",[261,3875,3876],{"class":267},"][",[261,3878,3879],{"class":281},"\"name\"",[261,3881,3882],{"class":267},"]: t[",[261,3884,3885],{"class":281},"\"id\"",[261,3887,3888],{"class":267},"] ",[261,3890,3891],{"class":2551},"for",[261,3893,3894],{"class":267}," t ",[261,3896,3897],{"class":2551},"in",[261,3899,3900],{"class":267}," api(",[261,3902,3903],{"class":281},"\"GET\"",[261,3905,3717],{"class":267},[261,3907,3908],{"class":281},"\"/tools\"",[261,3910,3911],{"class":267},").get(",[261,3913,3914],{"class":281},"\"tools\"",[261,3916,3917],{"class":267},", [])}\n",[261,3919,3921,3924,3926],{"class":263,"line":3920},179,[261,3922,3923],{"class":267},"ids ",[261,3925,2552],{"class":2551},[261,3927,3928],{"class":267}," []\n",[261,3930,3932,3934,3937,3939,3942],{"class":263,"line":3931},180,[261,3933,3891],{"class":2551},[261,3935,3936],{"class":267}," cfg ",[261,3938,3897],{"class":2551},[261,3940,3941],{"class":274}," TOOLS",[261,3943,2652],{"class":267},[261,3945,3947,3950,3953,3955,3957,3959],{"class":263,"line":3946},181,[261,3948,3949],{"class":2551},"    if",[261,3951,3952],{"class":267}," cfg[",[261,3954,3879],{"class":281},[261,3956,3888],{"class":267},[261,3958,3897],{"class":2551},[261,3960,3961],{"class":267}," existing:\n",[261,3963,3965,3968,3970,3972,3975,3977,3980,3983,3985,3988,3990,3993],{"class":263,"line":3964},182,[261,3966,3967],{"class":274},"        print",[261,3969,3160],{"class":267},[261,3971,3808],{"class":2551},[261,3973,3974],{"class":281},"\"  ",[261,3976,3707],{"class":274},[261,3978,3979],{"class":267},"cfg[",[261,3981,3982],{"class":281},"'name'",[261,3984,3608],{"class":267},[261,3986,3987],{"class":2551},":\u003C22",[261,3989,3817],{"class":274},[261,3991,3992],{"class":281}," already exists, reusing it\"",[261,3994,2623],{"class":267},[261,3996,3998,4001,4003],{"class":263,"line":3997},183,[261,3999,4000],{"class":267},"        ids.append(existing[cfg[",[261,4002,3879],{"class":281},[261,4004,4005],{"class":267},"]])\n",[261,4007,4009,4012],{"class":263,"line":4008},184,[261,4010,4011],{"class":2551},"    else",[261,4013,2652],{"class":267},[261,4015,4017,4020,4023,4025,4027,4030,4032,4035,4037],{"class":263,"line":4016},185,[261,4018,4019],{"class":267},"        ids.append(api(",[261,4021,4022],{"class":281},"\"POST\"",[261,4024,3717],{"class":267},[261,4026,3908],{"class":281},[261,4028,4029],{"class":267},", {",[261,4031,3873],{"class":281},[261,4033,4034],{"class":267},": cfg})[",[261,4036,3885],{"class":281},[261,4038,4039],{"class":267},"])\n",[261,4041,4043,4045,4047,4049,4051,4053,4055,4057,4059,4061,4063,4066],{"class":263,"line":4042},186,[261,4044,3967],{"class":274},[261,4046,3160],{"class":267},[261,4048,3808],{"class":2551},[261,4050,3974],{"class":281},[261,4052,3707],{"class":274},[261,4054,3979],{"class":267},[261,4056,3982],{"class":281},[261,4058,3608],{"class":267},[261,4060,3987],{"class":2551},[261,4062,3817],{"class":274},[261,4064,4065],{"class":281}," created\"",[261,4067,2623],{"class":267},[261,4069,4071],{"class":263,"line":4070},187,[261,4072,2606],{"emptyLinePlaceholder":78},[261,4074,4076],{"class":263,"line":4075},188,[261,4077,4078],{"class":2582},"# Keep any tools the agent already has, then add ours\n",[261,4080,4082,4085,4087,4089,4091,4093,4095,4098,4101,4103],{"class":263,"line":4081},189,[261,4083,4084],{"class":267},"agent ",[261,4086,2552],{"class":2551},[261,4088,3900],{"class":267},[261,4090,3903],{"class":281},[261,4092,3717],{"class":267},[261,4094,3808],{"class":2551},[261,4096,4097],{"class":281},"\"/agents/",[261,4099,4100],{"class":274},"{AGENT}",[261,4102,3783],{"class":281},[261,4104,2623],{"class":267},[261,4106,4108,4111,4113,4116,4119,4121,4124,4126,4129,4132,4135,4137,4139],{"class":263,"line":4107},190,[261,4109,4110],{"class":267},"current ",[261,4112,2552],{"class":2551},[261,4114,4115],{"class":267}," agent[",[261,4117,4118],{"class":281},"\"conversation_config\"",[261,4120,3876],{"class":267},[261,4122,4123],{"class":281},"\"agent\"",[261,4125,3876],{"class":267},[261,4127,4128],{"class":281},"\"prompt\"",[261,4130,4131],{"class":267},"].get(",[261,4133,4134],{"class":281},"\"tool_ids\"",[261,4136,3756],{"class":267},[261,4138,3774],{"class":2551},[261,4140,3928],{"class":267},[261,4142,4144,4147,4149,4152,4155,4158,4160,4163,4165,4168,4170,4172,4175,4178],{"class":263,"line":4143},191,[261,4145,4146],{"class":267},"merged ",[261,4148,2552],{"class":2551},[261,4150,4151],{"class":267}," current ",[261,4153,4154],{"class":2551},"+",[261,4156,4157],{"class":267}," [i ",[261,4159,3891],{"class":2551},[261,4161,4162],{"class":267}," i ",[261,4164,3897],{"class":2551},[261,4166,4167],{"class":267}," ids ",[261,4169,2628],{"class":2551},[261,4171,4162],{"class":267},[261,4173,4174],{"class":2551},"not",[261,4176,4177],{"class":2551}," in",[261,4179,4180],{"class":267}," current]\n",[261,4182,4184,4187,4190,4192,4194,4196,4198,4200,4202,4204,4207,4209,4211,4213,4215,4217],{"class":263,"line":4183},192,[261,4185,4186],{"class":267},"api(",[261,4188,4189],{"class":281},"\"PATCH\"",[261,4191,3717],{"class":267},[261,4193,3808],{"class":2551},[261,4195,4097],{"class":281},[261,4197,4100],{"class":274},[261,4199,3783],{"class":281},[261,4201,4029],{"class":267},[261,4203,4118],{"class":281},[261,4205,4206],{"class":267},": {",[261,4208,4123],{"class":281},[261,4210,4206],{"class":267},[261,4212,4128],{"class":281},[261,4214,4206],{"class":267},[261,4216,4134],{"class":281},[261,4218,4219],{"class":267},": merged}}}})\n",[261,4221,4223,4226,4228,4230,4233,4236,4239,4241,4244,4246,4249],{"class":263,"line":4222},193,[261,4224,4225],{"class":274},"print",[261,4227,3160],{"class":267},[261,4229,3808],{"class":2551},[261,4231,4232],{"class":281},"\"Done. ",[261,4234,4235],{"class":274},"{len",[261,4237,4238],{"class":267},"(ids)",[261,4240,3817],{"class":274},[261,4242,4243],{"class":281}," Webfuse tools are attached to ",[261,4245,4100],{"class":274},[261,4247,4248],{"class":281},". Start a new conversation to use them.\"",[261,4250,2623],{"class":267},[129,4252,4255],{"title":4253,"type":4254},"Paste the exact JSON from this page","warn",[134,4256,4257,4258,3717,4260,4263,4264,4267,4268,4271],{},"The ElevenLabs portal expects tools in its dashboard export format (",[142,4259,225],{},[142,4261,4262],{},"name",", a ",[142,4265,4266],{},"parameters"," list, ",[142,4269,4270],{},"response_timeout_secs","), not the JSON Schema format from the API docs. If you write a tool by hand and the portal rejects it, or the widget never receives it, this is almost always why.",[83,4273,4275,4291,4328,4333],{"id":4274},"widget",[129,4276,4278,4281,4284],{"title":4277,"type":132},"An example widget we built, ready to use",[134,4279,4280],{},"The widget is a small Webfuse extension. It puts a voice widget in the corner of the session, with a transcript, a microphone button and a keyboard for typing. It connects to your agent, and runs each tool call on the page through the Webfuse Automation API.",[134,4282,4283],{},"Use it as it is, or as the starting point for your own: restyle it, or add custom tools for your customer's journeys. A Webfuse extension is plain HTML, CSS and JavaScript with a manifest, much like a browser extension.",[134,4285,4286],{},[66,4287,4290],{"href":4288,"rel":4289},"https://dev.webfuse.com/extensions/",[70],"Read the extension docs",[28,4292,4293,4299,4302,4313],{},[31,4294,4295,4296,4298],{},"Download ",[66,4297,80],{"href":77,"download":78,"external":79}," (8 KB).",[31,4300,4301],{},"Back in Webfuse Studio, install the extension on your Automation Space. It puts a floating voice widget into every session in the Space.",[31,4303,4304,4305,4308,4309,4312],{},"During install you are asked for one setting, ",[34,4306,4307],{},"Agent key",". Paste your agent ID (",[142,4310,4311],{},"agent_…",") from step 2. That is the whole handshake: the widget now talks to your agent.",[31,4314,4315,4316,4319,4320,4323,4324,4327],{},"While you are in Studio, open your Space's ",[34,4317,4318],{},"Developers"," tab and copy the ",[34,4321,4322],{},"Automation key"," (",[142,4325,4326],{},"ak_…","). You only need it for step 6.",[116,4329],{"alt":4330,"caption":4331,"height":120,"src":4332,"width":122},"The Developers tab of a Space with the API keys section, key values blurred","The Developers tab of your Space. Key values are blurred here.","/guides/elevenlabs/img-05.jpg",[129,4334,4336],{"title":4335,"type":4254},"Treat the Automation key like a password",[134,4337,4338],{},"It controls every session in the Space. Keep it only where it is needed: your password manager and, if you do step 6, the Bearer token field in ElevenLabs. If it leaks, delete it on the Developers tab and create another one.",[83,4340,4342,4345,4365],{"id":4341},"talk",[134,4343,4344],{},"Start a session in your Space and browse to any website. The ElevenLabs widget appears in the corner of the session and starts a conversation on its own. It starts muted: click the microphone button (allow the microphone if the browser asks) and just talk, or click the keyboard button to type.",[61,4346,4347,4353,4359],{},[31,4348,4349,4352],{},[163,4350,4351],{},"\"What's on this page?\""," The agent takes a DOM snapshot and answers.",[31,4354,4355,4358],{},[163,4356,4357],{},"\"Click the pricing link.\""," It finds the element and clicks it in the live session, telling you what it is doing.",[31,4360,4361,4364],{},[163,4362,4363],{},"\"Look up the Eiffel Tower on Wikipedia and tell me how tall it is.\""," It opens the article, reads it and answers: 330 metres.",[129,4366,4368],{"title":4367},"Good to know while testing",[61,4369,4370,4376,4382,4388],{},[31,4371,4372,4375],{},[34,4373,4374],{},"Open each session link once."," A second open joins the same session as another participant. For a fresh start, open a new session.",[31,4377,4378,4381],{},[34,4379,4380],{},"Keep the session tab in front, and its size steady."," Browsers slow down background tabs, and a resize can change the page layout halfway through a run.",[31,4383,4384,4387],{},[34,4385,4386],{},"Changed the agent's tools or prompt? Start a new conversation."," Tools are loaded when a conversation begins, so a chat that was already open never sees the change.",[31,4389,4390,4393],{},[34,4391,4392],{},"Give the first turn a moment."," The agent needs to connect and take its first snapshot before it starts acting.",[83,4395,4397,4404,4410,4464,4469,4485,4490],{"id":4396},"mcp",[134,4398,4399,4400,4403],{},"Steps 1 to 5 put the agent inside the browser session, through the widget. For a phone agent, connect ElevenLabs to the Webfuse ",[34,4401,4402],{},"Session MCP"," server instead. The agent then gets the same browser tools as MCP tools and drives whichever session you point it at.",[129,4405,4407],{"title":4406},"The customer still opens the session",[134,4408,4409],{},"A Webfuse session always runs in a browser, and the tools act on the browser of whoever has it open. So on a call, the agent sends the customer a session link, by SMS or email. The customer opens it and watches while the agent works and talks them through it. The agent never browses on its own, out of the customer's sight.",[28,4411,4412,4418,4443,4457],{},[31,4413,4414,4415,4417],{},"Have your Automation key (",[142,4416,4326],{},") from step 4 ready.",[31,4419,157,4420,4423,4424,4427,4428,4431,4432,4435,4436,4439,4440],{},[34,4421,4422],{},"Integrations",", click ",[34,4425,4426],{},"Add integration"," and create an MCP server with URL ",[142,4429,4430],{},"https://session-mcp.webfuse.com/mcp"," and authentication ",[34,4433,4434],{},"Bearer token"," with your ",[142,4437,4438],{},"ak_"," key. If your Space runs on another Webfuse domain, use that domain after ",[142,4441,4442],{},"session-mcp.",[31,4444,4445,4446,4448,4449,4452,4453,4456],{},"In the agent editor, open the ",[34,4447,213],{}," tab and switch to the ",[34,4450,4451],{},"MCP"," segment. Click ",[34,4454,4455],{},"Add server"," and pick your Webfuse MCP server. This is what gives the agent the tools: adding the integration alone is not enough.",[31,4458,4459,4460,4463],{},"Start a new conversation with the agent, and pass the ",[142,4461,4462],{},"session_id"," of the session it should drive.",[116,4465],{"alt":4466,"caption":4467,"height":120,"src":4468,"width":122},"The Integrations page in ElevenLabs with the Webfuse MCP server connected","The Integrations page in ElevenLabs with the Webfuse MCP server connected.","/guides/elevenlabs/img-06.jpg",[134,4470,4471,4472,4484],{},"For a quick smoke test, open a session yourself and tell the agent: ",[163,4473,4474,4475,4478,4479,4483],{},"\"Use Webfuse session ",[142,4476,4477],{},"\u003Csession-id>",". Navigate to ",[66,4480,4481],{"href":4481,"rel":4482},"https://webfuse.com",[70]," and describe what you see.\""," Then compare its answer with the session.",[116,4486],{"alt":4487,"caption":4488,"height":120,"src":4489,"width":122},"A Webfuse session that the agent navigated to webfuse.com through the Session MCP server","Smoke test passed: the agent drove this session to webfuse.com on its own, through the Session MCP server.","/guides/elevenlabs/img-07.jpg",[129,4491,4493],{"title":4492,"type":4254},"In production, the session ID comes from your backend",[134,4494,4495],{},"The Automation key works on every session in the Space. Never let the agent take a session ID from what the caller says. Have your backend send the link, learn the session ID when the customer opens it, and hand it to the agent, for example as a dynamic variable.",[11,4497,4501,4515,4539,4657],{"id":4498,"title":4499,"lead":4500},"debug","Debugging tips","Every action passes through two products: ElevenLabs decides which tool to call, and Webfuse runs it on the page. So the first question is always which side the problem is on.",[129,4502,4504],{"title":4503,"type":132},"1. Read the conversation in ElevenLabs",[134,4505,4506,4507,4510,4511,4514],{},"Open your agent, go to ",[34,4508,4509],{},"Conversations"," under ",[34,4512,4513],{},"Monitor"," and open the test call. It shows what the agent heard, which tools it called with which arguments, and what came back. No tool call there means the problem is on the ElevenLabs side: the prompt, a missing tool, or a conversation that started before your last change. A tool call that came back with an error means the problem is on the page side.",[129,4516,4518],{"title":4517,"type":132},"2. Try the same step by hand in the Automation Inspector",[134,4519,4520,4521,4524,4525,4528,4529,4531,4532,4535,4536,4538],{},"Start a session from your Space and click the robot icon in the session's top bar. The ",[34,4522,4523],{},"Automation Inspector"," runs the same Webfuse actions the widget runs for your agent: ",[142,4526,4527],{},"see_domSnapshot"," is what ",[142,4530,217],{}," returns, ",[142,4533,4534],{},"act_click"," is ",[142,4537,221],{},". Paste in the arguments from the conversation. If the step does not work by hand, the agent cannot make it work either, and you know what to change.",[4540,4541,4542,4555],"table",{},[4543,4544,4545],"thead",{},[4546,4547,4548,4552],"tr",{},[4549,4550,4551],"th",{},"What you see",[4549,4553,4554],{},"Try this",[4556,4557,4558,4570,4578,4590,4615,4623,4638,4649],"tbody",{},[4546,4559,4560,4564],{},[4561,4562,4563],"td",{},"The widget does not appear",[4561,4565,4566,4567,4569],{},"Start a new session. Extensions load when a session starts. Check that ",[34,4568,4307],{}," is set on the extension.",[4546,4571,4572,4575],{},[4561,4573,4574],{},"The widget opens but the agent never hears you",[4561,4576,4577],{},"The widget starts with the microphone muted. Click the microphone button, or the keyboard button to type instead. Allow the microphone if the browser asks.",[4546,4579,4580,4587],{},[4561,4581,4582,4583,4586],{},"The widget shows ",[163,4584,4585],{},"CONVERSATION TERMINATED"," right away",[4561,4588,4589],{},"The widget connects with the agent ID alone. Check the ID, and check that the agent does not require authentication in its ElevenLabs security settings.",[4546,4591,4592,4595],{},[4561,4593,4594],{},"The conversation shows a tool call, but nothing happens on the page",[4561,4596,4597,4598,3717,4600,3717,4602,3717,4604,3717,4606,3717,4608,3717,4610,3717,4612,4614],{},"The widget only runs tools with these exact names: ",[142,4599,217],{},[142,4601,221],{},[142,4603,225],{},[142,4605,1122],{},[142,4607,1384],{},[142,4609,1743],{},[142,4611,2003],{},[142,4613,2360],{},". A renamed tool is never run.",[4546,4616,4617,4620],{},[4561,4618,4619],{},"The agent talks about the page but never acts",[4561,4621,4622],{},"Check that the whole prompt from step 2 was pasted, then start a new conversation. ElevenLabs loads the prompt and tools when a conversation begins.",[4546,4624,4625,4628],{},[4561,4626,4627],{},"Long silences while the agent works",[4561,4629,4630,4631,4633,4634,4637],{},"Each step is a round trip from ElevenLabs to the page and back. For slow tools such as ",[142,4632,1122],{},", set ",[142,4635,4636],{},"force_pre_tool_speech"," to on, so the agent says what it is doing first.",[4546,4639,4640,4643],{},[4561,4641,4642],{},"Tool calls time out on a heavy site",[4561,4644,4645,4646,4648],{},"Raise ",[142,4647,4270],{}," on that tool in ElevenLabs.",[4546,4650,4651,4654],{},[4561,4652,4653],{},"Phone route: the agent says it has no browser tools",[4561,4655,4656],{},"Add the MCP server in the agent's Tools tab, not only under Integrations, and start a new conversation.",[129,4658,4660],{"title":4659,"type":132},"Still stuck? Ask us",[134,4661,4662,4663,4667],{},"Email ",[66,4664,4666],{"href":4665},"mailto:support@webfuse.com?subject=Webfuse%20for%20ElevenLabs","support@webfuse.com"," with the Webfuse session ID and the ElevenLabs conversation ID. With both, we can follow the call from your agent to the page.",[11,4669,4672],{"id":4670,"title":4671},"customer","Before you show it to a customer",[4673,4674,4675],"guide-checks",{},[61,4676,4677,4683,4689,4695,4701,4707],{},[31,4678,4679,4682],{},[34,4680,4681],{},"Mask what the agent should not read."," Every snapshot of the page goes to the LLM behind your ElevenLabs agent. The Webfuse Masking app keeps chosen fields out of snapshots and recordings. Set it up before the agent sees account or payment pages.",[31,4684,4685,4688],{},[34,4686,4687],{},"Confirm out loud before changes."," The prompt has the agent read back what it is about to change and wait for a yes. Test that on the customer's own forms.",[31,4690,4691,4694],{},[34,4692,4693],{},"Keep the agent on the customer's domains"," with the Automation app allowlist from step 1.",[31,4696,4697,4700],{},[34,4698,4699],{},"Protect your agent."," The widget starts conversations with your agent ID alone, so anyone who has the ID can talk to your agent on your account. Keep an eye on usage, and if you change the agent's security settings, check that the widget still connects.",[31,4702,4703,4706],{},[34,4704,4705],{},"Keep a full record."," ElevenLabs keeps the audio and transcript of each conversation. The Webfuse Recording and Audit Log apps add a replay of the screen and a trail of every action. Together they show what was said and what was done.",[31,4708,4709,4712],{},[34,4710,4711],{},"Separate demo and production."," Use a separate Space, and a separate Automation key, for the customer's pilot.",[11,4714,4718,4721,4724,4758,4763,4766,4776,4796],{"id":4715,"title":4716,"eyebrow":4717},"next","Your voice agent now does what used to take a person on the phone","Where you are now",[134,4719,4720],{},"Until now, a customer stuck on a website called support, and someone who knows the site talked them through it, click by click. Your ElevenLabs agent now does that job itself. It hears the request, opens the right page, clicks and types for the customer while they watch, and tells them what it is doing. It needed no API from the site owner and no integration project.",[134,4722,4723],{},"To be honest about where that leaves you: today your agent works like a skilled person on their first day at the job. Every request means reading the page, deciding, acting and checking. That is why it works on any website. On a voice call it also means pauses, because each step is a round trip from ElevenLabs to the page and back, and each snapshot is a whole page for the LLM to read.",[4725,4726,4727],"guide-ladder",{},[28,4728,4729,4735,4746,4752],{},[31,4730,4731,4734],{},[34,4732,4733],{},"Human navigation"," A support agent who knows the site and talks the customer through it.",[31,4736,4737,4740,4741,4745],{},[34,4738,4739],{},"Agentic discovery"," ",[4742,4743,4744],"guide-pin",{},"You are here"," Your agent reads the live page and works out each step. Works on any website from day one, at the pace of someone finding their way.",[31,4747,4748,4751],{},[34,4749,4750],{},"Custom tools"," The routines your customers need every day become one call each. Fewer pauses, far fewer tokens.",[31,4753,4754,4757],{},[34,4755,4756],{},"Website as an API"," Those routines become endpoints any of your systems can call.",[4759,4760,4762],"h3",{"id":4761},"your-next-step-make-it-fast-with-custom-tools","Your next step: make it fast with custom tools",[134,4764,4765],{},"Most customers ask for the same few things. At Level 1 the agent finds its way to each of them on every call. A custom tool remembers the way: the agent calls it once with what the customer said, and the tool does the clicks and checks inside the session and returns just the answer.",[134,4767,4768,4769,222,4772,4775],{},"We did this for a hands-free booking.com demo. Searching for a hotel, opening it, listing the rooms and reaching checkout are one tool each, such as ",[142,4770,4771],{},"bookingSearch",[142,4773,4774],{},"roomOptions",". A full search is a single call of about 16 seconds, which the agent fills by telling the customer what it is looking for.",[61,4777,4778,4784,4790],{},[31,4779,4780,4783],{},[34,4781,4782],{},"Fewer pauses."," One call instead of many round trips, so the conversation keeps its rhythm.",[31,4785,4786,4789],{},[34,4787,4788],{},"Far fewer tokens."," The agent no longer reads whole pages to find its way, so every call costs less.",[31,4791,4792,4795],{},[34,4793,4794],{},"Level 1 stays underneath."," If a website changes, the agent reads the page and still gets the job done.",[134,4797,4798,4801,4802,4805,4806,4811],{},[34,4799,4800],{},"How to make them."," Record the steps in the Automation Inspector's ",[34,4803,4804],{},"Playback"," tab and save them as a tool, with no code. Or ask your coding agent (Claude Code, for example) to build a small Space Extension that registers them: describe the routine, point it at the ",[66,4807,4810],{"href":4808,"rel":4809},"https://dev.webfuse.com/custom-mcp-tools",[70],"custom tools docs",", and let it build and test them for you. Phone agents on the Session MCP see the new tools straight away. For the widget, add each one as a client tool on the agent, the same way as in step 3.",[4813,4814,4815],"style",{},"html pre.shiki code .suv1-, html code.shiki .suv1-{--shiki-default:#E1E4E8;--shiki-dark:#E1E4E8}html pre.shiki code .s8ozJ, html code.shiki .s8ozJ{--shiki-default:#79B8FF;--shiki-dark:#79B8FF}html pre.shiki code .s4wv1, html code.shiki .s4wv1{--shiki-default:#9ECBFF;--shiki-dark:#9ECBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sOPea, html code.shiki .sOPea{--shiki-default:#F97583;--shiki-dark:#F97583}html pre.shiki code .sFR8T, html code.shiki .sFR8T{--shiki-default:#B392F0;--shiki-dark:#B392F0}html pre.shiki code .sJ8bj, html code.shiki .sJ8bj{--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .se7xv, html code.shiki .se7xv{--shiki-default:#DBEDFF;--shiki-dark:#DBEDFF}html pre.shiki code .s-3mD, html code.shiki .s-3mD{--shiki-default:#FFAB70;--shiki-dark:#FFAB70}",{"title":79,"searchDepth":271,"depth":271,"links":4817},[4818],{"id":4761,"depth":288,"text":4762},"2026-11-27","With Webfuse, your ElevenLabs agent reads, clicks and types on any website in a live browser session the customer watches. Set it up in Webfuse Studio and the ElevenLabs dashboard in about 30 minutes, without writing code.","md","Implementation guide · ElevenLabs",[4824,4825,4826],"No code","Any public website","Prompt, tools and widget on GitHub",null,{},"/guides/webfuse-for-elevenlabs",{"title":5,"description":4820},{"site":4832,"siteStill":4833,"siteAlt":4834,"siteWidth":122,"siteHeight":4835,"url":4836,"caption":4837},"/guides/elevenlabs/hero.webp","/guides/elevenlabs/hero-still.jpg","A Webfuse session on Wikipedia with the ElevenLabs voice widget in the corner. Asked how tall the Eiffel Tower is, the agent opens the article, reads it and answers 330 metres, then opens the French article when asked.",778,"en.wikipedia.org","What you will have at the end, replayed from a real session and sped up. The customer asks, the agent opens the right page, reads it and answers, then opens the French version when asked.",{"loc":4829},"guides/webfuse-for-elevenlabs",[4841,4843,4845,4847,4849,4851],{"id":85,"title":4842,"minutes":314},"Create your Automation Space",{"id":152,"title":4844,"minutes":314},"Create your ElevenLabs agent",{"id":207,"title":4846,"minutes":377},"Add the browser tools",{"id":4274,"title":4848,"minutes":314},"Connect the widget to your Space",{"id":4341,"title":4850,"minutes":271},"Talk to your agent",{"id":4396,"title":4852,"minutes":314},"Optional: Session MCP for phone agents","About 30 minutes to a working demo","access to the full web","6fUwJUH3RQVuHpB964OhF35xcPGasBNxW2QMM5fzt0s",1795790470614]