enclave
v0.2.13Your agent asks for a password by one-time link, not in chat, and uses it without seeing it.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
request_secret Ask for a secret
Use this whenever you need a password, API key, 2FA key or other secret from the person, instead of asking in chat. It returns a one-time link; what they type there is locked in their browser for this vault. Then call wait_for_secret.
| Parameter | Type | Description |
|---|---|---|
name * | string | What the secret is for. The person sees it as the title, like "Netflix" or "OpenAI API key" |
fields | array | What to ask for, like ["email", "password"]. Defaults to ["password"]. A field named "totp" asks for a 2FA setup key. |
wait_for_secret Wait for a secret
Wait until the person sends the secret from request_secret, then save it to the vault. It returns the moment they tap Send. After 25 minutes it returns so you can call it again, and the link stays open for 24 hours.
| Parameter | Type | Description |
|---|---|---|
name * | string | The name given to request_secret |
run_with_secrets Run a command with secrets
Run a program with saved secrets in its environment. Their values are replaced with [hidden VAR] in the output, so you can use a secret without seeing it. A "totp" field gives its current 2FA code. Example: {"command": ["sh", "-c", "curl -H \"Authorization: Bearer $KEY\" https://api.example.com/me"], "secrets": {"KEY": "Example/api key"}}
| Parameter | Type | Description |
|---|---|---|
command * | array | The program and its arguments. Use ["sh", "-c", "…"] for shell syntax, and refer to secrets as $VAR inside it. |
secrets * | object | Environment variables to set, each from "<name>/<field>", like {"STRIPE_KEY": "Stripe/key"} |
sign_in_with_passkey Sign in with a passkey
Let the browser sign in once with a saved passkey, in the next 5 minutes. Call it, then click the site's passkey sign-in: enclave's browser extension asks the vault to sign, and the passkey's key stays in the vault.
| Parameter | Type | Description |
|---|---|---|
name * | string | The saved item with the passkey |
field | string | The field holding it. Defaults to "passkey". |
list_secrets List saved secrets
List what's saved in the vault: names and their fields, not their values. Check here before asking the person for something.
| Parameter | Type | Description |
|---|---|---|
search | string | A name or website to match, like "github" |