continue_agent_session
Continue a saved agent session with new instructions or tasks, preserving or resetting context as needed.
Instructions
Continue an agent session using stored conversation session ID with additional instructions
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": {
"agentId": "<agentId>"
},
"name": "continue_agent_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | ID of the agent whose session should be continued. This agent must exist and have a stored conversation session ID. | |
| additionalInstructions | No | Optional additional instructions to provide to the agent when resuming the session. These will be appended to the agent's original task and context. | |
| newTaskDescription | No | Optional new task description to replace the agent's current task. If provided, this will become the agent's new primary objective. | |
| preserveContext | No | Whether to preserve the agent's conversation context when continuing the session. If true, the agent will resume with all previous conversation history. If false, starts a fresh conversation with the stored session ID. | |
| updateMetadata | No | Optional metadata updates to apply to the agent when continuing the session. This can include new configuration, status updates, or coordination information. |