Lockbox
v0.1.1Let your AI agent set up API keys without ever seeing them.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
secret_store Request credential storage
Creates a request to store a credential at the described destination and opens Lockbox's own authorization window on the user's machine, where the user reviews the destination and types the value. Returns a request id, the normalized destination, a risk classification and the request state — never the credential value, which no Lockbox tool accepts or returns. Does not write anything by itself: the write happens only after the user authorizes it. Use secret_status to follow the request, and secret_revise to change an already-authorized destination.
| Parameter | Type | Description |
|---|---|---|
destination * | string | Destination that will receive the credential: 'custom' with target.definition, or 'saved:<name>' for one the user saved (target then empty). |
name * | string | Logical name of the credential, e.g. STRIPE_SECRET_KEY. A label only: this field must never contain the credential value. |
target * | object | Where the credential goes. Accepted fields depend on the destination; secret_destinations returns the exact contract for each. |
description | string | Short, non-sensitive purpose shown to the user on the review screen. |
environment | string | Environment this destination is believed to belong to. Advisory only: Lockbox classifies the destination itself and applies the stricter of the two. |
write_mode | string | 'create' fails if a value already exists, 'new-version' adds a version, 'replace' overwrites. Availability depends on the destination. |
secret_status Check a credential request
Returns the current state of one credential request: its stage, destination, risk, and the outcome once it is finished. Never returns credential material. Reads only — use secret_store to create a request.
| Parameter | Type | Description |
|---|---|---|
request_id * | string | Identifier returned by secret_store or secret_revise. |
wait_seconds | integer | Block until the request reaches a terminal state or this many seconds elapse. Omit or use 0 to return immediately. |
secret_cancel Cancel a credential request
Cancels a pending credential request and destroys any value the user already entered. Returns the final state. Cannot cancel a request that is already writing to its destination, and cannot undo a completed write.
| Parameter | Type | Description |
|---|---|---|
request_id * | string | Identifier of the request to cancel. |
reason | string | Short, non-sensitive note recorded in the audit log. |
secret_revise Replace a credential request
Cancels a pending request and creates a replacement with different details. The original authorization is invalidated and the user authorizes the new operation from scratch; an authorized operation is never edited in place. Returns the new request id. Use secret_cancel when no replacement is wanted.
| Parameter | Type | Description |
|---|---|---|
destination * | string | Destination that will receive the credential: 'custom' with target.definition, or 'saved:<name>' for one the user saved (target then empty). |
name * | string | Logical name of the credential, e.g. STRIPE_SECRET_KEY. A label only: this field must never contain the credential value. |
request_id * | string | Identifier of the request being replaced. |
target * | object | Where the credential goes. Accepted fields depend on the destination; secret_destinations returns the exact contract for each. |
description | string | Short, non-sensitive purpose shown to the user on the review screen. |
environment | string | Environment this destination is believed to belong to. Advisory only: Lockbox classifies the destination itself and applies the stricter of the two. |
write_mode | string | 'create' fails if a value already exists, 'new-version' adds a version, 'replace' overwrites. Availability depends on the destination. |
secret_destinations List credential destinations
Lists the destinations this Lockbox instance can write to, with the target fields and write modes each one accepts. Reads only; creates no request.