Skip to content

Commit a38d53d

Browse files
Saranya-jenaHarness
authored andcommitted
chore: [ML-1475]: Update the create follow up prompt tool's description not to be called unless asked specifically (#240)
* 57ef98 chore: [ML-1475]: Update the create follow up prompt tool's description not to be called unless asked specifically
1 parent ed86242 commit a38d53d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/harness/tools/pipelines.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ type ActionData struct {
418418

419419
func CreateFollowUpPromptTool(config *config.Config, client *client.PipelineService) (tool mcp.Tool, handler server.ToolHandlerFunc) {
420420
return mcp.NewTool("create_follow_up_prompt",
421-
mcp.WithDescription("Creates a follow up prompt event with the specified data."),
421+
mcp.WithDescription("Creates a follow up prompt event with the specified data. MUST NOT be called unless explicitly requested"),
422422
mcp.WithString("action_data",
423423
mcp.Required(),
424424
mcp.Description("A JSON string in one of these formats: 1) An array of action objects: {\"actions\": [{\"text\": \"Button Text\", \"action\": \"OPEN_ENTITY_NEW_TAB\", \"data\": {\"pageName\": \"PAGE_NAME\", \"metadata\": {\"<KEY>\": \"<VALUE>\"}}}]} OR 2) just a single string action without any array: \"Action1\""),

0 commit comments

Comments
 (0)