Delete Chat
delete_chatPermanently delete one of the user's chats: stops any search running in it, revokes its share links and removes its results, then deletes the transcript. Irreversible. The first call returns a preview and confirmation_token; call again with the token only after the user confirms in a later turn.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | No | Optional Firebase uid. Must match the URL uid unless local fallback is enabled. | |
| chat_id | No | The chat_id from list_chats. | |
| list_id | No | Or the list_id run_ugc_agent returned, for the chat that search created. | |
| bearer_token | No | Optional Firebase ID token. Hosted clients normally authenticate with an API key header or ?uid= in the URL instead. | |
| confirmation_token | No | Omit on the first call to get a preview and a token. Pass the token back unchanged only after the user confirmed the preview in a later turn. |