reins
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| REINS_AGENT | No | Name for this agent session so that parallel agents each get their own target tab and only see their own watches. | |
| REINS_METER | No | Path to a usage log file. When set (CLI or MCP server env), every Reins call is logged so a run can be priced with node test/cost.js. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Controls the user's real Chrome/Edge (their logged-in sessions). Load the reins skill for the workflow.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| tabsA | List, open, switch to (focus) or close tabs. use = make a tab your target without bringing it to the front. The * tab is yours; tabs marked "other agent" belong to parallel agents, leave them alone. |
| navigateB | Load a URL (or back/forward/reload) in the target tab and return a snapshot. |
| snapshotA | Compact page outline: text plus [ref] lines for interactive elements, across iframes and shadow DOM. Cheaper than a screenshot. |
| clickB | Real mouse click on a ref (scrolls into view, checks nothing covers it) or at x,y of the last screenshot. |
| typeB | Type into a field (replaces its content unless clear:false). |
| pressC | Press keys: "Enter", "Escape", "Control+a", "Shift+Tab". Optional ref to focus first. |
| selectB | Choose an option in a native by value or visible text. |
| chooseA | Pick from a custom dropdown in one call: clicks ref to open it, waits for the option with this text to appear, scrolls it into view and clicks it. Works for native too. |
| hoverB | Move the mouse over a ref (menus, tooltips). |
| scrollA | Scroll the page, or the scrollable area under ref. With ref and no direction: scroll ref into view. |
| uploadB | Attach local files via a file input or an upload button ref. |
| screenshotA | JPEG of the visible viewport. Use only when layout/visuals matter; snapshot is cheaper. |
| evalC | Run JavaScript in the page and return the JSON result. With ref, |
| batchA | Run several actions in ONE call, e.g. fill a whole form and click Save. Each step is {tool, ...args} for click/type/press/select/choose/hover/scroll/upload/wait/navigate/eval/snapshot. Stops at the first failure. Returns one diff for the whole sequence. A step can target an element that only appears mid-batch with find:{role, name} instead of ref. |
| waitB | Wait until text appears (or is gone) or the URL contains a string; or sleep ms. |
| networkB | Record the tab's XHR/fetch calls, read one (credential headers masked), and replay it with changes. Replay calls the site's own API as the user, often one call instead of many clicks. |
| consoleA | Capture the tab's console messages, uncaught exceptions and failed loads. start first; read (default) returns what arrived since the last read. |
| watchB | Watch a tab in the background and queue an event when text appears or disappears, or when lines matching query change. wait blocks until an event arrives. |
| memoryB | Notes about websites, shared by every agent on this machine. Opening a site that has notes or recipes shows them in the reply. Remember facts that would save the next agent turns (the API a site calls, where a setting hides, a step that needs slowly:true). You can only save for the site your tab is on, and other agents see it after the user approves it. Never secrets or personal data. |
| recipeA | Saved workflows any agent can run later in ONE call: a list of batch steps. After a multi-step task that will come up again, save it. Refs in steps become role+name locators automatically; write {{param}} in values to fill at run time. Steps act on the page only (no eval or upload; login fills saved passwords) and stay on the site of the recipe. Give it expect (a success check): when a step breaks, you finish the task by hand and Reins updates the recipe from what you did. A recipe runs on its own site, and other agents can run yours after the user approves it. |
| profileC | Browser profiles (work, personal, …). Each profile has its own logins and saved passwords. Recipes and notes work in every profile. |
| loginA | Sign in with a login the browser has saved for this site: clicks the field so the browser fills it, then reports filled or not filled. You never see the values. If not filled, ask the user to sign in themselves. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 22 tools
Each tool targets a distinct action or resource, and the descriptions actively disambiguate close pairs (screenshot vs snapshot, select vs choose, wait vs watch, memory vs recipe). A few boundaries are subtle — click vs choose, eval vs batch, and the two persistence tools — but the descriptions resolve them well enough that misselection is unlikely.
All names are single lowercase words with no camelCase or mixed-style outliers, giving a predictable surface. The only minor deviation is that some are verbs (hover, click, type, navigate) while others are nouns (tabs, network, memory, recipe), but the single-word convention is uniform.
22 tools is in the heavy band for a single server, and while most earn their place in a full browser-automation surface, the set is large enough to feel crowded. A few capabilities (watch, memory, recipe, profile) push beyond core browsing and add cognitive load.
The surface covers navigation, rich interaction (click/type/press/select/choose/hover/scroll/upload), observation (snapshot/screenshot/console/network), waiting, scripting, and persistence/session management — a very complete lifecycle. Minor gaps remain around drag-and-drop, right-click, and download/cookie handling, but agents can work around them.