agloop_create_checkpoint
Save the current state for recovery in the AgLoop agent framework. Use this tool to create checkpoints that preserve agent states, tasks, and execution logs.
Instructions
Create a checkpoint of the current state for recovery. COORDINATOR ONLY.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| trigger | No | manual |
Implementation Reference
- src/agloop_mcp/server.py:177-190 (handler)Implementation of the agloop_create_checkpoint tool handler.
@mcp.tool() def agloop_create_checkpoint( label: str = "", trigger: str = "manual", ) -> str: """Create a checkpoint of the current state for recovery. COORDINATOR ONLY.""" result = _sm().create_checkpoint( label=label or None, trigger=trigger, ) if not result: return json.dumps({"error": "Failed to create checkpoint"}) return json.dumps( {"id": result["id"], "label": result["label"], "timestamp": result["timestamp"]},