capture_secret
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 tool | capture_secret ("Capture a new secret") |
|---|---|
| CLI | bpw agent capture_secret |
| Default friction | Planned: a grant, because it makes BotPassword read a page or run a command. |
| Delivery | Write-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.
| Name | Type | Required? | Description |
|---|---|---|---|
site | string | optional | A 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.
| 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
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 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. Today, if the agent already holds a new key,
store_secretsaves 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.
Related
Status: generate_password is planned, not built yet.
store_secret: saves a value the agent already holds, such as a key a provider just showed it, as a new BotPassword item marked agent-supplied, and returns only the new item's reference.generate_password(planned, not built yet): is planned, not built yet.- Intent catalog, MCP server, Grants and approvals