Every change Wellknown observed on this MCP server, newest first, with what it was before and what it became. Tool-surface changes carry the definition diff. Nothing here is edited after the fact.
Changed the definition of "add_connection"
⟨47 unchanged words⟩ , connect or link an account on asite**site.**—Forneverasendsitethemoutsidetothe automatic sign-in catalog, say up front that the user must use Bowmark Buddyextensionin desktop Chrome where they are already signed in. For catalog sites, do not send them to Buddy or the dashboardtoinsteaddoofitthisthemselves.tool. It returns `url`, a single-use link that ⟨186 unchanged words⟩
Changed the definition of "lease_ip"
⟨40 unchanged words⟩ later call on that login uses it automatically.CallPasswiththenorequiredarguments`site`first.provider id (for example, `linkedin`) so Bowmark can check the matching saved login. If that login is usable, or the account already holdsonea dedicated IP, it says so and nothing is bought. ⟨115 unchanged words⟩
Changed the definition of "get_usage"
⟨74 unchanged words⟩ it is the vendor's spend in micro-dollars).Estimate a call's cost from `usd` alone.This is the EXACT amount your account has been charged, matching the invoice. A single run's price is not returned on the run, so to measure what a kind of call costs, call `get_usage`, run the same calls a few times, call `get_usage` again, and divide the difference in `totalUsd` by the number of runs (the 'before and after' method on /docs/pricing). Usage can lag a run, so read it again later for an exact figure; a reading straight after is a floor. The typical per-call ranges for each capability are on /docs/pricing.
Changed the definition of "add_connection"
⟨136 unchanged words⟩ and every later run uses the new login.WhenForBowmarkacannotvalidsignsiteinoutsidetoBowmark'sthatautomaticsitesign-in catalog,itthissays
Changed the definition of "run"
⟨108 unchanged words⟩ ,"link-first"],"type":"string"},"maxSeconds":{"description":"Optional, 100 to 900. Lets ONE run last this many seconds instead of the default 90, for long paging jobs. The call still answers within about 40 seconds with `status: \"running\"` and a `runId`; collect the result with `run({ runId })`. Leave it out for an ordinary run.","type":"number"},"runId":{"description":"Send EXACTLY ONE of ⟨109 unchanged words⟩
Authorization not required, issuer https://api.bowmark.ai
Changed the definition of "get_usage"
⟨44 unchanged words⟩ items with `sku`, `quantity`, `unit` and `usd`. `usd` is what each line charged and the `usd` column sums to `totalUsd`; `quantity` is consumption, not the charge (on a `usd_micros` line it is the vendor's spend in micro-dollars). Estimate a call's cost from `usd` alone. This is the EXACT amount your account has ⟨5 unchanged words⟩
Changed the definition of "run"
⟨36 unchanged words⟩ , not a wrapping function. `bowmark` is areadyglobal: `await bowmark.<capability>.<fn>(...)`, or one ⟨37 unchanged words⟩ Your client times out around 55 seconds; callsmaytake 30-55 seconds; default to ONE per script. ⟨8 unchanged words⟩ returns `partial`), never one after another orinsidein a `for` loop. Keep the RESULT under ~25 ⟨19 unchanged words⟩ `partial` | `needs_user` | `running`: • `running`:it isstill going. Call `run({ runId })` towait forawait the SAME run; never resend the script. • ⟨7 unchanged words⟩ asked; `incomplete` names what did not answer. Tellyourthe user — never call it complete. `incomplete.failures[].fixable: true` means your argument was wrong: fix it
Changed the definition of "report"
⟨5 unchanged words⟩ , or incomplete so Bowmark can build it.Call it yourself, in theAsksameyourturn,userwithoutfirstaskingwhetheryourtousersendfirst:it.itIt changes nothing on any website or account,
Changed the definition of "run"
⟨204 unchanged words⟩ await bowmark.flights.search({from:'SFO',to:'JFK',depart:'2026-09-01''2027-03-02'}); return { best: flights.sort((a, ⟨9 unchanged words⟩
Changed the definition of "add_connection", "run" and "session_call"
⟨158 unchanged words⟩ , the sites it can sign in to.TellThat is not the end: it also returns `savedLogin` — the userplainly.saves their own login from Bowmark Buddy (bowmark.ai/link), and a script reads any signed-in page there with `read.page(url, { connection })`. Offer that before saying a signed-in read is impossible. Do not offer a workaround that asks for ⟨45 unchanged words⟩
⟨57 unchanged words⟩ sign-in finish.","type":"string"},"savedLogin":{"description":"When signInSupported is false: the user can still save their own login from Bowmark Buddy and a script reads signed-in pages with `read.page(url, { connection })`."},"
Authorization not required, issuer https://api.bowmark.ai
Changed the definition of "add_connection" and "run"
⟨54 unchanged words⟩ site** — never send them to the BowmarkLinkBuddy extension or the dashboard to do it themselves. ⟨31 unchanged words⟩ browser, or, in desktop Chrome with BowmarkLinkBuddy installed, press "Use Chrome extension" to ⟨106 unchanged words⟩
⟨14 unchanged words⟩ run through the user's own Chrome (BowmarkLinkBuddy
Certificate changed, valid to 2027-02-12
Authorization not required, issuer https://api.bowmark.ai
Recently observed → Live
Changed the definition of "jig_open" and "jig_update"
⟨167 unchanged words⟩ via `jig_update`.","type":"object"},"task":{"description":"What the user asked for, in their words. The result then carries the rules earlier feedback taught for tasks like it.","maxLength":2000,"type":"string"},"template":{"description":"Start from a built-in ⟨24 unchanged words⟩
⟨215 unchanged words⟩ is there.","type":"object"},"task":{"description":"What the user asked for, in their words. The result then carries the rules earlier feedback taught for tasks like it.","maxLength":2000,"type":"string"},"title":{"description":"A new title for ⟨10 unchanged words⟩
Live → Recently observed
Changed the definition of "request_secret"
⟨138 unchanged words⟩ A run id, a timestamp, a uuidor, a bare `password`, or a name that identifies somebody else's account is refused. Call `list_secrets` first: if the ⟨39 unchanged words⟩
Authorization not required, issuer https://api.bowmark.ai
Removed "jig_cache", "jig_call", "jig_perf" and 3 more (35 tools before, 29 now)
Jig cache — Used by an open jig to save a call's last good result. You do not need to call this.
Jig call — Used by an open jig to call the library. You do not need to call this — use `run`.
Jig perf — Used by an open jig to report how fast it loaded. You do not need to call this.
Jig seen — Used by an open jig to report what it shows. You do not need to call this.
Jig view — Used by an open jig to pick up its latest state. You do not need to call this.
Changed the definition of "run"
**Executes the task onthe reallive websites** and returns the result. Call `get_library` FIRST, thenstart with`run({ script })``.—Theneversameaddscript`runId`.can run from your app: POST `https://api.bowmark.ai/v1/run` with your API key; see `bowmark.ai/docs/http-api`. THE SCRIPT is a plain async JavaScript body ⟨47 unchanged words⟩ only I/O. MIND THE CLOCK. Your client timesa tool calloutataround 55seconds, and one capability
Changed the definition of "jig_open"
⟨181 unchanged words⟩ `html`.","enum":["youtube-feed","amazon-search","combined-dms","leads"],"type":"string"},"title":{ ⟨11 unchanged words⟩
Changed the definition of "add_connection", "delete_connection", "get_secret_link" and 27 more
before
—after
{"additionalProperties":true,"properties":{"ambiguous":{"description":"The sites a name could mean — ask the user which."},"anotherLogin":{"description":"True when this adds a second login on that site.","type":"boolean"},"connection":{"description":"The saved login this link refreshes, if one was named."},"expiresAt":{"description":"When the link expires."},"ref":{"description":"Pass it to `wait_for_sign_in` to hear the sign-in finish.","type":"string"},"signInSupported":{"description":"False when Bowmark cannot sign in to that site.","type":"boolean"},"site":{"description":"The site the link signs in to.","type":"string"},"sites":{"description":"Every site Bowmark can sign in to."},"title":{"description":"Its name.","type":"string"},"url":{"description":"The single-use sign-in link to give the user.","type":"string"}},"type":"object"}—
Added "jig_read"; changed the definition of "jig_open", "jig_update" and "run" (34 tools before, 35 now)
⟨92 unchanged words⟩ (`template`) when one fits, else writethe page`files` (`html`React, compiled for you; `jig_read` reads them) or `html` — call `get_library({ query: "jig guide" ⟨9 unchanged words⟩ Reopen one with `jig_open({ jigId })`(`jig_list`), never rebuild it. Before curating, `jig_look` shows ⟨49 unchanged words⟩ (you change it with `jig_update`); `setState(patch, {ifState}?)` saves auserclick. `show({ view, items })` tells ⟨8 unchanged words⟩ `open`, `download`, `theme`, `img`, `section`:theseejigthe
Changed the definition of "jig_get", "jig_open", "jig_publish" and 1 more
⟨40 unchanged words⟩ `listing`: its id, `@handle/slug`, or itsstorejig URL (from `jig_search`). If the user ⟨50 unchanged words⟩
⟨20 unchanged words⟩ :"The listing id, `@handle/slug`, or thestorejig URL bowmark.ai/jigs/@handle/slug.","maxLength":300,"type": ⟨5 unchanged words⟩
Added "jig_set_handle"; changed the definition of "get_library", "get_secret_link", "get_usage" and 14 more (33 tools before, 34 now)
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":" ⟨8 unchanged words⟩
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":" ⟨12 unchanged words⟩
Changed the definition of "jig_publish"
Publish the user's jig (name it by `jigId` or your jig's `jigSlug`) as a listing others can get: it snapshots ⟨119 unchanged words⟩
⟨113 unchanged words⟩ ,"type":"string"},"jigId":{"description":"The jig's id. Give this or `jigSlug`.","format":"uuid","type":"string"},"jigSlug":{"description":"The slug of the caller's OWN jig (from `jig_list`), instead of `jigId`. Not the listing `slug` below.","maxLength":300,"type":"string"},"screenshots":{"description":"Up to 8 screenshots ⟨127 unchanged words⟩ ,"type":"string"}},"required":["jigId","visibility"],"type":"object"}
Added "jig_get", "jig_publish", "jig_pull_update" and 4 more; changed the definition of "jig_list", "jig_open" and "jig_update" (26 tools before, 33 now)
The jigs this user hasmade, newest change first: id, slug, title, the built-in it started from, and when it last changed. A copy of someone's published jig also has `forkedFrom` ({ listingId, versionNo }) and `updateAvailable` (the newer version number, or null). Call it when the user mentions a page ⟨14 unchanged words⟩ })` instead of building a new one. When `updateAvailable` is set, tell the user and offer to update it (`jig_pull_update`).
⟨62 unchanged words⟩ ":"uuid","type":"string"},"
Changed the definition of "run"
{"oneOf":[{"additionalProperties":false,"properties":{"egress":{" ⟨49 unchanged words⟩ ,"link"],"type":"string"},"scriptrunId":{"description":"The JavaScript script body to execute (async, against theSend`bowmark`EXACTLYglobal).ONEe.g.of`const`script`{orflights`runId`,warnings } = await
Changed the definition of "session_call" and "session_close"
Call one Bowmark functioninandakeep the sessionthatopenkeepsforitsthebrowsernext call
⟨10 unchanged words⟩ flow that needs several calls in the SAMEbrowser
Changed the definition of "jig_open"
⟨297 unchanged words⟩ the page: the user talks to you.BOWMARK'S LOOK,THE SITE'S LAYOUT:,buildNONEfromOFtheITSkit'sDARKcomponentsPATTERNS:in`get_library({Bowmark'squery:colors,"jig
Changed the definition of "jig_call"
⟨15 unchanged words⟩ :"object"},"type":"array"},"cancel":{"items":{"pattern":"^[A-Za-z0-9_-]{16,64}$","type":"string"},"maxItems":32,"type":"array"},"jigId":{"format":"uuid","type":"string"},"ref":{"pattern":"^[A-Za-z0-9_-]{16,64}$","type":"string"},"runId":{"format":"uuid","type":"string"},"timeoutMs":{"maximum":600000,"minimum":0,"type":"integer"}},"required":["jigId"],"type":"object"}
Added "jig_cache" and "jig_perf"; changed the definition of "jig_look", "jig_open", "jig_update" and 1 more (24 tools before, 26 now)
⟨53 unchanged words⟩ look first, then change the page with `jig_update`. It also says how fast the page last loaded and which calls failed (`perf`, `advice`): fix what `advice` names with `jig_update`.
⟨21 unchanged words⟩ you. Asked for "a jig of YouTube"or "Amazon,no promotions, best products first",build a page that LOOKS like that site— layout, views, controls —with Bowmark'sname andlogo where the site's would be,
Added "get_usage"; changed the definition of "run" (23 tools before, 24 now)
⟨6 unchanged words⟩ websites** and returns the result. Call `get_library` FIRSTfor the exact function names and shapes, thensend a scriptstartaswith `run({ script })`.` — never add `runId`. THE SCRIPT is a plain async JavaScript body ⟨145 unchanged words⟩ `partial`: `result` is real but narrower thanasked;asked, usually the site's doing; `incomplete` names what did not answer. Tell your ⟨76 unchanged words⟩
Changed the definition of "jig_open"
⟨260 unchanged words⟩ the user, chat panel only. `bowmark.open(url)`;`.`bowmark.theme`Useis`location.hash`light/dark.for views; back/forward work. Full signatures: the jig guide. No `fetch`, no external script/style/font. A call needing sign-in pauses behind a bannerthe page draws,untilresumingtheonceusersignedsigns in. No chat box in the page —
Changed the definition of "run"
{"additionalProperties":false,"properties":{"egress":{"description":"Optional. `\"link\"` sends every request of this run through the user's own Chrome (Bowmark Link) and fails with \"Link not connected\" when it is not open; `\"default\"` or leaving it out uses Bowmark's own route. The result echoes it as `egress`.","enum":["default","link"],"type":"string"},"runId":{"description":"Only to collect a ⟨70 unchanged words⟩
{"additionalProperties":false,"properties":{"egress":{"enum":["default","link"],"type":"string"},"emptyHanded":{},"error":{"type":[ ⟨125 unchanged words⟩
Changed the definition of "jig_call", "jig_list", "jig_look" and 4 more
{"destructiveHint":true,"openWorldHint":true,"readOnlyHint":false,"title":"Jig call"}
{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true,"title":"List the user's pages (jigs)"}
Changed the definition of "get_library" and "jig_open"
⟨53 unchanged words⟩ for that site or the caller saved aconnection.;connection; a public page can still refuse every route ⟨42 unchanged words⟩ so check.** One read-only call, no siteis touched, andtouched; aquery that matchesmatch-nothingnothingquery says so,ratherneverthananerroring.error. If nothing fits, you lost one cheap ⟨217 unchanged words⟩
Changed the definition of "add_connection", "delete_connection", "get_library" and 13 more
{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Get the user a link to sign Bowmark in to a site"}
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Ask the user to confirm deleting a saved login"}
Added "jig_call", "jig_list", "jig_look" and 4 more (16 tools before, 23 now)
Jig call — Used by an open jig to call the library. You do not need to call this — use `run`.
List the user's pages (jigs) — The jigs this user has made, newest change first: id, title, the built-in it started from, and when it last changed. Call it when the user mentions a page they made before ("my YouTube feed", "that dashboard"), then reopen it with `jig_open({ jigId })` instead of building a new one.
Look at a page (jig) — See what an open jig is showing the user right now — the items on screen, which view they are on — plus what they just did on it (watched, hid, searched) and its current state. Call it before you curate: when the user says "clear the slop" or "why is this here", look first, then change the page with `jig_update`.
Open a page for the user (jig) — Make the user a "jig": their own copy of a website, running through Bowmark, that you curate for them as they talk to you. Asked for "a jig of YouTube" or "Amazon, but with no promotions and the best products first", you build a page that LOOKS like that site — its layout, its views, its controls — with Bowmark's name and logo wherever the site's logo would be, and every list on it filled by Bowmark library functions as this user. Then you stay in the loop: the user keeps talking to you in this chat, and you change what the page shows (`jig_update` state) or how it looks (`jig_update` html) w…
Changed the definition of "get_library"
{"additionalProperties":false,"properties":{"minimal":{"description":"Optional. `true` answers only whether `query` is covered, in one line — no types, no examples, no fallback tools. For a quick coverage check, not for writing a script against the result.","type":"boolean"},"queries":{"description":"Optional. Several lookups in ⟨192 unchanged words⟩
Changed the definition of "get_library"
⟨38 unchanged words⟩ a form or a filter. **Behind a LOGINis narrower**:it works only** where apurpose-builtprovider exists for that site or the callerhassaved asavedconnection.;connectionatherepublic page can still refuse every route,notandbythedefault.answer says so. **Use this for Bowmark questions too.** Before answering
Added "session_call", "session_close" and "support"; changed the definition of "report" (13 tools before, 16 now)
⟨145 unchanged words⟩ run. For an account holder the result mayalso carry `supportRoom`,offer a live chat with Bowmark support:aboutaskthisyourreport:user,followandtheifinstructionstheythatsaycome
Changed the definition of "get_library"
**Use this whenever a task touches a live website.** It answers,definitively and cheaply,whether Bowmark can already DO the thing: current ⟨95 unchanged words⟩ touched, and a query that matches nothingreturns a one-line indexsaysinsteadsoofratheranthanerror.erroring. If nothing fits, you have lost one ⟨28 unchanged words⟩ (`"Kayak"`, `"newegg.com"`).IfOnlythea
Added "wait_for_sign_in"; changed the definition of "add_connection" and "run" (12 tools before, 13 now)
⟨115 unchanged words⟩ to send the login that Chrome already holds.WhenThentheycallsay`wait_for_sign_in`theywitharethedone,returned`list_connections``ref`:showsit answers thenew
Added "lease_ip" (11 tools before, 12 now)
Get the user a dedicated IP for sites that need one — Some sites (LinkedIn, marked 📍 in `get_library`) only accept a login from the address it signed in from. A dedicated IP is one address that only this account uses, and once the account holds one, every sign-in link and every later call on that login uses it automatically. Call with no arguments first. If the account already holds one, it says so and nothing is bought. Otherwise it returns `priceCents` and a `message` with the price for `termDays` days in `country` (default US). The price is charged up front and is not refundable. If something must happen first (a card on file, a one-time id…
Added "add_connection"; changed the definition of "list_connections" and "report" (10 tools before, 11 now)
⟨148 unchanged words⟩ id, so you can keep using it.AddingTo add a login for a site with none,iscallthe`add_connection`user's—toitdo,handsatyouhttps://bowmark.ai/dashboard/connectionsa
Changed the definition of "run"
⟨20 unchanged words⟩ items":{},"type":"array"},"notes":{},"notice":{},"ok":{"type":" ⟨104 unchanged words⟩
Changed the definition of "run"
⟨24 unchanged words⟩ ,"ok":{"type":"boolean"},"queuedMs":{"type":"number"},"result":{},"runId":{"format":" ⟨97 unchanged words⟩
Changed the definition of "report"
⟨138 unchanged words⟩ feedback only and does not retry a run. For an account holder the result may also carry `supportRoom`, a live chat with Bowmark support about this report: follow the instructions that come with it.
⟨3 unchanged words⟩ ":{"ok":{"type":"boolean"},"supportRoom":{"additionalProperties":false,"description":"A live Bowmark support chat about this report, for account holders.","properties":{"joinPrompt":{"type":"string"},"url":{"type":"string"}},"required":["url","joinPrompt"],"type":"object"}},"required":["ok"],"type":"object"}
Changed the definition of "get_library"
⟨223 unchanged words⟩ an entry's name for its types and examples. Several parts? Pass `queries: ["amazon", "youtube"]`, one per part, in ONE call. **Read the first lines of the answer.** A ⟨94 unchanged words⟩
{"additionalProperties":false,"properties":{"queries":{"description":"Optional. Several lookups in ONE call, one per part of the task: `[\"amazon\", \"youtube\"]`, `[\"flights\", \"hotels in Lisbon\"]`. Each entry is written exactly like `query` and answered exactly as `query` alone would be, in its own section. Use this instead of calling get_library once per part. At most 6; a `query` passed alongside is folded in.","items":{"type":"string"},"type":"array"},"query":{"description":"Optional, but pass ⟨118 unchanged words⟩
Changed the definition of "get_library", "report" and "run"
⟨14 unchanged words⟩ whether Bowmark can already DO the thing:look upcurrent prices,checkreal availability or stock,searcha site,getsearch, a quote or a fare,drivea configurator,starta booking,or pullanythingthat only existsbehind a form or a filter. **Behind a LOGIN is narrower**: it worksoncewhere a purpose-built provider exists for that site,or the caller has a saved connection there— a generic caller with neither gets only a form-field reader
Changed the definition of "list_connections" and "run"
List the saved logins this account already holds,—onetheentry`id`pertologin: its `id` (name it in alatersigned-in call as `{ connection: id }`),whichthe site, which account on that site
Changed the definition of "delete_connection", "list_connections" and "logout_connection"
ForgetAskonetheofuserthetouser'sconfirm deleting a savedloginslogin
ForgetStart
Added "run_view" (9 tools before, 10 now)
Run view — Used by the inline run view to draw a run's progress. You do not need to call this — `run` returns the result.
Changed the definition of "run"
before
—after
Do the task on the live websites and return the resultbefore
—after
**Executes the task on the real websites** (the search, the price check, the availability lookup, the configurator, the booking flow) and returns what came back. Runs a script you authored against the `get_library` vocabulary, on the live sites, and returns `{ ok, result, logs, error, ms }`. Call `get_library` FIRST — it gives the exact function names, argument shapes, and return types; this description is the LANGUAGE + how-to (get_library is just the vocabulary).
THE LANGUAGE — plain async JavaScript:
• `bowmark` is a ready global (no import). Call capabilities off it — `await bowmark.<capability>.<method>(...)` — always `await`, they're async.
• Individual sites are callable too, at `await bowmark.providers.<provider>.<fn>(...)`. Use one when you specifically want THAT site; otherwise prefer the capability, which fans out across sites and routes around failures.
• Real control flow: `await`, `if`, loops, array methods (`map`/`filter`/`sort`/`slice`), and `Promise.all` for fan-out.
• `return` a value to get it back (JSON-serialized). `log(...)` for progress lines.
• Standard JavaScript built-ins are there (`JSON`, `Math`, `Date`, `RegExp`, `Intl`, `Promise`), plus `URL` and `URLSearchParams` — use them to resolve a relative link against the page it came from and to build query strings. Nothing else from the Web platform exists: no `fetch`, `setTimeout`, `TextEncoder` or `crypto`.
• `bowmark` is the ONLY I/O — no `fetch`, `process`, filesystem, or `import`/`require`. Write a plain async body, not a wrapping function.
• `bowmark.files` keeps a file the run produces (a CSV, an image, a transcript) in the caller's Bowmark account and gives you a link to it: `save({ name, text | base64, contentType? })` → `{ id, url, expiresAt }` (25 MB from a script), `list()`, `get(id)`, `url(id, { expiresIn })`, `makePublic(id)` → `{ publicUrl }`, `makePrivate(id)`, `delete(id)`. Return the link rather than inlining the bytes — UNLESS you need to read the text yourself (a transcript you will summarize): then return the part you need, trimmed (e.g. `text.slice(0, 4000)` per item), beside the link in the SAME run. Fetching each saved link back afterwards costs one tool call per file (measured 2026-10-02: 15 transcripts, ~100s). Keep the whole result under ~25,000 characters: clients reject or spill a larger tool result (Claude Code moved a 50 KB one to a file the model could not open), and the answer is lost.
• Keep scripts small and deterministic — no infinite loops. Runs in a hard sandbox with CPU + memory + wall-clock limits.
**Your own tool-call budget is tighter than you'd guess, and it decides how many calls fit in one script.** Most MCP clients time a single tool call out at around 55 seconds, and ONE ordinary capability call already spends 30-55 seconds of that fanning out to live sites — see COMPOSITION below before calling a second capability in the same script.
SENDING IT: pass the script text as `run({ script })` — there is no `site` argument; the library exposes every capability under `bowmark`. A run still going after ~40 seconds answers `status: "running"` with its `runId` instead of letting your tool call time out: it keeps executing on Bowmark's side, so call `run({ runId })` to wait for that SAME run — never send the script again, which would do the work twice. `result` is whatever you returned; `logs` are your `log()` lines in order; on a throw/timeout `ok:false` and `error` is set.
CHECK `status` BEFORE `ok`. It is `ok` | `error` | `partial` | `needs_user` | `running` (call `run({ runId })` to collect it).
• `partial` means the script RAN and `result` is real and usable, but some of what it called never answered — so the result is narrower than what you asked for. `ok` is still `true`; this is not a failure. `incomplete.summary` says what happened in one sentence, `incomplete.failures` names each call that threw and what the site said, and `incomplete.degraded` names each call that answered while reporting its OWN results thin. You MUST say so when you present the result: name what was missed, and do not describe it as complete, exhaustive, or 'all' of anything. A `partial` you report as whole is a wrong answer, not a slightly smaller right one.
• Before you conclude a `partial` is final, check `incomplete.failures[].fixable`. `fixable: true` means YOUR ARGUMENT was rejected, not the site — the error text names what that function actually takes, so re-read it in `get_library`, fix the argument and run again; that recovers the whole answer. For any other failure re-running usually returns the same thing.
• When a fan-out capability (shipping, flights, hotels, cars, etc.) fails on EVERY provider, `incomplete.failures[].dropped` carries the per-provider breakdown as an array of `{ provider, fn, reason, detail }` — branch on that instead of parsing the prose in `.error`.
• `needs_user` means a site needs the USER signed in — it is NOT a failure and NOT something you can fix by editing the script. `needs` lists the sites; `meta.handoff.url` is a single-use link that expires (`meta.handoff.expiresAt`). Give the user that URL, say which sites it covers, and WAIT. When they tell you they're done, send the SAME script again unchanged. Do NOT retry before then — it will stop at the same place and cost another run. Do NOT try to log in yourself, ask them for a password, or work around it with a different site.
• Logged-in runs need a Bowmark API key on the connection; if you get `needs_user` saying so, tell the user to add one rather than retrying.
ONE EXIT IP FOR THE WHOLE SCRIPT: `await bowmark.egress.pin({ ttlMinutes: 120 })` before your first call, and every call the script makes afterwards leaves from ONE address. Reach for it when a site binds a cart, a token or a sign-in to the address that made the request, and the symptom is being logged out or asked to start over between steps. It is not a dedicated IP: the exit is a shared residential peer, `shared: true` says so, and the vendor can still replace it without telling us. **Pin FIRST** — a site you already called keeps the address it used, and the result says `pinnedAfterCalls: true` when you left it too late. Up to 7 days; anything longer comes back clamped, and the `ttlMinutes` you get back is the one that was granted.
A DEDICATED IP, IF `pin` ISN'T ENOUGH: `pin` is free and shared — a stranger's device, gone in at most 7 days. `bowmark.egress.lease` is the other product: a static IP nobody else is ever served, ordered for a real term and charged to the account, for a site whose session dies even on a pinned exit. Reach `bowmark.egress.quote({ country })` first — it returns your own price for that country's real availability, read live; never assume a term or a number. `lease({ country, idempotencyKey })` places the order (`idempotencyKey` is yours to choose, so a retried call cannot buy two); it is STATIC ISP ONLY today, real money, and there is no refund — confirm with your user before calling it, the way you would before any other purchase. `list()` and `get(id)` read what the account already holds; `use(id)` routes this run's later calls through one specific lease; `release(id)` stops auto-renewal (the IP keeps working for its already-paid term, then goes away for good).
SAVED SECRETS: `savedSecrets` lists every secret the run stored in the user's Bowmark account, each as `{ name, type, viewUrl }`. An API key a key-making function returns is saved there automatically as `<vendor>_api_key`, and later runs that call that vendor use it with nothing to configure. When `savedSecrets` is present, tell the user what was saved and give them each `viewUrl`, where they can view or manage it.
`trace` is the execution trace — every capability you called and the providers it fanned out to under the hood: `[{ kind:'capability', capability:'flights', method:'search', ms }, { kind:'provider', capability:'flights', provider:'google_flights', fn:'search', results, status, ms }, …]`. The script never visits websites — it calls capabilities that route to providers, and the trace is the receipt.
COMPOSITION MEANS PARALLEL, NOT SEQUENTIAL, AND THAT GOES FOR PROVIDER CALLS TOO — an `await` insideChanged the definition of "run"
The earlier definition is no longer stored; only the fact of the change is.
Added "delete_connection" and "logout_connection"; changed the definition of "list_connections" and "run" (7 tools before, 9 now)
The earlier definition is no longer stored; only the fact of the change is.
The earlier definition is no longer stored; only the fact of the change is.
Definition not stored.
Definition not stored.
Changed the definition of "get_library"
The earlier definition is no longer stored; only the fact of the change is.
Changed the definition of "run"
The earlier definition is no longer stored; only the fact of the change is.
Changed the definition of "get_secret_link", "list_secrets", "request_secret" and 1 more
The earlier definition is no longer stored; only the fact of the change is.
The earlier definition is no longer stored; only the fact of the change is.
The earlier definition is no longer stored; only the fact of the change is.
The earlier definition is no longer stored; only the fact of the change is.
Changed the definition of "run"
The earlier definition is no longer stored; only the fact of the change is.
Changed the definition of "run"
The earlier definition is no longer stored; only the fact of the change is.
Changed the definition of "get_library"
The earlier definition is no longer stored; only the fact of the change is.
Changed the definition of "run"
The earlier definition is no longer stored; only the fact of the change is.
Changed the definition of "run"
The earlier definition is no longer stored; only the fact of the change is.
Certificate changed, valid to 2026-12-15
Added "get_secret_link", "list_connections", "list_secrets" and 1 more; changed the definition of "run" (3 tools before, 7 now)
The earlier definition is no longer stored; only the fact of the change is.
Definition not stored.
Definition not stored.
Definition not stored.
Definition not stored.
Removed "register"; changed the definition of "run" (4 tools before, 3 now)
The earlier definition is no longer stored; only the fact of the change is.
Definition not stored.
Certificate recorded, valid to 2026-10-17
Authorization not required
Changed the definition of "get_library"
The earlier definition is no longer stored; only the fact of the change is.
Changed the definition of "get_library"
The earlier definition is no longer stored; only the fact of the change is.
First tool surface recorded: 4 tools (server version 8.117.0)
Showing the latest 75 events. The API returns up to 500 and filters by kind: ?kind=tool_surface_changed
⟨55 unchanged words⟩ default).","type":"string"},"site":{"description":"The provider id whose saved login this checks, e.g. `linkedin` (required).","minLength":1,"type":"string"},"termDays":{"description":"How many days the ⟨9 unchanged words⟩ ,"exclusiveMinimum":0,"type":"number"}},"required":["site"],"type":"object"}
⟨62 unchanged words⟩ :{"description":"When signInSupported is false: this handoff lets the usercan stillexplicitly save theirownexisting Chrome loginfromthrough BowmarkBuddy andBuddy; a script then reads signed-in pages with `read.page(url, { connection ⟨2 unchanged words⟩ description":"False when Bowmark cannot sign intoautomatically;thatasite.saved-login handoff may still be present.","type":"boolean"},"site":{ ⟨39 unchanged words⟩
⟨12 unchanged words⟩ FIRST, then `run({ script })`.The same scriptFromcanyourrunappfromoryouraappcron: POST `https://api.bowmark.ai/v1/run`with your API key; see `bowmark.ai/docs/http-api`.(`bowmark.ai/docs/http-api`). THE SCRIPT is a plain async JavaScript body ⟨81 unchanged words⟩ after another or inside a `for` loop. Keep the RESULT under ~25,000chars.chars or it comes back as a file link. CHECK `status` BEFORE `ok` — `ok` | `error` ⟨27 unchanged words⟩ `partial`: `result` is real but narrower thanasked, usually the site's doing;asked; `incomplete` names what did not answer. Tell your ⟨19 unchanged words⟩ `needs_user`: a site needs your user signedin; not a failure.in. Give them `meta.handoff.url`, name the sites, then ⟨13 unchanged words⟩ : there is no result; `error` says why.SavingKeepfiles,aoneday-to-day baseline with `bowmark.files.save`; read it next run (30 days by default). Schedules, exit IP,savedsecrets, `warnings`,`emptyHanded`, and thebilled`browser_agent`/`delegate`fallbacks: `get_library({ query: "run guide" })`.
⟨221 unchanged words⟩ the next call as soon as they answer. Functions that decide per call whether they need a browser, including `web_form_fields`, must go through `run`, not `session_call`. Call `session_close` when the task is done.
Run view — Used by the inline run view to draw a run's progress. You do not need to call this — `run` returns the result.
after
{"additionalProperties":true,"properties":{"account":{"description":"Which account on that site."},"confirmUrl":{"description":"The link where the user confirms it.","type":"string"},"connection":{"description":"The login's id.","type":"string"},"deleted":{"description":"Always false: the user confirms the delete.","type":"boolean"},"provider":{"description":"The site it signs in to.","type":"string"}},"type":"object"}before
—after
{"additionalProperties":true,"properties":{"name":{"description":"The secret's name.","type":"string"},"viewUrl":{"description":"The link where the user can see or change it.","type":"string"}},"type":"object"}{"additionalProperties":false,"properties":{"jigId":{"description":"The jig's id, as `jig_open` or `jig_list` returned it.","format":"uuid","type":"string"},"key":{"description":"Which call this result belongs to, as the page names it.","type":"string"},"value":{"description":"The call's result, saved for the next time the page opens."}},"required":["jigId","key"] ⟨2 unchanged words⟩
before
—after
{"additionalProperties":true,"properties":{"message":{"description":"Why the call failed, when `ok` is false.","type":"string"},"ok":{"description":"False on an error.","type":"boolean"},"stored":{"description":"True when the result was saved.","type":"boolean"},"truncated":{"description":"True when it was cut to fit the cache.","type":"boolean"}},"type":"object"}{"additionalProperties":false,"properties":{"calls":{"description":"The library calls one page action makes; they run in parallel.","items":{"additionalProperties":false,"properties":{"args":{"description":"The argument object it takes."},"fn":{"description":"A library function path, e.g. \"providers.youtube.search\".","type":"string"}},"required":["fn ⟨2 unchanged words⟩ ,"type":"array"},"cancel":{"description":"The `ref`s of actions to stop.","items":{"pattern":"^[A-Za-z0-9_-]{16, ⟨6 unchanged words⟩ ,"type":"array"},"jigId":{"description":"The jig's id, as `jig_open` or `jig_list` returned it.","format":"uuid","type":"string"},"ref":{"description":"The page's own name for this action, so it can be cancelled.","pattern":"^[A-Za-z0-9_-]{16,64}$","type":"string"},"runId":{"description":"Collect a call still running: the `runId` an earlier answer returned.","format":"uuid","type":"string"},"timeoutMs":{"description":"How long to wait for the answer before returning a `runId` to collect.","maximum":600000,"minimum":0,"type": ⟨5 unchanged words⟩
before
—after
{"additionalProperties":true,"properties":{"error":{"description":"What went wrong, when it did."},"message":{"description":"Why the call failed, when `ok` is false.","type":"string"},"ok":{"description":"True when the call completed without an error.","type":"boolean"},"result":{"description":"What the call returned."},"runId":{"description":"The run's id; pass it back to resume or collect it.","type":"string"},"status":{"description":"How the call ended: `ok`, `partial`, `error`, `paused`…","type":"string"}},"type":"object"}before
—after
{"additionalProperties":true,"properties":{"jigId":{"description":"The jig's id — pass it to every other `jig_*` tool.","type":"string"},"message":{"description":"Why the call failed, when `ok` is false.","type":"string"},"ok":{"description":"True when the copy was made.","type":"boolean"},"pendingFunctions":{"description":"Functions the page calls that the user must approve first."},"slug":{"description":"The copy's short name in its URL."},"untrusted":{"description":"Present when this jig is a copy of someone else's: who wrote it, and how to treat its text."},"url":{"description":"The link to give the user."}},"type":"object"}before
—after
{"additionalProperties":true,"properties":{"jigs":{"description":"Every jig this account owns.","items":{"additionalProperties":true,"properties":{"forkedFrom":{"description":"The published listing it was copied from."},"jigId":{"description":"The jig's id — pass it to every other `jig_*` tool.","type":"string"},"slug":{"description":"The jig's short name in its URL.","type":["string","null"]},"template":{"description":"The built-in it started from, if any.","type":["string","null"]},"title":{"description":"The page's title (fenced text when the jig is a copy of someone else's)."},"untrusted":{"description":"Present when this jig is a copy of someone else's: who wrote it, and how to treat its text."},"updateAvailable":{"description":"Whether that listing has a newer version."},"updatedAt":{"description":"When it last changed (ISO 8601).","type":"string"},"version":{"description":"The jig's version; it goes up by one on every change.","type":"number"}},"type":"object"},"type":"array"},"message":{"description":"Why the call failed, when `ok` is false.","type":"string"},"ok":{"description":"False on an error.","type":"boolean"}},"type":"object"}{"additionalProperties":false,"properties":{"jigId":{"description":"The jig's id, as `jig_open` or `jig_list` returned it.","format":"uuid","type":"string"}} ⟨4 unchanged words⟩
before
—after
{"additionalProperties":true,"properties":{"advice":{"description":"What to fix with `jig_update`."},"controls":{"description":"The state keys a built-in page reads."},"jigId":{"description":"The jig's id — pass it to every other `jig_*` tool.","type":"string"},"message":{"description":"Why the call failed, when `ok` is false.","type":"string"},"ok":{"description":"False on an error.","type":"boolean"},"opened":{"description":"Whether anyone has opened the page yet."},"perf":{"description":"How fast the page last loaded and which calls failed."},"recentActions":{"description":"What the user just did on the page."},"reportedAt":{"description":"When the page last reported."},"showing":{"description":"What the page reported it shows right now."},"state":{"description":"The page's current state — the JSON object `jig_update({ state })` changes."},"storage":{"description":"The jig's stored records, summarised."},"title":{"description":"The page's title (fenced text when the jig is a copy of someone else's)."},"untrusted":{"description":"Present when this jig is a copy of someone else's: who wrote it, and how to treat its text."},"version":{"description":"The jig's version; it goes up by one on every change.","type":"number"}},"type":"object"}⟨94 unchanged words⟩ one fits, else write `files` (React,compiled foroneyou;small`jig_read`filereadsperthemview)or. `html` only for a toy — call `get_library({ query: "jig guide ⟨218 unchanged words⟩
⟨5 unchanged words⟩ :{"type":"string"},"description":"ATHEprojectDEFAULTinsteadforofany`html`real page: a project, { path: text }, e.g. index.html, main.tsx ⟨20 unchanged words⟩ :"object"},"html":{"description":"YourLegacy,ownforpagea one-screen toy only:aprefer `files` (React, one file per view). A whole HTML document with inline <style> and <script>. ⟨132 unchanged words⟩
before
—after
{"additionalProperties":true,"properties":{"files":{"description":"The jig's source files and their sizes in bytes.","items":{"additionalProperties":true,"properties":{"bytes":{"type":"number"},"path":{"type":"string"}},"type":"object"},"type":"array"},"html":{"description":"The page body (single-file pages).","type":"string"},"jigId":{"description":"The jig's id — pass it to every other `jig_*` tool.","type":"string"},"message":{"description":"Why the call failed, when `ok` is false.","type":"string"},"notes":{"description":"Advice about the page just written — fix what it names with `jig_update`."},"ok":{"description":"True when the change was applied; false on an error.","type":"boolean"},"state":{"description":"The page's current state — the JSON object `jig_update({ state })` changes."},"title":{"description":"The page's title (fenced text when the jig is a copy of someone else's)."},"untrusted":{"description":"Present when this jig is a copy of someone else's: who wrote it, and how to treat its text."},"updateAvailable":{"description":"Set when the published jig this copy came from has a newer version."},"url":{"description":"The link to give the user: their tab is the live page.","type":"string"},"version":{"description":"The jig's version; it goes up by one on every change.","type":"number"}},"type":"object"}{"additionalProperties":false,"properties":{"jigId":{"description":"The jig's id, as `jig_open` or `jig_list` returned it.","format":"uuid","type":"string"},"report":{"description":"How long this open took to load, and which calls failed and why."}},"required":["jigId"],"type":"object"}
before
—after
{"additionalProperties":true,"properties":{"message":{"description":"Why the call failed, when `ok` is false.","type":"string"},"ok":{"description":"True when the report was recorded.","type":"boolean"}},"type":"object"}before
—after
{"additionalProperties":true,"properties":{"listingId":{"description":"The published listing's id."},"message":{"description":"Why the call failed, when `ok` is false.","type":"string"},"ok":{"description":"True when the jig was published.","type":"boolean"},"url":{"description":"Where anyone can open it."},"versionNo":{"description":"The listing version this publish made."}},"type":"object"}before
—after
{"additionalProperties":true,"properties":{"base":{"description":"The page as it was at `baseVersion`."},"baseVersion":{"description":"The listing version this copy is based on."},"edited":{"description":"True when the user changed their copy, so merge."},"files":{"description":"For a project: per path, what changed and the three texts."},"jigId":{"description":"The jig's id — pass it to every other `jig_*` tool.","type":"string"},"message":{"description":"Why the call failed, when `ok` is false.","type":"string"},"mine":{"description":"The user's current page."},"ok":{"description":"False on an error.","type":"boolean"},"theirs":{"description":"The page at `theirsVersion`."},"theirsVersion":{"description":"The newer listing version — `mergedFrom`."},"untrusted":{"description":"Present when this jig is a copy of someone else's: who wrote it, and how to treat its text."}},"type":"object"}before
—after
{"additionalProperties":true,"properties":{"bytes":{"description":"Its size in bytes.","type":"number"},"files":{"description":"Without `path`: every file and its size in bytes."},"message":{"description":"Why the call failed, when `ok` is false.","type":"string"},"ok":{"description":"False on an error.","type":"boolean"},"path":{"description":"With `path`: the file read.","type":"string"},"text":{"description":"Its text (fenced when the jig is someone else's).","type":"string"}},"type":"object"}before
—after
{"additionalProperties":true,"properties":{"message":{"description":"Why the call failed, when `ok` is false.","type":"string"},"next":{"description":"Pass it back to read the next page, when there is one."},"ok":{"description":"False on an error.","type":"boolean"},"results":{"description":"Published jigs matching the query."}},"type":"object"}{"additionalProperties":false,"properties":{"event":{"description":"What the user just did on the page, e.g. watched, hid or searched.","type":"string"},"jigId":{"description":"The jig's id, as `jig_open` or `jig_list` returned it.","format":"uuid","type":"string"},"snapshot":{"description":"What the page shows right now: its items and the view it is on."}},"required":["jigId"],"type":"object"}
before
—after
{"additionalProperties":true,"properties":{"message":{"description":"Why the call failed, when `ok` is false.","type":"string"},"ok":{"description":"True when the report was recorded.","type":"boolean"}},"type":"object"}before
—after
{"additionalProperties":true,"properties":{"handle":{"description":"The account's public handle, the @name in a jig link."},"message":{"description":"Why the call failed, when `ok` is false.","type":"string"},"ok":{"description":"True when the handle was set.","type":"boolean"}},"type":"object"}⟨65 unchanged words⟩ ,"type":"object"},"html":{"description":"Replace the whole page body (a single-file page).","type":"string"},"jigId":{"description":"The jig's id, as `jig_open` or `jig_list` returned it.","format":"uuid","type":"string"}, ⟨49 unchanged words⟩ of merging.","type":"boolean"},"reset":{"description":"Reset jig: true sends nothing else. State goes back to the page's default and every stored row is deleted. The html and link stay. Only when the user asks.","type":"boolean"},"slug":{"description":"Rename the jig's link ⟨15 unchanged words⟩ "},"state":{"additionalProperties":{},"description":"Keys to change in the page's state, merged into what is there.","type":"object"},"title":{"description":"A new title for the page.","maxLength":120,"type":"string"}}, ⟨4 unchanged words⟩
before
—after
{"additionalProperties":true,"properties":{"files":{"description":"The jig's source files and their sizes in bytes.","items":{"additionalProperties":true,"properties":{"bytes":{"type":"number"},"path":{"type":"string"}},"type":"object"},"type":"array"},"html":{"description":"The page body (single-file pages).","type":"string"},"jigId":{"description":"The jig's id — pass it to every other `jig_*` tool.","type":"string"},"message":{"description":"Why the call failed, when `ok` is false.","type":"string"},"notes":{"description":"Advice about the page just written — fix what it names with `jig_update`."},"ok":{"description":"True when the change was applied; false on an error.","type":"boolean"},"state":{"description":"The page's current state — the JSON object `jig_update({ state })` changes."},"title":{"description":"The page's title (fenced text when the jig is a copy of someone else's)."},"untrusted":{"description":"Present when this jig is a copy of someone else's: who wrote it, and how to treat its text."},"updateAvailable":{"description":"Set when the published jig this copy came from has a newer version."},"url":{"description":"The link to give the user: their tab is the live page.","type":"string"},"version":{"description":"The jig's version; it goes up by one on every change.","type":"number"}},"type":"object"}{"additionalProperties":false,"properties":{"cache":{"description":"True on first open, to also get the page's saved results.","type":"boolean"},"jigId":{"description":"The jig's id, as `jig_open` or `jig_list` returned it.","format":"uuid","type":"string"},"since":{"description":"The version the page already has; the body and state come back only when newer.","type":"integer"}},"required":[" ⟨3 unchanged words⟩
before
—after
{"additionalProperties":true,"properties":{"cache":{"description":"The page's saved results, when `cache` was asked for."},"dataRevs":{"description":"Revisions of the jig's stored records."},"html":{"description":"The page body, when it changed since `since`.","type":"string"},"jigId":{"description":"The jig's id — pass it to every other `jig_*` tool.","type":"string"},"message":{"description":"Why the call failed, when `ok` is false.","type":"string"},"ok":{"description":"False on an error.","type":"boolean"},"state":{"description":"The page's current state — the JSON object `jig_update({ state })` changes."},"title":{"description":"The page's title (fenced text when the jig is a copy of someone else's)."},"untrusted":{"description":"Present when this jig is a copy of someone else's: who wrote it, and how to treat its text."},"version":{"description":"The jig's version; it goes up by one on every change.","type":"number"}},"type":"object"}before
—after
{"additionalProperties":true,"properties":{"error":{"description":"Why it failed, when it did."},"message":{"description":"What happened, in words.","type":"string"},"status":{"description":"The HTTP status of the lease: below 400 succeeded.","type":"number"}},"type":"object"}before
—after
{"additionalProperties":true,"properties":{"connections":{"description":"This account's saved site logins.","items":{"additionalProperties":true,"properties":{"account":{"description":"Which account on that site."},"createdAt":{"description":"When it was added (ISO 8601).","type":"string"},"expiresAt":{"description":"When it expires (ISO 8601).","type":"string"},"id":{"description":"The login's id — `connection` in a run, `delete_connection`'s `id`.","type":"string"},"isDefault":{"description":"The login a run uses when it names none.","type":"boolean"},"lastCheckedAt":{"description":"When it was last validated.","type":["string","null"]},"lastUsedAt":{"description":"When a run last used it.","type":["string","null"]},"method":{"description":"How it was signed in."},"provider":{"description":"The site it signs in to.","type":"string"},"scopes":{"description":"What it was granted."},"status":{"description":"active, expired, logged_out…","type":"string"},"usable":{"description":"Whether a run can use it now.","type":"boolean"},"via":{"description":"`link` when the user's own Chrome serves it.","type":"string"}},"type":"object"},"type":"array"}},"type":"object"}before
—after
{"additionalProperties":true,"properties":{"secrets":{"description":"This account's stored secrets — names and status, never values.","items":{"additionalProperties":true,"properties":{"expiresAt":{"description":"When it expires (ISO 8601).","type":["string","null"]},"hosts":{"description":"The sites it may be sent to."},"lastUsedAt":{"description":"When a run last used it.","type":["string","null"]},"name":{"description":"Use it by this name in a script.","type":"string"},"status":{"description":"`set`, or `pending` until the user types it.","type":"string"},"type":{"description":"password, apiKey, totpSeed, cookie…","type":"string"}},"type":"object"},"type":"array"}},"type":"object"}before
—after
{"additionalProperties":true,"properties":{"ok":{"description":"True when it was accepted.","type":"boolean"},"reason":{"description":"Why it was refused, when it was."}},"type":"object"}before
—after
{"additionalProperties":true,"properties":{"ok":{"description":"True when it was accepted.","type":"boolean"},"reason":{"description":"Why it was refused, when it was."}},"type":"object"}before
—after
{"additionalProperties":true,"properties":{"instructions":{"description":"How to answer them.","type":"string"},"jobs":{"description":"The jobs claimed for you to answer.","items":{"additionalProperties":true,"properties":{"inputSchema":{"description":"That tool's argument schema."},"jobId":{"description":"Pass it to `llm_answer`.","type":"string"},"leaseSeconds":{"description":"How long the job is held for you.","type":"number"},"prompt":{"description":"What to answer."},"system":{"description":"The system prompt for the job."},"toolName":{"description":"The tool the answer must be shaped as, if any."}},"type":"object"},"type":"array"}},"type":"object"}before
—after
{"additionalProperties":true,"properties":{"loggedOut":{"description":"The id of the login signed out."},"provider":{"description":"The site it was signed in to.","type":"string"},"siteError":{"description":"Why the site-side sign-out failed, when it did."},"siteLogout":{"description":"`unsupported` when the site offers no way to end it."},"siteSignedOut":{"description":"True when the site confirmed the session ended."}},"type":"object"}before
—after
{"additionalProperties":true,"properties":{"name":{"description":"The secret's name.","type":"string"},"status":{"description":"`set` when it already exists, else `pending`.","type":"string"},"type":{"description":"Its type.","type":"string"},"url":{"description":"The link the user opens to type the value.","type":"string"}},"type":"object"}{"additionalProperties":false,"properties":{"runId":{"description":"The run to draw: the `runId` that `run` returned.","format":"uuid","type":"string"},"script":{"description":"Or the script text the run was started with, when the view has no `runId` yet.","type":"string"}},"type":"object"}
before
—after
{"additionalProperties":true,"properties":{"continuation":{"description":"Set on a collect call's view.","type":"boolean"},"done":{"description":"True once the run has finished.","type":"boolean"},"found":{"description":"False when no run matches the id or script.","type":"boolean"},"message":{"description":"Why the call failed, when `ok` is false.","type":"string"},"model":{"description":"The graph of calls the view draws."},"ok":{"description":"False on an error.","type":"boolean"},"runId":{"description":"The run being drawn.","type":"string"},"status":{"description":"The run's status: running, ok, error, paused…","type":"string"},"url":{"description":"The run's page on the Bowmark dashboard.","type":"string"}},"type":"object"}before
—after
{"additionalProperties":true,"properties":{"error":{"description":"What went wrong, when it did."},"expiresAt":{"description":"When an idle session ends (ISO 8601).","type":"string"},"message":{"description":"Why the call failed, when `ok` is false.","type":"string"},"ok":{"description":"True when the call completed without an error.","type":"boolean"},"result":{"description":"What the call returned."},"runId":{"description":"The run's id; pass it back to resume or collect it.","type":"string"},"sessionId":{"description":"Pass it to the next `session_call` and to `session_close`.","type":"string"},"status":{"description":"How the call ended: `ok`, `partial`, `error`, `paused`…","type":"string"}},"type":"object"}before
—after
{"additionalProperties":true,"properties":{"error":{"description":"What went wrong, when it did."},"message":{"description":"Why the call failed, when `ok` is false.","type":"string"},"ok":{"description":"True when the session was closed.","type":"boolean"},"status":{"description":"How the close ended.","type":"string"}},"type":"object"}before
—after
{"additionalProperties":true,"properties":{"expiresAt":{"description":"When the link expires.","type":["string","null"]},"message":{"description":"What to do next, in one paragraph.","type":"string"},"ref":{"description":"The sign-in being waited on.","type":"string"},"remaining":{"description":"Sites not signed in yet.","items":{"type":"string"},"type":"array"},"sites":{"description":"Sites the link covers.","items":{"type":"string"},"type":"array"},"state":{"description":"pending, done, cancelled, expired or unknown.","type":"string"}},"type":"object"}{"additionalProperties":false,"properties":{"files":{"additionalProperties":{"type":"string"},"description":"A project instead of `html`: { path: text }, e.g. index.html, main.tsx, App.tsx. React/JSX, compiled for you; `main.tsx` is the entry and ends in mount(<App />) from \"@bowmark/ui\".","type":"object"},"html":{"description":"Your own page: ⟨141 unchanged words⟩
⟨37 unchanged words⟩ once) instead of resending the whole page. On a project, `files` writes files ({ path: text }, null deletes one) and an edit's `path` picks its file. The open page updates itself within a few ⟨22 unchanged words⟩
⟨3 unchanged words⟩ :{"edits":{"description":"Find/replace ontheacurrentfilehtml(default index.html), applied in order.","items":{"additionalProperties":false,"properties":{"find":{"type":"string"},"path":{"description":"The file; omitted means index.html.","type":"string"},"replace":{"type":"string"}},"required ⟨5 unchanged words⟩ ":50,"minItems":1,"type":"array"},"files":{"additionalProperties":{"type":["string","null"]},"description":"Write files of a project: { path: text }; a path set to null deletes it.","type":"object"},"html":{"type":"string"} ⟨92 unchanged words⟩
⟨28 unchanged words⟩ connected\" when it is not open; `\"link-first\"` tries the user's Chrome first and falls back to Bowmark's own route (use it when the answer must come from the user's own address, e.g. a YouTube stream URL that will play in their browser); `\"default\"` or leaving it out uses Bowmark's own route. The result echoesitwhat was applied as`egress`.`egress` (`\"default\"` when a `\"link-first\"` run found no Chrome).","enum":["default","link","link-first"],"type":"string"},"runId": ⟨114 unchanged words⟩
⟨3 unchanged words⟩ egress":{"enum":["default","link","link-first"],"type":"string"},"emptyHanded":{ ⟨127 unchanged words⟩
Read a page's files (jig) — List a jig's files with their byte sizes, or with `path` read one file's text. A page written as `html` is one file, index.html. Read before you edit a jig you did not just write.
⟨5 unchanged words⟩ ": their own copy of a website,running through Bowmark,that you curate as theytalk to you.talk. Asked for "a jig of YouTube", ⟨26 unchanged words⟩ the library has for that site gets itsplace.place,Thenandkeepanycuratingotherassite'stheythattalkfills a gap. Then keep curating: `jig_update` changes state or html, live. Give ⟨257 unchanged words⟩
Publish a page (jig)tosotheothersstorecan get it
⟨109 unchanged words⟩ public"` also appears in search. Returns thestorejig URL. To unlist a published jig or change ⟨19 unchanged words⟩
⟨164 unchanged words⟩ clip (mp4/webm ≤ 20 MB) for thestorejig page, each a `url` or `base64` — ⟨111 unchanged words⟩
⟨8 unchanged words⟩ ,"title":"Publish a page (jig)tosotheothersstorecan get it"}
⟨115 unchanged words⟩ call so it runs in the same session. **A session runs one call at a time: never send parallel calls to the same `sessionId` with Promise.all.** Each call waits for the previous one. For parallel work, open separate sessions or use `run` instead. The answer is `{ sessionId, ok, ⟨72 unchanged words⟩
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":" ⟨6 unchanged words⟩
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Jig cache"}
{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false,"title":"Jig call"}
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":" ⟨5 unchanged words⟩
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":" ⟨5 unchanged words⟩
⟨169 unchanged words⟩ up to 8 together. `bowmark.state`/`onState(fn)` holdseverycurationchoicechoices (you change it with `jig_update`); `setState( ⟨13 unchanged words⟩ is on screen. Also `tellModel`, `say`, `open`, `download`, `theme`, `img`, `section`: the jig guide. ⟨120 unchanged words⟩
⟨67 unchanged words⟩ ":"The jig's name in its link, bowmark.ai/jig/@<handle>/<slug> (bowmark.ai/jig/<slug> until the user has a handle): lowercase letters, digits and hyphens. Omit it ⟨61 unchanged words⟩
{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false,"title":" ⟨7 unchanged words⟩
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Jig perf"}
⟨86 unchanged words⟩ (the @name in bowmark.ai/jigs/@<handle>/<slug>, permanent; ask them, or claim it earlier with `jig_set_handle`). `visibility: "unlisted"` is reachable by ⟨39 unchanged words⟩
{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Jig seen"}
⟨96 unchanged words⟩ :{"description":"Rename the jig's link,bowmark.ai/jig/<slug>.the <slug> in bowmark.ai/jig/@<handle>/<slug>. The old link keeps working and redirects.", ⟨17 unchanged words⟩
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Jig view"}
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":" ⟨9 unchanged words⟩
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":" ⟨9 unchanged words⟩
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":"Run view"}
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true,"title":" ⟨8 unchanged words⟩
Claim the user's public handle (permanent) — Claim the user's public handle: the @name in the links to pages they publish, bowmark.ai/jigs/@<handle>/<slug>. It is PUBLIC and PERMANENT: it can never be changed or released. Ask the user which one they want BEFORE calling, suggesting one from their name, and never choose it for them. A handle is 2 to 30 lowercase letters, digits and single hyphens. Calling again with the handle they already hold is fine. A taken or invalid handle is refused with a free `suggestedHandle` to offer instead. Call it with no `handle` to see whether they have one and a free one to suggest; that writes nothing. `…
⟨39 unchanged words⟩ ":"uuid","type":"string"},"mergedFrom":{"description":"After merging an update from `jig_pull_update`: the `theirsVersion` you merged. Send it with the merged `html` (or `edits`); the copy is then based on that version, and any new functions it calls wait for the user's approval.","minimum":1,"type":"integer"},"replaceState":{"description":"Start from {} instead of merging.","type":"boolean"},"slug":{"description":"Rename the jig's link, bowmark.ai/jig/<slug>. The old link keeps working and redirects.","maxLength":60,"type":"string"},"state":{"additionalProperties":{}," ⟨11 unchanged words⟩
Get a published page (jig) into this account — Copy someone's published jig into THIS user's account, from its current version. The copy is the user's own: it runs as them with their logins, never the author's, and can call only the functions its listing lists. Name it by `listing`: its id, `@handle/slug`, or its store URL (from `jig_search`). If the user already has a copy you get that one back with `alreadyHave: true`; pass `another: true` only when they want a second. Returns `jigId`, `slug`, `viewUrl` and `sitesNeedingLogin`: give the user each `signInUrl` (their own login, one-time link) and call `wait_for_sign_in` with its `ref`. Th…
Publish a page (jig) to the store — Publish the user's jig as a listing others can get: it snapshots the page and state AS THEY ARE NOW into version N+1, and later edits stay private until you publish again. Call with `dryRun: true` first and show the user what would ship: every function the page calls (tagged read / write / pay), its sites, and the `defaultState` a copy starts with — blank anything personal with `defaultState`. A first publish needs the user's public `handle` (the @name in bowmark.ai/jigs/@<handle>/<slug>, permanent; ask them). `visibility: "unlisted"` is reachable by link only; `"public"` also appears in sear…
Get an update for a copied page (jig) — For a jig the user got from someone's listing (`jig_list` shows `updateAvailable`): the three pages a merge needs. `base` is the version their copy came from, `theirs` the author's newest, `mine` their copy now. Writes nothing. If `edited` is false, save `theirs` as is. Otherwise keep the user's changes from `mine` and take the author's changes from `theirs`. Then save with `jig_update({ jigId, html, mergedFrom: theirsVersion })`. `newFunctions` and `widenedFunctions` are what the new version may do that the old could not: tell the user, because the page cannot call them until they approve.
Search published pages (jigs) — Search the public jigs other people published: "is there a jig for my Amazon orders?". Call it BEFORE building a page from scratch. Leave `q` empty for the newest. Pass `site` (a host like youtube.com) for the jigs of one site. Results: id, title, tagline, slug, ownerHandle, sites, functions (path, effectClass), effects, currentVersion, installCount; `nextCursor` (when set) is passed back as `cursor` for the next page. Needs no account.
Answer a Bowmark page's AI call — Answers one job from llm_poll. `answer` must be an object matching that job's inputSchema. A wrong shape is refused with the reason and the job stays open, so correct it and call again.
Stop serving Bowmark pages' AI calls — Detaches this chat at once, so open Bowmark pages' AI calls go back to Bowmark's own model instead of waiting for this chat.
Serve Bowmark pages' AI calls — Lets this chat answer the AI calls an open Bowmark page makes, so they cost nothing. Returns up to 5 pending jobs ({ jobId, system, prompt, toolName, inputSchema, leaseSeconds }); waits up to waitSeconds (max 15) when there are none. Answer each with llm_answer. Calling this marks the chat as attached for 20 seconds; stop calling it, or call llm_detach, to let calls go back to Bowmark's own model.
⟨7 unchanged words⟩ :false,"title":"Call one Bowmark functioninandakeep the sessionthatopenkeepsforitsthebrowsernext call"}
Ends a session `session_call` opened and freesitswhatbrowser.it held. Pass the `sessionId`. Closing one that is already closed is harmless.
⟨91 unchanged words⟩ of writing `html`.","enum":["youtube-feed","amazon-search"],"type":"string"},"title":{ ⟨11 unchanged words⟩
⟨12 unchanged words⟩ a key set to null is removed),orreplace its `html` or`title`.`title`, or change part of the html with `edits` ([{ find, replace }], each find exactly once) instead of resending the whole page. The open page updates itself within a few ⟨22 unchanged words⟩
{"additionalProperties":false,"properties":{"edits":{"description":"Find/replace on the current html, applied in order.","items":{"additionalProperties":false,"properties":{"find":{"type":"string"},"replace":{"type":"string"}},"required":["find","replace"],"type":"object"},"maxItems":50,"minItems":1,"type":"array"},"html":{"type":"string"},"jigId" ⟨26 unchanged words⟩
{"additionalProperties":false,"properties":{"cache":{"type":"boolean"},"jigId":{"format":"uuid","type": ⟨8 unchanged words⟩
Jig cache — Used by an open jig to save a call's last good result. You do not need to call this.
Jig perf — Used by an open jig to report how fast it loaded. You do not need to call this.
Check what your account has spent — See the real cost of calls on this account, itemized by resource (provider calls, browser sessions, IP leases) and aggregated in dollars. Pass no arguments to see this month; pass `month: '2026-09'` to see a past month (format `YYYY-MM`). Returns `totalUsd` and line items with `sku`, `quantity`, `unit` and `usd`. This is the EXACT amount your account has been charged, matching the invoice.
{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Open a page for the user (jig)"}
{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Jig seen"}
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Steer an open page (jig)"}
{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true,"title":"Jig view"}
⟨10 unchanged words⟩ website, running through Bowmark, that you curatefor themas they talk to you. Asked for "a jig of YouTube" or "Amazon,but withno promotionsand the, best products first",youbuild a page that LOOKS like that site —itslayout,itsviews,itscontrols — with Bowmark's name and logowhereverwhere the site'slogowould be,andevery liston itfilled by Bowmark library functions as this user. Thenyoustay in the loop: the user keeps talkingto you in this chathere, and you change whatthe pageit shows (`jig_update` state) or how it looks ⟨6 unchanged words⟩ live. Give the user the link that comesback and tell them to open it;back; that tab is the app. Start from a built-in (`template`) when onefits;fits,otherwiseelse write the pageyourself(`html`).A user's—jigscallare`get_library({keptquery:before"jigbuildingguide"one})`theyFIRSTsayfortheythealreadycomponenthave,kitfindanditlayoutwithclasses.`jig_list`Reopenandanreopenexistingitjig with `jig_open({ jigId })`.`Before(findyouitcuratevia `jig_list`) rather than rebuilding it. Before curating ("clear the slop", "why is this here"), call `jig_look` to see what the pageis showing them rightshows now and whatthey justthediduseronjustit.did. Inside the pagethere is, one global, `window.bowmark`:-`await bowmark.call`bowmark.call("providers.youtube.search"path,{ query: "…" }args)`—runs any library function,bythe pathits `get_library`shows, withoutpaththe(no `bowmark.`prefix. It is a real run for this user: their logins, their accountprefix), meteredlike `run`. Look the site up in `get_library` first so the page only calls functions thatforexist. -this`awaituser;bowmark.batch`bowmark.batch([{ fn, args }, …...])`—runs up to 8calls in ONE run, in parallel; resolves to `[{ ok, value } | { ok: false, error }]`. - `bowmark.state` andtogether.`bowmark.onState`bowmark.state`/`onState(fn)`— theisstatewhat you pass here and change with`jig_update`.`jig_update`Put— put every curation choicein state (filters, hidden items, ranking words, your picks with a reason) so you can change it from the chat without rewriting the page. - `awaitthere.bowmark.setState`bowmark.setState(patch)`— the pagesavestheauser'suser click(hide this, mute that)back intothat same state. -it. `bowmark.show({ view, items:[...]})`— call it after every render withreports what is on screen (a few fields per item: id, title, seller or channel, price). That iswhat `jig_look`shows you. -reads). `bowmark.tellModel(text)`— notenotes whatthe user just did (watched X, opened Y); you see it in `jig_look`.happened; `bowmark.say(text)` postsinto this chathere as the userand only works when the page is open,insidechatthepanelchat. -only. `bowmark.open(url)`; `bowmark.theme` is"light" or "dark" (`bowmark.onTheme(fn)`), also set as `data-theme`light/dark.onFull<html>. Thesignatures:pagethehasjignoguide. No `fetch`and loads, no externalscript, stylesheet or font. At its link, images and embedded players load from any site; inside a chat panel only YouTube'sscript/style/font.do.A callthat needs aneeding sign-in pauses behind a"Sign in"banner the page drawsfor you,and resumesresuming oncethe user hassigned in.Thereis noNo chat box in the page:— the user talks to youhere, and the page follows.here. BOWMARK'S LOOK, THE SITE'SLAYOUT. The user judges Bowmark by this page. Arrange the page the way the site is arranged (its header, search, navigation, grid or list, detail view), butLAYOUT: builditfrom the kit's premadeBowmarkcomponents,in Bowmark's colorsand type, never thesite's. The name and logo are always Bowmark's: put `<a class="bm-brand"></a>` where thesite'slogo goes and leave it empty; it draws the Bowmark mark and the word Bowmark itself. Never title the page with a name you made up. - Frame: `.bm-app` > `header.bm-topbar` (`.bm-iconbtn` menu,`.bm-brand`, `form.bm-search` with an inputanda button, `.bm-topbar-end` holding `<span class="bm-live">Curated by Claude</span>`) + `.bm-body` > `nav.bm-sidenav` (`.bm-navitem` with an svg icon, `.is-active`; `.bm-navlabel`; `.bm-sep`) + `main.bm-main`. - Content: `.bm-chipbar` of `.bm-chip` (`.is-active`); `.bm-heading` (`<h2>`, `.bm-sub`, `.bm-end`); `.bm-media-grid` of `.bm-media` (`.bm-thumb` with `.bm-duration`, `.bm-badge` for your pick; `.bm-media-body` with `.bm-avatar`, `.bm-media-title`, `.bm-media-meta`, `.bm-why`; `.bm-more` + `.bm-menu`); `.bm-product-grid` of `.bm-product` (`.bm-product-img`, `.bm-product-title`, `.bm-stars`, `.bm-price` + `.bm-was`, `.bm-why`); `.bm-list` of `.bm-row` (`.is-large` for search results; `.bm-thumb` + `.bm-row-body`); a detail view: `.bm-watch` (`.bm-player` holding an iframe, `.bm-detail-title`, `.bm-actions` of `.bm-pill`, `.is-primary` for the one main action, `.bm-box`). - Your curation, visible: `.bm-rules` of `.bm-rule` (`.bm-kind`, `.is-off`; `.bm-text`; an × button that removes it), `.bm-note`. State: `.bm-skel` while a call runs, `.bm-empty` when there is nothing, `.bm-toast` (with an Undo button) after a click. - Tokens if you need more: `--bg --surface --surface-2 --surface-3 --fg --fg-2 --fg-3 --line --line-2 --accent --accent-ink --accent-soft --mark --star --cta`, radii `--r-sm --r --r-lg --r-full`, `--font`, `--shadow-1 --shadow-2`; dark mode is already handled. Never hard-code a color in a rule. Rules: Bowmark's font only, no monospace outside code;nevertruncate your own reasoning; mark what you picked and say why; works from a phone up to a full desktop window; real images over drawn ones; every control does something visible when clicked. Built-in jigs: - `youtube-feed` — A full YouTube-style app over the user's own account: their home feed (plus searches you add) re-ranked and filtered by rules you write from the conversation, your hand-picked videos first with your reason, search,invent awatchpagewith Up next, and their Subscriptions, History, Watch later and Liked videos. 'Not interested'title.clicksComponents andrule removals come back into state. State it reads: `heading`, `note` (one line: what you are curating for), `topics` (chips across the top of Home; defaults to `prefer`), `prefer` (words that rank a video up), `avoid` (words that hide it), `mutedChannels`, `hidden` (videoIds), `maxMinutes`, `minMinutes`, `hideShorts` (default true), `home` (default truebuilt-ins:includethehome feed), `searches` (up to 6 extra YouTube searches), `limit` (home feed size, default 30), `picks` ([{ videoId, reason, title, channel, length }] shown first — fetch them yourself with `run`, copy the title, channel and length from what came back, and say WHY in `reason`, one or two plainjigsentences).guide.
{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true,"title":"Check what Bowmark can do for this task"}
{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true,"title":"Get the user a link to one of their own stored logins"}
{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Get the user a dedicated IP for sites that need one"}
{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true,"title":"See which sites Bowmark is already signed in to"}
{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true,"title":"See which of the user's logins Bowmark already holds"}
{"destructiveHint":true,"idempotentHint":true,"openWorldHint":true,"readOnlyHint":false,"title":"Sign one of the user's saved logins out"}
{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Report what Bowmark could not do for this task"}
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"Ask the user to set a login Bowmark will need"}
{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false,"title":"Do the task on the live websites and return the result"}
{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true,"title":"Run view"}
{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false,"title":"Call one Bowmark function in a session that keeps its browser"}
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":false,"title":"End a Bowmark session"}
{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false,"title":"Talk with Bowmark support about a report"}
{"destructiveHint":false,"openWorldHint":false,"readOnlyHint":true,"title":"Wait for the user to finish signing in"}
Jig seen — Used by an open jig to report what it shows. You do not need to call this.
Steer an open page (jig) — Change a page you opened with `jig_open`: merge `state` into its state (a key set to null is removed), or replace its `html` or `title`. The open page updates itself within a few seconds — do not call `jig_open` again. Use this whenever the user asks, in chat, for the page to show something different.
Jig view — Used by an open jig to pick up its latest state. You do not need to call this.
⟨3 unchanged words⟩ {"ok":{"type":"boolean"},"supportRoomreportId":{"additionalProperties":false,"description":"A live Bowmark supportPasschatthisabouttothis`support`report,tofortalkaccountaboutholders.it.","properties":{"joinPrompt":{"type":"string"},"urlsupportOffered":{"typedescription":"string"}},"required"True when live support is available:["url","joinPromptask your user before calling `support`."],"type":"objectboolean"}},"required":["ok"],"type":"object"}
Call one Bowmark function in a session that keeps its browser — Runs ONE library function in a Bowmark session, so a flow that needs several calls in the SAME browser can finish: a booking that texts the user a code, a cart filled over several steps, a form that waits on an answer from the user. `run` cannot do these, because every run starts a fresh browser and the held page dies with it. `path` is the function as a script writes it after `bowmark.`, split on the dots: `["providers","opentable","startBooking"]`. `args` are its arguments, in order. Look both up in `get_library` first. Omit `sessionId` on the first call: a session opens and its `sessionId…
End a Bowmark session — Ends a session `session_call` opened and frees its browser. Pass the `sessionId`. Closing one that is already closed is harmless.
Talk with Bowmark support about a report — Chat live with a Bowmark support agent about a problem you reported. Use it only after your user said yes to talking to support. Pass the `reportId` that `report` returned. Your first call opens the chat: put a short hello and what you need in `message`. Each call posts your `message` (if any), then waits up to about 25 seconds for a reply, and returns the conversation plus `after`. Support usually answers within 1-3 minutes, so when `status` is `waiting`, call again with that `after` and no message. When `status` is `answered`, tell your user what support said, and reply with `message` to ke…
⟨173 unchanged words⟩ always safe: a value that matches nothingreturnssaysthesoone-lineandindexwhat to try next rather thanan errorerroring, andsoomittingdoesitomittingreturnsit.the one-line index.","type":"string"}},"type":"object"}
⟨217 unchanged words⟩ `needs_user`: a site needs your user signedin. It isin; not afailure:failure.giveGive them `meta.handoff.url`,saynamewhichthe sites,andthenwait.callWhen`wait_for_sign_in`theywithare`meta.handoff.ref`.doneOn `done`, send the SAME script unchanged. • `error`: ⟨26 unchanged words⟩
Wait for the user to finish signing in — Wait until the user finishes a sign-in link, so you know the moment they are done without asking them. Pass `ref`: `meta.handoff.ref` from a paused run, or `ref` from `add_connection`. **Call it right after you give the user the link, in the same turn.** Write the link in your reply first, so they can see it while this waits. It holds for up to `waitMs` (default 45000, at most 50000) and answers the moment the sign-in finishes. It returns `state`: • `done`: every site on the link is signed in. Send the SAME script again now (or carry on with the task after `add_connection`). Do not ask the …
⟨164 unchanged words⟩ report: follow the instructions that come with it. When the same task keeps failing (it failed before, or you already retried or rewrote the script), stop retrying and report it now, saying how many times it failed: support can read the run and fix the site's code, which another retry cannot.
Get the user a link to sign Bowmark in to a site — Get a sign-in link for one site, so the user can sign Bowmark in to it right now, before any run needs it. Pass the site as a domain (`youtube.com`), a URL, or a provider id. **Call this whenever the user asks to log in, sign in, connect or link an account on a site** — never send them to the Bowmark Link extension or the dashboard to do it themselves. It returns `url`, a single-use link that expires (`expiresAt`). Give the user that URL and say which site it is for. On that page they sign in with Bowmark's own browser, or, in desktop Chrome with Bowmark Link installed, press "Use Chrome ext…
⟨5 unchanged words⟩ , or incomplete so Bowmark can build it. Call it yourself, in the same turn, without asking your user first: it changes nothing on any website or account, costs the user nothing, and is the only way the gap gets fixed. Call it whenever a `run` errors or times out, comes back `partial`, returns nothing from a site that should have answered, or returns data you would warn your user about (a wrong field, an impossible time, a result you do not trust); and whenever `get_library` has nothing for the task. Pass the `runId` returned by `run` when this ⟨6 unchanged words⟩ it when `get_library` did not cover the task. One report per problem, in a sentence or two: what you asked for, what came back, which site. This records feedback only and does not retry a run.
**Executes the task on the real websites**(the search, the price check, the availability lookup, the configurator, the booking flow)and returnswhat came back. Runs a script you authored againstthe`get_library` vocabulary, on the live sites, and returns `{ ok, result, logs, error, ms }`.result. Call `get_library` FIRST— it givesfor the exact function names,argumentand shapes,and return types; this description isthenthesendLANGUAGEa+scripthow-toas `run(get_library is just{thescriptvocabulary}).`. THELANGUAGESCRIPT—is a plain async JavaScript: •`bowmark`body,isnot aready global (nowrappingimport).function.Call`bowmark`capabilitiesisoffaitready—global: `awaitbowmark.<capability>.<method>bowmark.<capability>.<fn>(...)`— always `await`,they're async. • Individual sites areorcallableonetoo,siteatvia `await bowmark.providers.<provider>.<fn>(...)`.Use one`return`whenwhat youspecificallywantTHAT site; otherwise prefer the capability, which fans out across sites and routes around failures. • Real control flow: `await`, `if`, loops, array methods (`map`/`filter`/`sort`/`slice`), and `Promise.all` for fan-out. • `return` a value to get it back (JSON-serialized).back; `log(...)` forprogress lines. • Standard JavaScript built-ins are there (`JSON`, `Math`, `Date`, `RegExp`, `Intl`,progress.`Promise`),Built-ins plus`URL` and `URLSearchParams` — use them to resolve a relative link against the page it came from and to build query strings. Nothing else from the Web platform exists: no `fetch`, `setTimeout`, `TextEncoder` or `crypto`. • `bowmark` is the ONLY I/O —`URL`/`URLSearchParams`noexist; `fetch`,`process`, filesystem, or `import`/`require`. Write a plain async body, not a wrapping function. • `bowmark.files` keeps a file the run produces (a CSV, an image`import`,a transcript) in the caller's Bowmark account`setTimeout` andgives youalink to it: `save({ name, text | base64, contentType? })` → `{ id, url, expiresAt }` (25 MB from a script), `list()`, `get(id)`, `url(id, { expiresIn })`, `makePublic(id)` → `{ publicUrl }`, `makePrivate(id)`, `delete(id)`. Return the link rather than inlining the bytes — UNLESS you need to read the text yourself (a transcript you will summarize): then return the part you need, trimmed (e.g. `text.slice(0, 4000)` per item), beside the link in the SAME run. Fetching each saved link back afterwards costs one tool call per file (measured 2026-10-02: 15 transcripts, ~100s). Keep the whole result under ~25,000 characters: clients reject or spill a larger tool result (Claude Code moved a 50 KB one to a file the modelfilesystemcoulddo notopen), and the answer is lost. • Keep scripts small and deterministic—no infinite loops. Runs in a hard sandbox with CPU + memory + wall-clock limits. **Your own tool-call budget`bowmark` istighter than you'd guess, and it decides how many calls fittheinonlyoneI/O. MINDscript.**THEMostCLOCK.MCPYourclientsclienttimetimes asingletool call out at around 55 seconds, andONE ordinaryone capability call already spends 30-55 secondsof that,fanningsooutdefault tolive sites — seeONECOMPOSITIONperbelowscript.beforeNeedcallingseveral?aRunsecondthemcapabilitytogether inthe same`Promise.allSettled`script. SENDING(aIT:droppedpasslegthestillscriptcomestextback as`run({ script }`partial`)` — there is no `site` argument; the library exposes every capability under `bowmark`. A run,stillnevergoingone after~40 seconds answers `status: "running"` with its `runId` instead of letting your tool call time out: it keeps executing on Bowmark's sideanother,so call `run({ runId })` to wait for that SAME run —and neversend the`await`scriptinsideagain,awhich`for`wouldloop.doKeep thework twice. `result` is whatever you returned; `logs` are your `log()` lines in order; on a throw/timeout `ok:false` andresult`error`underis~25,000set.characters. CHECK `status` BEFORE`ok`. It`ok`is— `ok` | `error` | `partial` | `needs_user` | `running`: •(call`running`: it is still going. Call `run({ runId })` tocollect it). • `partial`waitmeansfor thescript RAN and `result` is real and usable, but some of what itSAMEcalledrun; neveranswered — soresend theresult is narrower than what you asked for. `ok` is stillscript. •`true`;`partial`:this`result` isnot a failure. `incomplete.summary` says what happened in one sentence, `incomplete.failures` names each call that threw and whatrealthebutsitenarrowersaid,thanandasked;`incomplete.degraded``incomplete` nameseach call that answered while reporting its OWN results thin. You MUST say so when you present the result: namewhatwas missed, and do not describe it as complete, exhaustive, or 'all' of anything. A `partial` you report as whole is a wrong answer,did nota slightly smaller right one. •answer.BeforeTellyouyourconcludeusera—`partial`neveriscallfinal,itcheckcomplete. `incomplete.failures[].fixable`. `fixable.fixable: true` meansYOURyourARGUMENTargument wasrejected, not the site — the error text names what that function actually takes, so re-read it in `get_library`,wrong: fixthe argumentit andrun again; that recovers the whole answer. For any other failure re-running usually returns the same thing. • When a fan-out capability (shipping, flights, hotels, cars, etc.) fails on EVERY provider, `incomplete.failures[].dropped` carries the per-provider breakdown as an array of `{ provider, fn, reason, detail }` — branch on that instead of parsing the prose in `.error`.rerun. • `needs_user`means: a site needstheyourUSERuser signedin —in.itIt isNOTnot a failureand NOT something you can fix by editing the script. `needs` lists:thegivesites;them `meta.handoff.url`is a single-use link that expires (`meta.handoff.expiresAt`). Give the user that URL, say which sitesit covers, andWAIT.wait. When theytell you they'reare done, send the SAME scriptagainunchanged.Do NOT retry before then — it will stop at the same place and cost another run. Do NOT try to log in yourself, ask them for a password, or work around it with a different site. When the site already had a saved login that stopped working, the link signs back in to THAT login and its `id` stays the same — `list_connections` shows what this account already holds, and is worth checking before a signed-in task so you reuse a login rather than asking for a new one.•Logged-in runs need a Bowmark API key on the connection; if you get `needs_user` saying so, tell the user to add one rather than retrying. ONE EXIT IP FOR THE WHOLE SCRIPT: `await bowmark.egress.pin({ ttlMinutes: 120 })` before your first call, and every call the script makes afterwards leaves from ONE address. Reach for it when a site binds a cart, a token or a sign-in to the address that made the request, and the symptom is being logged out or asked to start over between steps. It is not a dedicated IP: the exit is a shared residential peer, `shared: true` says so, and the vendor can still replace it without telling us. **Pin FIRST** — a site you already called keeps the address it used, and the result says `pinnedAfterCalls: true` when you left it too late. Up to 7 days; anything longer comes back clamped, and the `ttlMinutes` you get back is the one that was granted. A DEDICATED IP, IF `pin` ISN'T ENOUGH: `pin` is free and shared — a stranger's device, gone in at most 7 days. `bowmark.egress.lease` is the other product`error`:a static IP nobody else is ever served, ordered for a real term and charged to the account, for a site whose session dies even on a pinned exit. Reach `bowmark.egress.quote({ country })` first — it returns your own price for that country's real availability, read live; never assume a term or a number. `lease({ country, idempotencyKey })` places the order (`idempotencyKey` is yours to choose, so a retried call cannot buy two); it is STATIC ISP ONLY today, real money, andthere is norefund — confirm with yourresult;user`error`beforesayscallingwhy. Savingitfiles,the way you would before any other purchase. `list()` and `get(id)` read what the account already holds; `use(id)` routes this run's later calls throughonespecific lease; `release(id)` stops auto-renewal (theexit IPkeeps working for its already-paid term,then goes away for good). SAVED SECRETS: `savedSecrets` lists every secret the run stored in the user's Bowmark account, each as `{ name, type, viewUrl }`. An API key a key-making function returns issavedthere automatically as `<vendor>_api_key`secrets,and later runs that call that vendor use it with nothing to configure. When `savedSecrets` is present`warnings`,tell the user what was saved and give them each `viewUrl``emptyHanded`,where they can view or manage it. `trace` is the execution trace — every capability you calledand theproviders it fanned out to underbilledthe`browser_agent`/`delegate`hoodfallbacks:`[`get_library({kind:'capability', capabilityquery:'flights',method:'search',"runmsguide" }, { kind:'provider', capability:'fli)`.
⟨903 unchanged words⟩ or work around it with a different site. When the site already had a saved login that stopped working, the link signs back in to THAT login and its `id` stays the same — `list_connections` shows what this account already holds, and is worth checking before a signed-in task so you reuse a login rather than asking for a new one. • Logged-in runs need a Bowmark API key ⟨422 unchanged words⟩ , ms }, { kind:'provider', capability:'flights', provider:'google_flights', fn:'search', results, status, ms }, …]`. The script never visits websites — it calls capabilities that route to providers, and the trace is the receipt. COMPOSITION MEANS PARALLEL, NOT SEQUENTIAL, AND THAT GOES FOR PROVIDER CALLS TOO — an `await` inside'fli
{"destructiveHint":truefalse,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":falsetrue}
⟨93 unchanged words⟩ do, at https://bowmark.ai/dashboard/connections — `delete_connection` onlyforgetsasks the user to delete one this account already holds.
⟨78 unchanged words⟩ site. `delete_connection` is the other action: itforgetshands the user a link to forget the entry entirely,andwhich leaves the site session alive.
before
—after
{"additionalProperties":false,"properties":{"runId":{"description":"Only to collect a run an earlier call answered `status: \"running\"` for: pass its `runId` and no `script`, and this call waits for that same run's result.","format":"uuid","type":"string"},"script":{"description":"The JavaScript script body to execute (async, against the `bowmark` global). e.g. `const { flights, warnings } = await bowmark.flights.search({from:'SFO',to:'JFK',depart:'2026-09-01'}); return { best: flights.sort((a,b)=>a.price-b.price)[0], warnings };`","type":"string"}},"type":"object"}before
—after
{"additionalProperties":false,"properties":{"emptyHanded":{},"error":{"type":["string","null"]},"incomplete":{},"logs":{"items":{"type":"string"},"type":"array"},"meta":{},"ms":{"type":"number"},"needs":{"items":{},"type":"array"},"notice":{},"ok":{"type":"boolean"},"result":{},"runId":{"format":"uuid","type":"string"},"savedFiles":{"items":{"additionalProperties":false,"properties":{"bytes":{"type":"number"},"contentType":{"type":"string"},"expiresAt":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"}},"required":["id","name","contentType","bytes","url","expiresAt"],"type":"object"},"type":"array"},"savedSecrets":{"items":{"additionalProperties":false,"properties":{"name":{"type":"string"},"type":{"type":"string"},"viewUrl":{"type":"string"}},"required":["name","type","viewUrl"],"type":"object"},"type":"array"},"secretNeeds":{"items":{"additionalProperties":false,"properties":{"expiredAt":{"type":"string"},"reason":{"enum":["expired","pending","unavailable"],"type":"string"},"secret":{"type":"string"}},"required":["secret","reason"],"type":"object"},"type":"array"},"status":{"enum":["ok","error","partial","needs_user","running"],"type":"string"}},"required":["ok"],"type":"object"}before
—after
{"destructiveHint":true,"idempotentHint":false,"openWorldHint":true,"readOnlyHint":false}