Skip to content

Commit a049207

Browse files
committedMar 11, 2024
Added prompts
1 parent bd57ded commit a049207

6 files changed

+1988
-173
lines changed
 

‎clickup_space_schema copy.json

+284
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,284 @@
1+
[
2+
{
3+
"name": "get_spaces",
4+
"description": "View the Spaces available in a Workspace.",
5+
"parameters": {
6+
"type": "object",
7+
"properties": {
8+
"team_id": {
9+
"type": "string",
10+
"description": "The ID of the team"
11+
},
12+
"archived": {
13+
"type": "boolean",
14+
"description": "A flag to decide whether to include archived spaces or not"
15+
}
16+
},
17+
"required": ["team_id", "archived"]
18+
}
19+
},
20+
{
21+
"name": "create_space",
22+
"description": "Add a new Space to a Workspace.",
23+
"parameters": {
24+
"type": "object",
25+
"properties": {
26+
"team_id": {
27+
"type": "string",
28+
"description": "The ID of the team"
29+
},
30+
"name": {
31+
"type": "string",
32+
"description": "The name of the new space"
33+
},
34+
"multiple_assignees": {
35+
"type": "boolean",
36+
"description": "Enable or disable multiple assignees for tasks within the space"
37+
},
38+
"features": {
39+
"type": "object",
40+
"description": "Enabled features within the space",
41+
"properties": {
42+
"due_dates": {
43+
"type": "object",
44+
"description": "Due dates feature settings",
45+
"properties": {
46+
"enabled": { "type": "boolean" },
47+
"start_date": { "type": "boolean" },
48+
"remap_due_dates": { "type": "boolean" },
49+
"remap_closed_due_date": { "type": "boolean" }
50+
}
51+
},
52+
"time_tracking": {
53+
"type": "object",
54+
"description": "Time tracking feature settings",
55+
"properties": {
56+
"enabled": { "type": "boolean" }
57+
}
58+
}
59+
}
60+
}
61+
},
62+
"required": ["team_id", "name", "multiple_assignees", "features"]
63+
}
64+
},
65+
66+
{
67+
"name": "create_space",
68+
"description": "Add a new Space to a Workspace.",
69+
"parameters": {
70+
"type": "object",
71+
"properties": {
72+
"team_id": {
73+
"type": "string",
74+
"description": "The ID of the team"
75+
},
76+
"name": {
77+
"type": "string",
78+
"description": "The name of the new space"
79+
},
80+
"multiple_assignees": {
81+
"type": "boolean",
82+
"description": "Enable or disable multiple assignees for tasks within the space"
83+
},
84+
"features__due_dates__enabled": {
85+
"type": "boolean",
86+
"description": "Due dates feature settings__Enabled features within the space"
87+
},
88+
"features__due_dates__start_date": {
89+
"type": "boolean",
90+
"description": "remap_due_dates__Due dates feature settings__Enabled features within the space"
91+
},
92+
"features__due_dates__remap_due_dates": {
93+
"type": "boolean",
94+
"description": "remap_due_dates__Due dates feature settings__Enabled features within the space"
95+
},
96+
"features__due_dates__remap_closed_due_date": {
97+
"type": "boolean",
98+
"description": "remap_closed_due_date__enabled__Due dates feature settings__Enabled features within the space"
99+
},
100+
"features__time_tracking__enabled": {
101+
"type": "boolean",
102+
"description": "enabled__Due dates feature settings__Enabled features within the space"
103+
},
104+
},
105+
"required": ["team_id", "name", "multiple_assignees", "features"]
106+
}
107+
},
108+
109+
{
110+
"name": "get_space",
111+
"description": "View the details of a specific Space in a Workspace.",
112+
"parameters": {
113+
"type": "object",
114+
"properties": {
115+
"space_id": {
116+
"type": "string",
117+
"description": "The ID of the space"
118+
}
119+
},
120+
"required": ["space_id"]
121+
}
122+
},
123+
{
124+
"name": "update_space",
125+
"description": "Rename, set the Space color, and enable ClickApps for a Space.",
126+
"parameters": {
127+
"type": "object",
128+
"properties": {
129+
"space_id": {
130+
"type": "string",
131+
"description": "The ID of the space"
132+
},
133+
"name": {
134+
"type": "string",
135+
"description": "The new name of the space"
136+
},
137+
"color": {
138+
"type": "string",
139+
"description": "The color used for the space"
140+
},
141+
"private": {
142+
"type": "boolean",
143+
"description": "A flag to determine if the space is private or not"
144+
},
145+
"admin_can_manage": {
146+
"type": "boolean",
147+
"description": "A flag to determine if the administrator can manage the space or not"
148+
},
149+
"multiple_assignees": {
150+
"type": "boolean",
151+
"description": "Enable or disable multiple assignees for tasks within the space"
152+
},
153+
"features": {
154+
"type": "object",
155+
"description": "Enabled features within the space",
156+
"properties": {
157+
"due_dates": {
158+
"type": "object",
159+
"description": "Due dates feature settings",
160+
"properties": {
161+
"enabled": { "type": "boolean" },
162+
"start_date": { "type": "boolean" },
163+
"remap_due_dates": { "type": "boolean" },
164+
"remap_closed_due_date": { "type": "boolean" }
165+
}
166+
},
167+
"time_tracking": {
168+
"type": "object",
169+
"description": "Time tracking feature settings",
170+
"properties": {
171+
"enabled": { "type": "boolean" }
172+
}
173+
}
174+
}
175+
}
176+
},
177+
"required": [
178+
"space_id",
179+
"name",
180+
"color",
181+
"private",
182+
"admin_can_manage",
183+
"multiple_assignees",
184+
"features"
185+
]
186+
}
187+
},
188+
{
189+
"name": "delete_space",
190+
"description": "Delete a Space from your Workspace.",
191+
"parameters": {
192+
"type": "object",
193+
"properties": {
194+
"space_id": {
195+
"type": "string",
196+
"description": "The ID of the space"
197+
}
198+
},
199+
"required": ["space_id"]
200+
}
201+
},
202+
{
203+
"name": "delete_space",
204+
"description": "Delete a Space from your Workspace.",
205+
"parameters": {
206+
"type": "object",
207+
"properties": {
208+
"space_id": {
209+
"type": "string",
210+
"description": "The ID of the space"
211+
}
212+
},
213+
"required": ["space_id"]
214+
}
215+
},
216+
{
217+
"name": "create_space_tag",
218+
"description": "Add a new task Tag to a Space.",
219+
"parameters": {
220+
"type": "object",
221+
"properties": {
222+
"space_id": {
223+
"type": "string",
224+
"description": "The ID of the space"
225+
},
226+
"tag": {
227+
"type": "object",
228+
"description": "The properties of the tag to create",
229+
"properties": {
230+
"name": {
231+
"type": "string",
232+
"description": "The name of the tag"
233+
},
234+
"tag_fg": {
235+
"type": "string",
236+
"description": "The foreground color of the tag"
237+
},
238+
"tag_bg": {
239+
"type": "string",
240+
"description": "The background color of the tag"
241+
}
242+
}
243+
}
244+
},
245+
"required": ["space_id", "tag"]
246+
}
247+
},
248+
{
249+
"name": "delete_space_tag",
250+
"description": "Delete a task Tag from a Space.",
251+
"parameters": {
252+
"type": "object",
253+
"properties": {
254+
"space_id": {
255+
"type": "string",
256+
"description": "The ID of the space"
257+
},
258+
"tag_name": {
259+
"type": "string",
260+
"description": "The name of the tag to delete"
261+
},
262+
"tag": {
263+
"type": "object",
264+
"description": "The properties of the tag to delete",
265+
"properties": {
266+
"name": {
267+
"type": "string",
268+
"description": "The name of the tag"
269+
},
270+
"tag_fg": {
271+
"type": "string",
272+
"description": "The foreground color of the tag"
273+
},
274+
"tag_bg": {
275+
"type": "string",
276+
"description": "The background color of the tag"
277+
}
278+
}
279+
}
280+
},
281+
"required": ["space_id", "tag_name", "tag"]
282+
}
283+
}
284+
]

0 commit comments

Comments
 (0)