change_password
Planned, not built yet. change_password is planned, not built yet.
Planned, not built yet This build refuses every request in policy, before anything runs: the daemon sends no delivery for it, so evaluate answers scope_denied (or session_required outside a session). Nothing is filled or saved.
At a glance
Status: change_password is planned, not built yet.
| MCP tool | change_password ("Change a password") |
|---|---|
| CLI | bpw agent change_password |
| Default friction | Planned: a one-time toggle per credential, or autopilot on a personal grant. |
| Delivery | Planned: sealed in a browser profile no agent scripts, disclosing over CDP. |
Parameters
No parameter is required by the schema. Unknown arguments are refused. The descriptions are the tool's own, as bpw mcp serves them.
| Name | Type | Required? | Description |
|---|---|---|---|
site | string | optional | A site origin or host, for example https://dash.example.com. 1 to 2048 bytes. |
credential | string | optional | A credential reference (item ID), as list_credentials returns it. Not a secret value. Not empty. |
Example
Status: change_password 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": "change_password",
"arguments": {
"credential": "ITEM-EXAMPLE-02",
"site": "https://dash.example.com"
}
}
}
The result. The same JSON is also sent as text in content[0].text; isError is true for scope_denied.
{
"structuredContent": {
"outcome": "scope_denied"
},
"isError": true
}
Today every call is refused like this. Change the password yourself in the site and update the item in BotPassword.
Status: change_password is planned, not built yet.
From the command line
Status: change_password is planned, not built yet.
bpw agent change_password --credential ITEM-EXAMPLE-02 --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.
| Field | Type | Meaning |
|---|---|---|
outcome | string | The typed outcome code. Always present. |
detail | string | The request ID, rotation step, revision or reason, for the outcomes that carry one. |
intent | string | With not_implemented: the intent this build cannot carry out. |
reason | string | With rejected: why the call was refused. |
message | string | With rejected or daemon_unavailable: what was wrong. Never quotes an argument value. |
next_step | string | On 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
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 mcporbpw agentcould not reachbotpasswordd, 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: there is no way for an agent to change a password today.
Tool description
What the MCP tool tells the agent, verbatim from bpw mcp:
Changes a granted login's password on a site, saving the new one in BotPassword before submitting. This tool never accepts or returns secret values. The result is a typed outcome such as success, vault_locked or scope_denied. This build does not change passwords yet: every request is refused by BotPassword's policy (for example session_required or scope_denied), and nothing is filled or saved.
Related
Status: rotate is partly built; generate_password is planned, not built yet.
sign_in: fills a granted login's username and password into the sign-in form at a site, only in a frame whose origin, and every frame above it, is exactly the granted site.rotate(partly built): rotates a granted credential at its provider and stores the new revision: create a new key, store it as pending, verify it, promote it, then revoke the old one after a grace period.generate_password(planned, not built yet): is planned, not built yet.- Intent catalog, MCP server, Grants and approvals
Status: rotate is partly built; generate_password is planned, not built yet.