store_credential
Encrypts and stores a secret credential such as an API key or printer password at rest, returning only metadata so the plaintext is never exposed.
Instructions
Encrypt and store a credential (API key, webhook secret, etc.).
The value is encrypted at rest using PBKDF2 + XOR stream encryption.
Only metadata is returned — the plaintext is never exposed.
Args:
credential_type: Type of credential (api_key, webhook_secret,
stripe_key, marketplace_token, printer_password).
value: The plaintext secret to store.
label: Human-readable description.
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": {
"credential_type": "<credential_type>",
"value": "<value>"
},
"name": "store_credential"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Human-readable description. Default: "". | |
| value | Yes | The plaintext secret to store. | |
| credential_type | Yes | Type of credential (api_key, webhook_secret, stripe_key, marketplace_token, printer_password). |