You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cli/src/claude/utils/startHappyServer.ts
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -106,7 +106,7 @@ function createHapiMcpServer(client: ApiSessionClient, emitTitleSummary: boolean
106
106
}
107
107
108
108
mcp.registerTool<any,any>('change_title',{
109
-
description: 'Change the title of the current chat session',
109
+
description: 'Change the title of the current HAPI chat session. Call once when the user\'s primary objective is clear; use a concise task title.',
110
110
title: 'Change Chat Title',
111
111
inputSchema: changeTitleInputSchema,
112
112
},async(args: {title: string})=>{
@@ -137,7 +137,7 @@ function createHapiMcpServer(client: ApiSessionClient, emitTitleSummary: boolean
137
137
});
138
138
139
139
mcp.registerTool<any,any>('display_image',{
140
-
description: 'Display a local image file inline in the current HAPI chat session',
140
+
description: 'Display a local image file inline in the current HAPI chat session. Call with the absolute filesystem path when the user should see a screenshot, diagram, or generated image.',
141
141
title: 'Display Image',
142
142
inputSchema: displayImageInputSchema,
143
143
},async(args: {path: string;title?: string})=>{
@@ -171,7 +171,7 @@ function createHapiMcpServer(client: ApiSessionClient, emitTitleSummary: boolean
171
171
});
172
172
173
173
mcp.registerTool<any,any>('display_video',{
174
-
description: 'Display a local mp4 or webm file inline in the current HAPI chat session',
174
+
description: 'Display a local mp4 or webm file inline in the current HAPI chat session. Call with the absolute filesystem path when the user should see a screen recording or video artifact.',
0 commit comments