Skip to Content

Esta página todavía no está traducida, así que la ves en inglés.

ReferenciaCommandsMCP servers and outside services

turno identity

Who acts on outside services: service accounts (linear:work) and browser identities (browser:school)

Ver el código fuente
turno identity --help
Usage:
  turno identity list [--json]  service accounts, browser identities and folder
                                preferences
  turno identity add <service:label> --profile <p> --tools <pattern>[,...]
      [--read-tools <pattern>[,...]] [--confirm always|writes|never] |
      browser:<id> [--timezone <zone>] [--languages <tag,...>] [--health-url
      <url> --health-text <text>] [--dry-run]
                                add a service account, or create a browser
                                identity (browser:<id>)
  turno identity show browser:<id> [--json]
                                a browser identity's settings, session health
                                and who holds it
  turno identity set browser:<id> [--timezone <zone>] [--locale <tag>]
      [--languages <tag,...>] [--region <CC>] [--health-url <url>]
      [--health-text <text>] [--health-selector <css>] [--health off]
      [--no-health] [--tabs-max <n>] [--tabs-popups close|keep] [--tabs-park
      <duration>] [--tabs-close <duration>] [--no-tabs] [--background-throttling
      true|false] [--settle <duration>] [--resources normal|low|auto]
      [--block-trackers true|false] [--block-types image,media,font]
      [--block-patterns <host|glob>,...] [--no-block] [--cache]
      [--cache-max-size <size>] [--no-cache] [--humanize
      auto|off|light|full|adaptive] [--cursor auto|on|off] [--notify true|false]
      [--last-click true|false] [--sharing session|tabs] [--tab-lock-wait
      <duration>] [--tab-lock-release <duration>] [--engine chrome|lightpanda]
      [--attach auto|<dir>|<url>] [--record-flows true|false] [--record-traces
      true|false] [--record-screenshots true|false] [--record-max-size <size>]
      [--no-record] [--act] [--act-sampling true|false] [--act-provider
      chat-completions] [--act-endpoint <url>] [--act-model <name>] [--act-key
      keychain:<item>] [--act-max-steps <n>] [--act-max-tokens <n>]
      [--act-timeout <duration>] [--no-act] [--captcha-provider task-api]
      [--captcha-endpoint <url>] [--captcha-key keychain:<item>]
      [--captcha-timeout <duration>] [--no-captcha] [--live true|false|auto]
      [--live-wait <duration>] [--no-live] [--user-agent coherent|auto|off]
      [--proxy-server <url>|off] [--proxy-username <name|keychain:item>]
      [--proxy-password keychain:<item>] [--no-proxy] [--policy-file <file>]
      [--allowed-domains <host,...>] [--disable <feature,...>] [--auto-submit
      true|false] [--no-policy] [--browser
      chrome|edge|brave|chromium|chrome-for-testing|<path>] [--force]
      [--dry-run] [--json]
                                change a browser identity's identity.json:
                                place, languages, health check, tabs, blocking,
                                cache
  turno identity remove <id> [--dry-run] | browser:<id> [--yes] [--dry-run]
      [--json]
                                remove a service account, or delete a browser
                                identity and everything it left (asks first)
  turno identity login browser:<id> [--url <url>]
                                open a browser identity's Chrome to sign in by
                                hand once
  turno identity prefer <dir> <service>=<account> [--dry-run]
                                pick the account of a service for a folder
                                (empty account removes it)
  turno identity log [-n N] [--verify] [--json]
                                recent calls to the accounts bridge; --verify
                                checks the log's hash chain

Examples:
  $ turno identity list
  $ turno identity add linear:work --profile work --tools 'mcp__linear__*'
  $ turno identity add browser:school
  $ turno identity login browser:school
  $ turno identity show browser:school
  $ turno identity set browser:school --timezone Europe/Madrid --languages es-ES,es,en
  $ turno identity set browser:school --tabs-max 5 --tabs-park 10m --background-throttling true
  $ turno identity set browser:school --block-trackers true --block-types image,font --cache-max-size 200MB
  $ turno identity set browser:school --settle 500ms --dry-run --json
  $ turno identity set browser:school --humanize adaptive
  $ turno identity set browser:school --no-block --no-cache
  $ turno identity set browser:school --sharing tabs
  $ turno identity prefer ~/code/acme linear=linear:work
  $ turno identity remove linear:work --dry-run
  $ turno identity log --verify

Subcommands

turno identity list

Usage:
  turno identity list [--json]  service accounts, browser identities and folder
                                preferences

Examples:
  $ turno identity list

turno identity add

Usage:
  turno identity add <service:label> --profile <p> --tools <pattern>[,...]
      [--read-tools <pattern>[,...]] [--confirm always|writes|never] |
      browser:<id> [--timezone <zone>] [--languages <tag,...>] [--health-url
      <url> --health-text <text>] [--dry-run]
    add a service account, or create a browser identity (browser:<id>)

Examples:
  $ turno identity add linear:work --profile work --tools 'mcp__linear__*'
  $ turno identity add browser:school

turno identity show

Usage:
  turno identity show browser:<id> [--json]
    a browser identity's settings, session health and who holds it

Examples:
  $ turno identity show browser:school

turno identity set

Usage:
  turno identity set browser:<id> [--timezone <zone>] [--locale <tag>]
      [--languages <tag,...>] [--region <CC>] [--health-url <url>]
      [--health-text <text>] [--health-selector <css>] [--health off]
      [--no-health] [--tabs-max <n>] [--tabs-popups close|keep] [--tabs-park
      <duration>] [--tabs-close <duration>] [--no-tabs] [--background-throttling
      true|false] [--settle <duration>] [--resources normal|low|auto]
      [--block-trackers true|false] [--block-types image,media,font]
      [--block-patterns <host|glob>,...] [--no-block] [--cache]
      [--cache-max-size <size>] [--no-cache] [--humanize
      auto|off|light|full|adaptive] [--cursor auto|on|off] [--notify true|false]
      [--last-click true|false] [--sharing session|tabs] [--tab-lock-wait
      <duration>] [--tab-lock-release <duration>] [--engine chrome|lightpanda]
      [--attach auto|<dir>|<url>] [--record-flows true|false] [--record-traces
      true|false] [--record-screenshots true|false] [--record-max-size <size>]
      [--no-record] [--act] [--act-sampling true|false] [--act-provider
      chat-completions] [--act-endpoint <url>] [--act-model <name>] [--act-key
      keychain:<item>] [--act-max-steps <n>] [--act-max-tokens <n>]
      [--act-timeout <duration>] [--no-act] [--captcha-provider task-api]
      [--captcha-endpoint <url>] [--captcha-key keychain:<item>]
      [--captcha-timeout <duration>] [--no-captcha] [--live true|false|auto]
      [--live-wait <duration>] [--no-live] [--user-agent coherent|auto|off]
      [--proxy-server <url>|off] [--proxy-username <name|keychain:item>]
      [--proxy-password keychain:<item>] [--no-proxy] [--policy-file <file>]
      [--allowed-domains <host,...>] [--disable <feature,...>] [--auto-submit
      true|false] [--no-policy] [--browser
      chrome|edge|brave|chromium|chrome-for-testing|<path>] [--force]
      [--dry-run] [--json]
    change a browser identity's identity.json: place, languages, health check,
    tabs, blocking, cache

Each flag writes one key of identity.json; an empty value (--settle "") removes it, and
--no-health, --no-tabs, --no-block and --no-cache remove a whole group. A flag of a group
changes only its part: the rest of that group stays. A key that is not in identity.json takes
its default at every launch (turno browser show <id> lists each value and where it comes from);
off pins a key off for good: --health off, --locale off, --user-agent off.

How the host runs this identity's Chrome (read at every Chrome start):
  --resources normal|low|auto     low: the preset for a machine short of memory (at most 2
                                  tabs, idle tabs parked after 2m, Chrome closed after 5m
                                  without a call, a note in tool results when memory runs
                                  low); the flags below still win over it. auto (default):
                                  low while the system reports memory pressure at launch
  --tabs-max <n>                  most tabs open at once, 0 for no cap (default 8)
  --tabs-popups close|keep        close popups the agent did not open (default close)
  --tabs-park <duration>          park an unused tab on about:blank, "0" never (default 5m)
  --tabs-close <duration>         close an unused tab, "0" never (default 15m)
  --background-throttling <bool>  let Chrome slow tabs that are not in front (default: true
                                  in a headless Chrome without the live view, else false)
  --settle <duration>             wait after each action for the work it started, "0" to "10s"
  --block-trackers <bool>         block a built-in list of ad and analytics hosts
  --block-types <list>            block image, media and font requests (never the page itself)
  --block-patterns <list>         block host names (and subdomains) or URL globs with *
  --cache                         keep images, fonts, styles and scripts on disk (100MB)
  --cache-max-size <size>         the cache's size, "1MB" to "10GB"; turns the cache on
  --sharing session|tabs          "tabs" (default): every agent session at once, each in its
                                  own locked tabs; mcp.toml then needs exclusive = false for the
                                  identity's server. "session": one at a time (the default with
                                  --attach)
  --tab-lock-wait <duration>      with tabs: how long a call waits for a tab another session
                                  holds, "0" (fail at once) to "10m" (default 10s)
  --tab-lock-release <duration>   with tabs: a session without calls lets go of its tabs after
                                  this, "0" (free between calls) to "24h" (default 5m)

Blocking without the cache turns Chrome's own HTTP cache off: use them together.

Input:
  --humanize <level>              auto (default): off on localhost and for read-only steps,
                                  light for other actions, full on sign-in, payment and support
                                  pages and on a site after a challenge page there; off, light
                                  (the pointer travels a curve to a point inside the target,
                                  keys typed with human delays), full (plus overshoot, reading
                                  pauses, wheel scrolling) or adaptive (light, full after a
                                  challenge page)
  --cursor auto|on|off            the agent cursor. auto (default): when the browser can be seen
                                  (a window, or the live view), Chrome itself highlights what the
                                  agent acts on and shows its clicks; nothing goes into the page.
                                  on: an arrow with the agent's name that glides to what it acts
                                  on, a ring, click ripples and a frame with a badge, drawn as an
                                  element in each page that a page script can see. off: neither
  --notify true|false             the system's notifications when the agent waits for you (a
                                  person step, a passkey, a captcha) or is done after a long
                                  run. true (default); TURNO_BROWSER_NOTIFY=off also turns them off
  --last-click true|false         true (default): a click that buys, sends, publishes or deletes
                                  is yours: the agent fills in the rest and asks you with
                                  browser_request_human. false lets the agent click it

Which engine runs this identity (all off by default):
  --engine lightpanda             read mode: Lightpanda instead of Chrome, for reading pages;
                                  needs lightpanda on PATH (turno browser doctor says how)
  --engine camoufox               Camoufox (a Firefox build) with its own profile; needs
                                  Camoufox and playwright-core (turno browser doctor says how); no
                                  captcha solving, and no picture in the live view
  --attach auto|<dir>|<url>       use the Chrome you have open instead of the identity's own:
                                  "auto" is your default Chrome profile, after you turn on
                                  chrome://inspect/#remote-debugging; Chrome asks you to allow
                                  each connection, and the agent then sees all its windows

What turno-browser records for this identity (turno browser record):
  --record-flows <bool>           keep every session's actions as a flow (auto-<time>, newest
                                  20; on by default)
  --record-traces <bool>          a Playwright trace of each browser session (turno browser traces);
                                  by default only the traces with a failed step are kept
  --record-screenshots <bool>     a screenshot after each action (on by default, never of a
                                  page that shows a vault value; not with attach or Lightpanda)
  --record-max-size <size>        cap of the traces and screenshots, "10MB" to "10GB" (default 200MB)
Vault sign-ins and passwords never reach a flow, a trace or a screenshot.

On when something answers them, for your own accounts only (they send page content to a
third party, and many sites' terms forbid them; the server lists their tools from its next start).
Without a provider, natural language actions (browser_act, browser_extract, browser_observe) use
your client's model (MCP sampling), else OPENAI_API_KEY or ANTHROPIC_API_KEY from the environment,
else the Claude Code CLI or Codex on the PATH; captcha solving needs a solver key, here or in
TURNO_BROWSER_CAPTCHA_ENDPOINT with TURNO_BROWSER_CAPTCHA_KEY, and otherwise goes to the person:
  --act                           natural language actions in that order (the same as no group)
  --act-provider chat-completions a model API to use when the client has no sampling, with
  --act-endpoint <url>            its base URL (https, or http on this machine),
  --act-model <name>              the model name it expects and
  --act-key keychain:<item>       its key in the secret store (turno secret set <item>)
  --act-sampling <bool>           false: never ask the client, always use the provider
  --act-max-steps <n>             most actions per call, 1 to 30 (default 10)
  --act-max-tokens <n>            most model tokens per call (default 50000)
  --act-timeout <duration>        longest call, "10s" to "10m" (default 2m)
  --captcha-provider task-api     solve captcha widgets (browser_solve_captcha) through a solver
  --captcha-endpoint <url>        service that speaks the createTask protocol, at this URL,
  --captcha-key keychain:<item>   with its account key in the secret store
  --captcha-timeout <duration>    longest wait for a solution (default 3m)
  --no-act, --no-captcha          remove the group: back to the order above

The live view and take-over (turno browser live, pause, resume):
  --live <bool>                   serve a view of the agent's tab on 127.0.0.1 and let you pause
                                  the agent to take the controls (from the next server start);
                                  on by default, and the view opens only with turno browser live <id>
  --live-wait <duration>          how long a paused call waits for you, "5s" to "30m" (default 2m)

Network and user agent (for your own accounts and sites you may automate):
  --user-agent coherent|auto|off  coherent: the installed Chrome's own user agent and client
                                  hints, with this identity's languages and time zone, checked
                                  at every launch (a headless Chrome stops saying
                                  HeadlessChrome). auto (default): coherent in a headless Chrome
                                  only, dropped when the check fails. off: Chrome's own. turno
                                  never takes a typed user agent
  --proxy-server <url>            send this identity's traffic through a proxy: http://,
                                  https://, socks4:// or socks5://host:port; its operator sees
                                  where you go, and sites see its address; off: no
                                  proxy, not even the system's
  --proxy-username <name>         the proxy user name, or keychain:<item>
  --proxy-password keychain:<item> the password, only from the secret store (turno secret set)
  --no-proxy                      remove the proxy (Chrome follows the system's)

What the identity may do (a policy; only this command writes it, no agent tool can):
  --policy-file <file>            the whole policy from a JSON file, like
                                  {"allowedDomains": ["example.com", "*.example.com"],
                                   "disabled": ["captcha"], "autoSubmit": false}
  --allowed-domains <list>        the hosts its pages may show: example.com, *.example.com
                                  (subdomains), localhost:* (any port), host:8443; every
                                  navigation of every tab is checked, a page's own scripts,
                                  images and data are not
  --disable <list>                features that do not exist for it: act, captcha, login, totp,
                                  attach, evaluate, run_code, network
  --auto-submit false             browser_login never submits, whatever vault submit says
  --no-policy                     remove the policy
Any policy turns browser_run_code_unsafe off, and allowedDomains the network tools. The server
reads the policy when it starts.

Which browser opens the profile (read at every browser start; turno browser doctor lists the installed ones):
  --browser <name|path>           chrome (the default), edge, brave, chromium, chrome-for-testing
                                  (turno browser install-browser downloads it, no admin password), or the
                                  absolute path of another Chromium-based browser. A server's own
                                  --browser or --executable-path wins over it
  --force                         switch the browser of a profile another browser already opened:
                                  the cookies carry over with the default keychain, but the new
                                  browser rewrites the profile and an older one can refuse it

Examples:
  $ turno identity set browser:school --timezone Europe/Madrid --languages es-ES,es,en
  $ turno identity set browser:school --tabs-max 5 --tabs-park 10m --background-throttling true
  $ turno identity set browser:school --block-trackers true --block-types image,font --cache-max-size 200MB
  $ turno identity set browser:school --settle 500ms --dry-run --json
  $ turno identity set browser:school --humanize adaptive
  $ turno identity set browser:school --no-block --no-cache
  $ turno identity set browser:school --sharing tabs

turno identity remove

Usage:
  turno identity remove <id> [--dry-run] | browser:<id> [--yes] [--dry-run]
      [--json]
    remove a service account, or delete a browser identity and everything it
    left (asks first)

Examples:
  $ turno identity remove linear:work --dry-run

turno identity login

Usage:
  turno identity login browser:<id> [--url <url>]
    open a browser identity's Chrome to sign in by hand once

Examples:
  $ turno identity login browser:school

turno identity prefer

Usage:
  turno identity prefer <dir> <service>=<account> [--dry-run]
    pick the account of a service for a folder (empty account removes it)

Examples:
  $ turno identity prefer ~/code/acme linear=linear:work

turno identity log

Usage:
  turno identity log [-n N] [--verify] [--json]
    recent calls to the accounts bridge; --verify checks the log's hash chain

Examples:
  $ turno identity log --verify

En esta página