Ask the owner to replace a stored credential
replace_credentialAsk the owner to type a new value for one of the selected Mac’s stored credentials (an API key or token FrontierStack keeps, such as openai, anthropic, cloudflare or stripe) on a secure FrontierStack page, for example after a key has leaked. The value goes from the owner’s browser straight to the Mac, sealed to it and confirmed with a passkey the Mac created; it never passes through the AI client or the conversation, and this tool neither accepts nor returns it. The first call returns a link for the owner (a URL elicitation where the client supports it) with a short code they can compare; a repeat call with the same arguments returns the outcome once they have finished. Requires web approvals and credential entry to be turned on for that Mac.
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": {
"service": "<service>"
},
"name": "replace_credential"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mac_id | No | Opaque id of one of this account's FrontierStack Macs. Optional only when exactly one Mac is online. | |
| reason | No | Why, in a few words, shown to the owner on the page (for example "the key was pasted into a chat"). | |
| service | Yes | The credential to replace: its FrontierStack id (for example openai, anthropic, cloudflare, stripe, github) or the service name. |