credential-remove
Removes a login from users.json by credential_name, with optional server_id for shared names; previews the plan unless apply=true.
Instructions
dbabrain common.cli credential-remove: One login of users.json to remove, by its credential_name; a plan unless apply.
Changes or removes something. A command on the emergency-operations list takes confirm: "yes" and a reason in its request, as on the command line.
Request fields (pass them as request):
data_dir: The data/ folder the record is removed from.
credential_name (required): The login to remove.
server_id: The server whose login it is, where several servers' groups share the name.
apply: true removes the record; absent or false answers the plan and writes nothing.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "credential-remove"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |