Delete a stored secret
vault_deletePermanently delete an item. Requires the namespace_token. Costs $0.005 in USDC on Base, paid via the x402 protocol, or from a credit token — call credits_trial for free credit if you have neither.
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": {
"namespace": "<namespace>",
"key": "<key>",
"namespace_token": "<namespace_token>"
},
"name": "vault_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Item key | |
| namespace | Yes | Isolation scope | |
| credit_token | No | Optional. A credit token from credits_trial or /credits/buy. Supplying it pays for this call from that balance, so no x402 payment or wallet is needed. | |
| namespace_token | Yes | One-time token issued by the first call that claimed this namespace. Required for every later call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The key that was removed | |
| status | Yes | 'deleted' | |
| namespace | No | Isolation scope |