Web Session Delete
web_session_deleteDeletes a SAVED web-automation login profile: closes its window if open, erases its cookies and site data from this Mac, and removes it from web_session_list. Use it to clean up a profile that is no longer needed — web_session_close only closes the window and leaves the login (and its cookies) on disk. IRREVERSIBLE: the next web_login for that name starts from a signed-out browser. Requires confirm=true; without it you get a preview. Verify with web_session_list, which must no longer list the name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to actually delete. Without it, returns a preview and deletes nothing. | |
| session | No | Name of the profile to delete, as web_session_list reports it. Defaults to 'default'. | |
| remember | No | With confirm: true, also stop asking for this kind of action from now on. Only when the person said so ("don't ask again"). The person can revoke it in LMCP or with set_always_allowed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | True only when BOTH halves are done: data erased and name removed from the list | |
| note | No | Present when store_removed is false: what was erased and what was kept | |
| closed | No | Whether a live window had to be closed first | |
| deleted | No | The profile name that was deleted | |
| data_removed | No | Whether the cookies and site data were erased | |
| store_removed | No | False when the data was erased but WebKit kept the profile's empty container (still open in Local MCP's browser process); nothing is left to retry | |
| name_forgotten | No | Whether the name was removed from web_session_list |