compact
Summarize older conversation turns, keep recent ones verbatim, and replay them into a fresh Gemini Live session to carry context forward without starting over.
Instructions
Compact conversation history and reconnect.
Summarizes older turns, keeps recent ones verbatim, and replays into a fresh Gemini Live session so context carries over. Use instead of new_vision when you want to preserve context.
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": "compact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |