agloop_get_task
Retrieve task details including status, dependencies, acceptance criteria, and result log by providing a task ID for monitoring and management.
Instructions
Get details for a single task by ID. Returns task status, dependencies, acceptance criteria, and result log.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes |
Implementation Reference
- src/agloop_mcp/server.py:49-54 (handler)The handler for the tool 'agloop_get_task' is defined here as a decorator-wrapped function that uses the StateManager to retrieve task details.
def agloop_get_task(task_id: str) -> str: """Get details for a single task by ID. Returns task status, dependencies, acceptance criteria, and result log.""" task = _sm().get_task(task_id) if not task: return json.dumps({"error": f"Task '{task_id}' not found"}) return json.dumps(asdict(task), indent=2)