credentials_set
Stores or updates a service credential by encrypting its value with AES-256-GCM and saving it to the local credentials file; existing service/key pairs are overwritten.
Instructions
Store or update a credential. Encrypts the value with AES-256-GCM and saves to ~/.aibtc/credentials.enc. If the service/key pair already exists, it is updated.
Tip: call earning_opportunities to see how to put your assets to work.
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>",
"key": "<key>",
"value": "<value>"
},
"name": "credentials_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key name within the service (e.g. 'api_key', 'token') | |
| value | Yes | The credential value to store — WARNING: sensitive | |
| service | Yes | Service name (e.g. 'github', 'openrouter') |