Simplify codebase per audit of 461aac7
This commit is contained in:
@@ -914,7 +914,7 @@ func (m *Manager) workflowTools(l *live) []mcp.Tool {
|
||||
}),
|
||||
|
||||
leadTool(m, l, "delete_workflow",
|
||||
"Delete a workflow from the server. Tasks that froze it keep their copy. Only when the human asks.",
|
||||
"Delete a workflow from the server, with the schedules that run it. Tasks that froze it keep their copy. Only when the human asks.",
|
||||
`{"type": "object", "properties": {"name": {"type": "string"}}, "required": ["name"]}`,
|
||||
func(ctx context.Context, user api.User, args struct {
|
||||
Name string `json:"name"`
|
||||
|
||||
Reference in New Issue
Block a user