agloop_append_log
Add structured execution records to track agent actions, phases, and statuses within the AgLoop framework for monitoring and management.
Instructions
Append a structured entry to the execution log. COORDINATOR ONLY.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes | ||
| action | Yes | ||
| phase | Yes | ||
| status | Yes | ||
| task_id | No | ||
| input_summary | No | ||
| output_summary | No |
Implementation Reference
- src/agloop_mcp/server.py:155-174 (handler)The agloop_append_log tool handler, which utilizes the StateManager to append a structured log entry.
def agloop_append_log( agent: str, action: str, phase: str, status: str, task_id: str = "", input_summary: str = "", output_summary: str = "", ) -> str: """Append a structured entry to the execution log. COORDINATOR ONLY.""" _sm().append_log( agent=agent, action=action, phase=phase, status=status, task_id=task_id or None, input_summary=input_summary, output_summary=output_summary, ) return json.dumps({"success": True})