writ_browser_use
Open a browser
A REAL CLOUD BROWSER FOR A TASK ON A SITE: the user's signed-in account (a persona_id from writ_personas: the password stays sealed in Writ, and sessions never ask for a password), a click, form, submit or search inside an app, or a page a plain fetch cannot open (login wall, 403, CAPTCHA). Opens the browser and returns the first page; writ_browser_act drives it (Writ runs no model here). Recording is always on: writ_browser_save turns the session into a workflow that replays without a browser, writ_browser_cancel closes it (an open browser bills). The start answer carries the action vocabulary, the recording rules and, with a persona, the 2FA rules. NOT FOR: reading pages (writ_scrape). An API: writ_website_to_api opens this same browser, bound to a build.
輸入參數url必填goalauth_modefresh_exitpersona_iduse_residentialexecution_targetresidential_country
writ_record_website
Record a website task
Records a repeatable task on a site as a workflow (goal + start url): the same session as writ_browser_use, labelled with its goal, driven with writ_browser_act and saved with writ_browser_save. A goal that asks for an API opens as a writ_website_to_api build instead: the same browser, bound to the build.
輸入參數url必填goal必填deviceauth_modefresh_exitpersona_idskip_existinguse_residentialskip_marketplaceresidential_country
writ_website_to_api
Turn a website into an API
TURNS A WEBSITE INTO A CALLABLE API (named functions with inputs, returning JSON), built by the caller in a real browser. url = the page that already shows the rows (search results or a listing, not the home page); goal = the inputs and fields wanted. The call first proposes the user's matching saved workflows and marketplace APIs (skip_existing / skip_marketplace build fresh), then opens a cloud browser bound to the build: capture_network records the site's own calls, writ_browser_network reads them, api_call probes them; a failed probe is evidence, not the end. Functions: HTTP flows first (writ_browser_compose define_function `flow`; writ_help('http_flows')), single requests (from_index) mixed in, DOM extraction last. writ_browser_save, then run_example on two inputs. mode=intelligent: Writ builds it alone (+ writ_discovery_status wait=true), on request.
輸入參數urlgoalmodelevelscopedevicesave_asbuild_idanonymouspersona_idai_superviseskip_existing另有 5 個
writ_discovery_status
Check an API build
Status of a writ_website_to_api build. wait=true is one held call (up to 75 s) that follows the build to its newest rung and returns when it is done or parked. Answers: succeeded (workflow_id, functions, run_example), failed, cancelled, or needs_guidance (the build is the caller's to finish with writ_website_to_api mode=guided build_id=<id>; its map comes with it).
輸入參數waitbuild_id必填timeout_seconds
writ_browser_act
Act in a browser session
Runs one batch of actions on an open session and returns the fresh page. Each action is an object, e.g. {"action":"click","selector":"#go"}. DRIVE: navigate, click, fill, type_text, select, check, hover, submit, press_key, scroll, back, wait, wait_for. SEE: query_dom, find_text, read_text, count, get_attributes, inspect, list_candidates, get_dom, get_screenshot. NETWORK: capture_network, get_request, rotate_exit. CODE: evaluate_js, search_scripts, read_script. RECORD: extract {variable,script}, api_call, login_post, probe_write, confirm_write. 2FA: twofa {challenge_method}. A value written {{name}} with its real value in `inputs` becomes a workflow input. Each action's arguments: the session's start answer, or writ_help('writ_browser_act').
輸入參數inputsactions必填max_charssession_id必填
writ_browser_context
Read a browser session
Re-reads an open session: section=page (url, fields, buttons, cleaned DOM), lists (the page's repeating rows with a live-tested define_function payload for writ_browser_compose), map (the evidence of the build the session is bound to).
輸入參數offsetsectionmax_charssession_id必填
writ_browser_network
Read a session's network calls
Searches (operation=search, query, method) or reads in full (operation=detail, index) the backend requests the page made after capture_network: the site's real API. writ_browser_act api_call probes one with other values (a `flow`: several requests); an index feeds writ_browser_compose define_function from_index.
輸入參數indexquerymethodoffsetmax_charsoperationsession_id必填
writ_browser_compose
Compose a workflow in a session
Authors the workflow in an open session beyond a recording: named API functions (define_function with a `flow` (preferred in an API build), from a captured call's index, or a lists payload; live-tested as defined; compile_function for an authenticated request), set_inputs, add_steps, test_function, remove_function, remove_step, list. Payload shapes: writ_help('writ_browser_compose').
輸入參數payloadoperation必填session_id必填
writ_browser_save
Save a session as a workflow
Saves the open session as a replayable workflow and closes the browser, in the place its browser ran: the user's desktop library or Writ Cloud. Composed functions become callable API functions, declared inputs become its parameters. The answer carries the steps, the inputs and a run_example; the workflow runs at zero AI cost through writ_run_workflow. A save that references something no run could resolve is refused with the reasons, and the browser stays open.
輸入參數namesave_tokeep_opensession_id必填descriptionallow_no_data
writ_browser_ask_user
Ask the user to step in
Hands an open session to the Writ user: kind='captcha' (they complete a security check in the live browser), 'twofa' (they supply the one-time code and Writ types it; the code never reaches this conversation), 'sign_in' (they sign in on the live page; no persona applies) or 'question' (their text answer). The call that opens the ask returns at once with user_link + tell_user to relay; later calls hold up to 60 s and answer answered, waiting_for_user (the same call again) or expired. Their answer is kept if your turn ends first.
輸入參數kindquestionsession_id必填wait_seconds
writ_browser_cancel
Close a browser session
Closes an open browser session (an open cloud browser bills until it is closed). Unsaved work that did more than visit pages is auto-saved first and the reply names it; discard=true keeps nothing.
輸入參數discardsession_id必填
writ_browser_sessions
List open browser sessions
Lists the account's open cloud browser sessions (each resumable by its session_id).
輸入參數limitinclude_closed
writ_personas
Use the user's saved sign-ins
The user's own accounts on websites (personas): how Writ signs in as them. No password passes through this tool or the conversation, and its answers never ask for one: credentials are typed only into a Writ window. action='list' domain=<site> shows the personas usable there; with none it answers persona_needed: a tell_user for the user, a create_url (a small Writ window with only the sign-in form, pre-filled for the site) and a link_id. action='wait' link_id=<id> is one held call that answers when the user saves it, with its persona_id. Also get, request (a link for another account), sign_in (refresh the session) and record_login. A persona_id works on writ_scrape, writ_crawl_site, writ_browser_use and writ_run_workflow; a desktop persona ('device:...') signs in on that desktop, from its own vault.
輸入參數whywaitforceaction必填devicedomainlink_idlogin_urlpersona_idinclude_runsexecution_target
writ_payment
Pay with a card the user approves
Pays on a site with one of the user's cards; card numbers never reach this conversation. request (site, max_amount, purpose) returns a tell_user and an open_url where the user approves; wait (grant_id or confirmation_id); checkout pauses at the order button for the user's confirmation, then Writ places the order; fill; list (card handles only). Details: writ_help('writ_payment').
輸入參數sitestepsaction必填fieldspurposesessionsummarycurrencygrant_idmax_amountautomation_idtotal_selector另有 3 個
writ_devices
Choose a linked desktop
The user's linked Writ desktops: list, use (scope this connection to one: runs, browsers, personas and monitors then target it), clear, monitors, datasets.
輸入參數actiondevice
writ_list_workflows
List saved workflows
Lists the workflows saved in the Writ account; each runs on demand without live browsing. Returns id, name, declared inputs, schedule, and whether it is pinned as its own run_<name> tool.
輸入參數search
writ_run_workflow
Run a saved workflow
Runs a saved workflow by workflow_id or name and returns its extracted data (it waits by default). Inputs go as top-level fields or under `inputs`; function_name runs one function of a multi-function API (with the sign-in it needs). max_age reuses a recent result at no cost. A write function previews with mutation_mode='dry_run'. Runs sign in as the workflow's persona or persona_id; no password is ever passed. Venue, network, files and output shape: writ_help('writ_run_workflow').
輸入參數waitfilesdeviceinputsoutputmax_ageworkflowpersona_idworkflow_idfunction_namemutation_modefunction_names另有 4 個
writ_update_workflow
Edit a saved workflow
Inspects or edits a saved workflow: an outline, one function's source, targeted function or step edits, a settings patch. copy_to keeps a linked copy on Writ Cloud or the user's desktop. Every option: writ_help('writ_update_workflow').
輸入參數pathlimitpatchdeviceoffsetcopy_tosectionstep_idverboseoperatorworkflowmax_chars另有 8 個
writ_diagnose_http_workflow
Diagnose a workflow's HTTP lane
Explains why a saved workflow's run returned nothing or failed: HTTP-lane readiness and, with task_id, the run's requests and responses.
輸入參數task_idworkflowworkflow_id
writ_pin_workflow_tool
Pin a workflow as a tool
Pins (or unpins) a saved workflow as its own run_<name> tool on this server.
輸入參數pinnedworkflowworkflow_id
writ_workflow_data
Read a workflow's collected data
Reads a saved workflow's collected data as a table: q filters, run_id picks one run, refs returns full records.
輸入參數qrefsviewlimitdeviceoutputrun_idworkflowworkflow_idpreview_chars
writ_search_data
Search collected data
Searches everything the account's workflows already collected for a term, without running anything.
輸入參數q必填limitdeviceworkflowworkflow_idpreview_chars
writ_export_data
Export collected data
Exports a workflow's full data table as CSV or JSON.
輸入參數qviewformatworkflowworkflow_id
writ_workflow_runs
List workflow runs
Run history (status, timing, errors, venue) of one workflow or all of them.
輸入參數limitdevicestatusworkflowworkflow_id
writ_set_schedule
Schedule a workflow
Schedules a saved workflow: every_minutes, or kind='daily'/'weekly' with time (HH:MM) and days. functions + inputs schedule chosen functions of a multi-function API.
輸入參數tzdayskindtimeinputsenabledfunctionworkflowfunctionsworkflow_idevery_minutes
writ_expose_workflow_api
Publish a workflow as a REST API
Publishes a saved workflow as a REST endpoint (a POST URL that waits and returns its JSON). Repeated calls reuse it.
輸入參數labelworkflowworkflow_idwait_timeouttimeout_seconds
writ_crawl_site
Crawl a site into a dataset
COLLECTS a site or a section into a queryable, change-tracked dataset (one row per page). Scope: intent (a section, in plain words), rank_cap=N (the top N items of a listing), seed_urls (known pages), or the whole site capped by page_budget. Modes: markdown (default, no AI), extract_mode='schema' (uniform records), executor='ai' + extract_prompt (per-page understanding, 5x the page rate). A bounded crawl answers with its rows; an open one returns a crawl_id for writ_crawl_status wait=true. NOT FOR: reading a few pages now (writ_scrape). Every option: writ_help('writ_crawl_site').
輸入參數url必填namewaitlimitspeeddeviceintentoutputmax_agesave_asdelay_msexecutor另有 23 個
writ_saved_crawls
List saved crawls
Lists the crawls saved for re-running, with their scope.
輸入參數limit
writ_update_saved_crawl
Edit a saved crawl
Inspects or changes a saved crawl's settings in place.
輸入參數namecrawl必填settingsdescriptiondefault_max_age_seconds
writ_run_saved_crawl
Run a saved crawl
Runs a saved crawl; max_age returns its recent data at no cost instead of re-crawling.
輸入參數waitcrawl必填limitoutputmax_agepreview_charstimeout_seconds
writ_saved_crawl_data
Read a saved crawl's data
Reads the data a saved crawl collected on its last completed run, without crawling.
輸入參數crawl必填limitoutputpreview_chars
writ_scrape
Read web pages
READ PAGES NOW, no browser session: one page (url), up to 20 pages in parallel (urls), or a listing plus its top N item pages (url + top_n). Returns clean markdown in 2-10 s, including pages a plain fetch cannot read: rendered by JavaScript (render_mode='browser'; a read that only got the page's shell says so and gives the retry), behind a bot wall or 403 (an automatic residential retry), or behind the user's sign-in (persona_id). Discussion threads keep their comments. format='html' returns the raw HTML for selectors. NOT FOR: a site-wide dataset (writ_crawl_site) or clicking and typing (writ_browser_use).
輸入參數urlurlstop_ndeviceformatpersona_idrender_modeinclude_pathspreview_charsrespect_robotsuse_residentialresidential_country
writ_crawl_status
Check a crawl
Status of a crawl by crawl_id; wait=true holds up to 75 s and returns the collected rows when it converges.
輸入參數waitlimitoutputcrawl_id必填preview_charstimeout_seconds
writ_crawl_files
List a crawl's captured files
The original files (PDFs, office documents, images, CSVs) a crawl captured, with short-lived download URLs.
輸入參數runscrawllimitcrawl_id
writ_create_automation
Create an automation
Creates an automation: on an event (a workflow or crawl completed, a monitor change, a webhook, a schedule) it runs a workflow, sends a notification templated over the event's data, and/or wakes an AI agent. Event, template and webhook options: writ_help('writ_create_automation').
輸入參數name必填whentitleblocksinputsnotifyenabledchannelspriorityscheduleai_prompttarget_id另有 13 個
writ_list_webhooks
List inbound webhook URLs
The account's inbound webhook URLs and the automations they fire.
輸入參數webhook_trigger_id
writ_create_monitor
Watch a page for changes
WATCHES a page for changes: Writ checks it on a schedule and fires change_detected when the page, a CSS selector's text, a value read by `extract`, or a visual zone changes. Returns the monitor_id that writ_wire_monitor connects to an alert, a workflow or an AI task (a price watch takes a threshold there). Without `interval` the answer is needs_input: this plan's options and a tell_user for the user, nothing created. The page is read first: a sign-in answers needs_persona, a bot check offers use_residential.
輸入參數url必填modewatchdeviceenabledextractintervalselectorzone_textpersona_idsession_idtry_anyway另有 5 個
writ_wire_monitor
Connect a monitor to an action
Connects a monitor's change_detected event to an action: action='notify' (channels and recipients the account has configured), 'workflow' (runs a saved workflow), or 'ai_task' (an AI agent opens the page and works `prompt`). A price watch takes `threshold` (+ threshold_op): the action then runs once, when a check reads a price at or below it. Buying at a price (`buy`): writ_help('writ_wire_monitor').
輸入參數buynametitleaction必填devicepromptenabledmessagechannelsworkflowentry_urlmax_steps另有 7 個
writ_help
Writ tool reference
The full reference of any Writ tool (every parameter and its rules) and the complete guide. topic = a tool name (e.g. 'writ_browser_compose', a 'run_<workflow>' tool), 'guide' for the manual (recurring digests, HTTP flow building, buying on a price, crawl and build modes), 'actions' / 'recording' / '2fa' for the browser rules, 'http_flows' / 'flow_operators' for writing an HTTP flow, or empty for the list of topics.
輸入參數topic
writ_browser_live_view
Live browser view
The live browser card's own access: the card ChatGPT and Claude show under writ_browser_use and writ_record_website calls it to read the session's state and get one-time passes for the session's screencast and its take-over channel. The user watches the page in the card and can take it over there. It is not part of a conversation's work.
輸入參數session_id必填