continue_interaction
Extend a previous agent interaction by adding new prompts, images, or function results to the same environment.
Instructions
Continue an existing interaction turn with new prompt, images, or function results.
Args: previous_interaction_id: ID of the interaction turn to continue. environment_id: Sandbox environment ID returned from previous turn. prompt: Optional follow-up prompt text. images: Optional follow-up base64 images. function_results: Optional list of function_result dicts: [{"name": "...", "call_id": "...", "result": {...}}]. agent: Agent identifier. system_instruction: Optional behavior/persona override for this turn.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"previous_interaction_id": "<previous_interaction_id>",
"environment_id": "<environment_id>"
},
"name": "continue_interaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | antigravity-preview-05-2026 | |
| images | No | ||
| prompt | No | ||
| environment_id | Yes | ||
| function_results | No | ||
| system_instruction | No | ||
| previous_interaction_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |