Intent reference

Planned, not built yet. capture_secret is planned, not built yet.

Planned, not built yet The daemon checks the request against policy and then answers not_implemented; nothing is read or stored.

At a glance

Status: capture_secret is planned, not built yet.

MCP toolcapture_secret ("Capture a new secret")
CLIbpw agent capture_secret
Default frictionPlanned: a grant, because it makes BotPassword read a page or run a command.
DeliveryWrite-only: it will add a new item and return only its reference.

Parameters

No parameter is required by the schema. Unknown arguments are refused. The descriptions are the tool's own, as bpw mcp serves them.

NameTypeRequired?Description
sitestringoptionalA site origin or host, for example https://dash.example.com. 1 to 2048 bytes.

Example

Status: capture_secret is planned, not built yet.

A tools/call request, with placeholder references (use the id that list_credentials returns):

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "capture_secret",
    "arguments": {
      "site": "https://dash.example.com"
    }
  }
}

The result. The same JSON is also sent as text in content[0].text; isError is true for not_implemented.

{
  "structuredContent": {
    "outcome": "not_implemented",
    "intent": "capture_secret"
  },
  "isError": true
}

Status: capture_secret is planned, not built yet.

From the command line

Status: capture_secret is planned, not built yet.

bpw agent capture_secret --site https://dash.example.com

bpw agent <intent> sends the same request as the MCP tool, through the same policy. Every intent except status needs a live agent session, or the answer is session_required. Run the harness with bpw agent run -- <harness>. On macOS and Linux, an enrolled harness started normally can also be approved in the desktop app or with bpw session approve.

Result fields

Every result is one JSON object. Only outcome is always present.

FieldTypeMeaning
outcomestringThe typed outcome code. Always present.
detailstringThe request ID, rotation step, revision or reason, for the outcomes that carry one.
intentstringWith not_implemented: the intent this build cannot carry out.
reasonstringWith rejected: why the call was refused.
messagestringWith rejected or daemon_unavailable: what was wrong. Never quotes an argument value.
next_stepstringOn a result that is not a plain success: one sentence on what to do now. Fixed text chosen by the outcome code; it never asks for a password or secret and never says to get around a refusal.

Outcomes it can return

  • not_implemented: Policy allowed the request, and this build has no way to carry it out.
  • scope_denied: The most common refusal.
  • session_required: The call did not come from inside a live agent session: none was presented, it expired, or it is malformed.
  • vault_locked: BotPassword on this device is locked, so no credential can be used.
  • rejected: The request was malformed before policy saw it.
  • daemon_unavailable: bpw mcp or bpw agent could not reach botpasswordd, the desktop daemon that holds the keys.

See the outcome reference for what each one means and what to do next.

Limits

  • Not built yet. Today, if the agent already holds a new key, store_secret saves it as a new item.

Tool description

What the MCP tool tells the agent, verbatim from bpw mcp:

Reads a newly issued secret from a page or command output straight into a new item. This tool never accepts or returns secret values. The result is a typed outcome such as success, vault_locked or scope_denied. This build checks the request against BotPassword's policy and then returns not_implemented; it performs no action yet.

Status: generate_password is planned, not built yet.