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
{{ message }}
This repository was archived by the owner on Jul 22, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: lib/ai_bot/tools/update_artifact.rb
+7-15Lines changed: 7 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -51,34 +51,26 @@ def self.signature
51
51
{
52
52
name: "update_artifact",
53
53
description:
54
-
"Updates an existing web artifact with new HTML, CSS, or JavaScript content.",
54
+
"Updates an existing web artifact with new HTML, CSS, or JavaScript content. Note either html, css, or js MUST be provided. You may provide all three if desired.",
55
55
parameters: [
56
56
{
57
57
name: "artifact_id",
58
58
description: "The ID of the artifact to update",
59
59
type: "integer",
60
60
required: true,
61
61
},
62
-
{
63
-
name: "html",
64
-
description: "(Optional) new HTML content for the artifact",
65
-
type: "string",
66
-
},
67
-
{
68
-
name: "css",
69
-
description: "(Optional) new CSS content for the artifact",
70
-
type: "string",
71
-
},
62
+
{name: "html",description: "new HTML content for the artifact",type: "string"},
63
+
{name: "css",description: "new CSS content for the artifact",type: "string"},
72
64
{
73
65
name: "js",
74
-
description: "(Optional) new JavaScript content for the artifact",
66
+
description: "new JavaScript content for the artifact",
75
67
type: "string",
76
68
},
77
69
{
78
70
name: "change_description",
79
-
description: "A brief description of the changes being made",
71
+
description:
72
+
"A brief description of the changes being made. Note: This only documents the change - you must provide the actual content in html/css/js parameters to make changes.",
0 commit comments