Skip to main content

codebolt.message

Message handling and process management operations.

Available Tools

  • message_send - Send a message
  • message_process_start - Start a message processing
  • message_process_stop - Stop a message processing

Tool Parameters

message_send

Sends a message through the message system.

ParameterTypeRequiredDescription
messagestringYesThe message content to send

message_process_start

Starts a message processing operation with a specified process name.

ParameterTypeRequiredDescription
processstringYesThe name/identifier of the process to start
messagestringYesThe message associated with the process

message_process_stop

Stops a running message processing operation.

ParameterTypeRequiredDescription
processstringYesThe name/identifier of the process to stop
messagestringYesThe message associated with stopping the process

Sample Usage

// Send a message
const sendResult = await codebolt.tools.executeTool(
"codebolt.message",
"message_send",
{ message: "Hello MCP" }
);

// Start message processing
const startResult = await codebolt.tools.executeTool(
"codebolt.message",
"message_process_start",
{
process: "testProcess",
message: "Hello MCP"
}
);

// Stop message processing
const stopResult = await codebolt.tools.executeTool(
"codebolt.message",
"message_process_stop",
{
process: "testProcess",
message: "Hello MCP"
}
);
info

This functionality provides message handling and process management through the MCP interface.