Skip to main content
Glama

kiro_task_list

List and manage active asynchronous tasks in Kiro CLI MCP Server, with options to filter by session ID and include completed tasks for comprehensive workflow oversight.

Instructions

List active async tasks

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idNoOptional filter by session ID
include_doneNoInclude completed/failed tasks

Implementation Reference

  • Handler function that implements the core logic of kiro_task_list by parsing arguments and delegating to StreamingTaskManager.list_tasks to retrieve and format the list of active tasks.
    async def _handle_task_list( task_manager: StreamingTaskManager, arguments: dict[str, Any] ) -> dict[str, Any]: """Handle kiro_task_list tool call - list active tasks.""" session_id = arguments.get("session_id") include_done = arguments.get("include_done", False) tasks = await task_manager.list_tasks(session_id, include_done) return { "tasks": [t.to_dict() for t in tasks], "count": len(tasks), }
  • Schema definition for the kiro_task_list tool, specifying input parameters: optional session_id (string) and include_done (boolean, default False). This is part of the TOOLS list used for MCP tool registration.
    { "name": "kiro_task_list", "description": "List active async tasks", "inputSchema": { "type": "object", "properties": { "session_id": { "type": "string", "description": "Optional filter by session ID" }, "include_done": { "type": "boolean", "description": "Include completed/failed tasks", "default": False } } } },
  • Registration/dispatch point in the main handle_call_tool function where kiro_task_list calls are routed to the specific handler.
    elif name == "kiro_task_list": result = await _handle_task_list(task_manager, arguments)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vanphappi/kiro-cli-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server