Rename Chat
rename_chatRename one of the user's chats. The new name shows everywhere the chat appears: the app.ugcagent.app sidebar, list_chats and the API. Identify the chat with chat_id (from list_chats) or with the list_id that run_ugc_agent returned. Only rename when the user asks for it. Whitespace is collapsed and names are capped at 80 characters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | No | Optional Firebase uid. Must match the URL uid unless local fallback is enabled. | |
| title | Yes | The new chat name. Must not be blank. | |
| chat_id | No | The chat_id from list_chats. | |
| list_id | No | The list_id returned by run_ugc_agent, to rename the chat that search created. | |
| bearer_token | No | Optional Firebase ID token. Hosted clients normally authenticate with an API key in the Authorization header or ?uid= in the URL instead. |