create_chat
Open a named local Gemini chat for one topic, and optionally branch from an existing conversation by copying selected turns to continue related work.
Instructions
Open a named local Gemini chat immediately. Use one chat per topic. Send new messages to its conversationId with gemini_chat. Set fromConversationId to branch. Each call creates a new ID locally, without calling the provider.
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": "create_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Searchable title, e.g. Interview edit. If omitted, the first user message supplies the title. | |
| throughTurn | No | Copy turns through this number, inclusive. Omit for all turns or use 0 for an empty branch. | |
| fromConversationId | No | Optional source conversation to copy, including an archived chat. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| title | Yes | ||
| status | Yes | ||
| createdAt | Yes | ||
| turnCount | Yes | ||
| updatedAt | Yes | ||
| forkedAtTurn | No | ||
| conversationId | Yes | ||
| lastUserPreview | Yes | ||
| parentConversationId | No |