View Secret
view_secretDecrypt and retrieve secrets from Vaulted links with view limits, delivering them via browser, clipboard, file, or direct output before the link self-destructs.
Instructions
Retrieve and decrypt a secret from a Vaulted secure link. The secret may have view limits and will be destroyed after the maximum views are reached. By default opens in the browser for security — use output_mode to copy to clipboard, save to file, or return directly.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "view_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Full Vaulted URL (e.g., https://vaulted.fyi/s/abc123#key). Preferred over separate ID + key. | |
| file_path | No | File path for file output mode (required when output_mode is "file"). | |
| secret_id | No | Secret ID (alternative to URL). Must be paired with encryption_key. | |
| passphrase | No | Passphrase to decrypt a passphrase-protected secret | |
| output_mode | No | How to deliver the secret. browser (default): opens the link in your browser — decryption happens in the web app. direct: returns decrypted content in the tool response. clipboard: copies decrypted content to the system clipboard (content omitted from response). file: writes decrypted content to file_path (content omitted from response). | |
| ttl_seconds | No | Optional TTL in seconds — if set, the file is auto-deleted after this duration. Maximum 2147483 seconds (~24.8 days, the Node.js setTimeout limit). Best-effort: if the MCP server process exits before the timer fires, the file will not be deleted. | |
| encryption_key | No | Encryption key (alternative to URL). Must be paired with secret_id. |