Skip to main content

codebolt.task

Task management operations for creating, listing, and updating tasks.

Available Tools

  • task_create - Create a new task
  • task_list - List all tasks
  • task_update - Update an existing task

Tool Parameters

task_create

Creates a new task.

ParameterTypeRequiredDescription
titlestringYesThe title/name of the task
descriptionstringNoThe description of the task
thread_idstringNoThe thread ID for the task

task_list

Retrieves a list of all tasks.

ParameterTypeRequiredDescription
(none)--This tool takes no parameters

task_update

Updates an existing task.

ParameterTypeRequiredDescription
task_idstringYesThe ID of the task to update
namestringNoNew name for the task
completedbooleanNoWhether the task is completed
statusstringNoTask status (e.g., 'completed', 'pending')

Sample Usage

// Create a new task
const createResult = await codebolt.tools.executeTool(
"codebolt.task",
"task_create",
{ title: "Test MCP Task", description: "A test task description" }
);

// List all tasks
const listResult = await codebolt.tools.executeTool(
"codebolt.task",
"task_list",
{}
);

// Update a task
const updateResult = await codebolt.tools.executeTool(
"codebolt.task",
"task_update",
{ task_id: "task-123", name: "Updated Task Name", status: "completed" }
);
info

This functionality provides task management through the MCP interface.