Remove Stored Credentials
remove_stored_credentialsDelete a stored credential block from a local or global .env file. Preview the removal first, then confirm with execute=true for safe deletion.
Instructions
Preview and remove one stored credential block from a local/global .env file. Preview-first: the default call projects the removal and returns a plan_handle; call again with execute=true and that handle to delete.
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": {
"storage_scope": "<storage_scope>",
"target": "<target>"
},
"name": "remove_stored_credentials"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Stored target from list_stored_credentials, e.g. primary or connection_1. | |
| execute | No | Persist the reviewed removal (default false = preview only, writes nothing). | |
| plan_handle | No | Plan handle returned by the reviewed preview. Required for execute=true. | |
| storage_scope | Yes | Which .env file to modify. |