save_secret
Saves an API key or token shown on a page into the extension's encrypted store under a name, so it can be typed later. Use it when a site shows a key only once.
Instructions
Saves an API key or token that is shown on a page into the Open Sesame, under a name, so it can be typed elsewhere later with type_secret. The key goes straight from the page into the extension's encrypted store; this tool returns only its name, length and a short hint, never the key. Use it when a site shows a key once. If the page shows several keys, say which with "near" (the label next to it) or a selector. Use this only for a step you would otherwise hand back to the user. Nothing happens without the user's approval. If the result has status "needs_confirmation", nothing has been done yet: call the confirm tool with the values from its "confirm" object, unchanged.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "save_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Start of the tab address, used when no tabId is given. With neither, the active tab is used. | |
| name | Yes | Name to save it under, such as OPENAI_API_KEY. Letters, digits, "_", "-", ".". | |
| near | No | Text of the label next to the key, such as "Secret key". | |
| tabId | No | Chrome tab id of the tab you are working in. | |
| selector | No | CSS selector of the element showing the key. |