getMentionedToolBoxes
codebolt.tool.getMentionedToolBoxes(userMessage: UserMessage): Promise<undefined>
Extracts toolbox mentions from a user message object.
Parameters
Name | Type | Description |
---|---|---|
userMessage | UserMessage | Message object containing user input with toolbox mentions |
Example
const message = {
content: "Please use @analyticsTools and @dataProcessing",
mentionedMCPs: ["analyticsTools", "dataProcessing"]
};
const mentioned = await codebolt.codebolttools.getMentionedToolBoxes(message);
console.log("Mentioned ToolBoxes:", mentioned);