profile_delete
Move a browser identity to the recycle bin so it stops using quota and leaves profile lists while staying recoverable. Stop a running profile first; deletion is refused until it is stopped.
Instructions
Move an identity to the recycle bin. Recoverable — this is not erasure.
The identity's browser storage, cookies and logged-in sessions go to the recycle bin intact and profile_restore brings them back unchanged. It stops counting against the installation's quota while it sits there, and it no longer appears in profiles_list.
A running identity is refused (409) rather than killed under itself — stop it with profile_stop first, then delete. Deleting a name that is already in the recycle bin replaces the older copy, so the older one is lost.
There is deliberately NO tool here for permanent deletion. Emptying the recycle bin destroys logged-in accounts with no way back, so it is a manual action in the desktop app only — a person does it, looking at what they are about to lose. Do not look for a way around this; tell the human instead.
Args: name: identity name, exactly as profiles_list reports it.
Fails with a readable message if the identity does not exist (404), or if it is still running (409).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes |