Intent reference

Built. status reports whether the vault on this device is set up and unlocked, and, inside an agent session, which client this is and how many grants it holds.

Built Answered by the daemon in every state, including locked and outside a session (evaluate allows it first).

At a glance

MCP toolstatus ("BotPassword status")
CLIbpw agent status
Default frictionNone. It is the one intent allowed outside an agent session and while the vault is locked.
DeliveryNo value is involved.
MCP hintsreadOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false

Parameters

status takes no arguments. Send {}.

Example

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

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "status",
    "arguments": {}
  }
}

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

{
  "structuredContent": {
    "outcome": "success",
    "configured": true,
    "unlocked": true,
    "client": "unenrolled (agent \"claude-code\", self-asserted; ...); session S-EXAMPLE in /work/example-app",
    "active_grants": 2
  },
  "isError": false
}

Outside a session only configured and unlocked come back, so status cannot be used to probe grants.

From the command line

bpw agent status

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.
configuredbooleanWhether BotPassword is set up on this device.
unlockedbooleanWhether the vault is unlocked.
clientstringInside a session: the client, the self-asserted agent name (unverified), the session and its project.
active_grantsintegerInside a session: how many live grants this client holds.

Outcomes it can return

  • success: The request ran.
  • 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

  • The agent name in client is self-asserted by the harness (bpw mcp --agent) and shown as unverified. The daemon grants nothing because of it.
  • Locked or outside a session, status reports the lock state only.

Tool description

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

Reports whether the BotPassword vault on this device is unlocked and, inside an agent session, how this client is identified and how many grants it holds. This tool never accepts or returns secret values. The result is a typed outcome such as success, vault_locked or scope_denied.