get_stack_overview
Retrieve structured JSON data showing all tasks and their relationships in your hierarchical task management system to maintain context and organization.
Instructions
Get structured data of your entire task stack (JSON format with all task details and relationships)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/handlers.py:172-173 (handler)The MCP tool handler function that executes the get_stack_overview tool by delegating to TaskManager.get_stack_overview()async def handle_get_stack_overview(self) -> Dict[str, Any]: return self.task_manager.get_stack_overview()
- src/handlers.py:325-329 (schema)The input/output schema definition for the get_stack_overview tool, defined in AidderallHandlers.get_tool_definitions(), with no required input parameters.Tool( name="get_stack_overview", description="Get structured data of your entire task stack (JSON format with all task details and relationships)", inputSchema={"type": "object", "properties": {}}, ),
- src/server.py:66-66 (registration)Registration of the get_stack_overview tool handler in the server's call_tool dispatcher map."get_stack_overview": handlers.handle_get_stack_overview,
- src/task_manager.py:325-357 (helper)Supporting method in TaskManager that generates the detailed JSON overview of the entire task stack, including zen state, depth, current task ID, all global tasks with subtasks, and completed count.def get_stack_overview(self) -> Dict[str, Any]: return { "zen_state": self.is_zen_state, "stack_depth": self.get_stack_depth(), "current_task_id": self.current_task.id if self.current_task else None, "global_tasks": [ { "id": task.id, "title": task.title, "status": task.status.value, "created_at": task.created_at.isoformat(), "completed_at": ( task.completed_at.isoformat() if task.completed_at else None ), "sub_tasks": [ { "id": sub.id, "title": sub.title, "status": sub.status.value, "created_at": sub.created_at.isoformat(), "completed_at": ( sub.completed_at.isoformat() if sub.completed_at else None ), } for sub in task.sub_tasks ], } for task in self.global_tasks ], "completed_count": len(self.completed_tasks), }