Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

feat(chat): a brief for each workflow tool, for tool_search (C60-S5)

purple1ad909d688f2
diff --git a/src/api/mcp/workflow-tools.ts b/src/api/mcp/workflow-tools.ts
index 80be15d9..907f4655 100644
--- a/src/api/mcp/workflow-tools.ts
+++ b/src/api/mcp/workflow-tools.ts
@@ -47,6 +47,7 @@ import type { WorkflowTemplate } from '../../types/workflows'
export const WORKFLOW_TOOLS: MCPToolDefinition[] = [
{
name: WORKFLOW_FIND,
+ brief: 'Find ComfyUI workflows (local, CivitAI, GitHub).',
description: 'Find ComfyUI workflows: LU\'s own, ComfyUI templates, CivitAI and GitHub repos of the Comfy Registry. '
+ 'Read only. Returns ids for workflow_inspect. Pass url only when the user sent a link.',
inputSchema: {
@@ -63,6 +64,7 @@ export const WORKFLOW_TOOLS: MCPToolDefinition[] = [
},
{
name: WORKFLOW_INSPECT,
+ brief: 'Traffic light check of a found workflow.',
description: 'Check one found workflow: nodes, models, size, license, risks, traffic light green/yellow/red. Read only.',
inputSchema: {
type: 'object',
@@ -74,6 +76,7 @@ export const WORKFLOW_TOOLS: MCPToolDefinition[] = [
},
{
name: WORKFLOW_INSTALL,
+ brief: "Install a checked workflow after the user's card.",
description: 'Install a checked green or yellow workflow into LU (Create). The user confirms on a card. '
+ 'Optionally assign it to a model. Red is refused.',
inputSchema: {
@@ -89,6 +92,7 @@ export const WORKFLOW_TOOLS: MCPToolDefinition[] = [
},
{
name: WORKFLOW_ASSIGN,
+ brief: 'Use an installed workflow for a model.',
description: 'Make an installed workflow the one a model generates with. The user confirms on a card.',
inputSchema: {
type: 'object',