-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathschema_flatten_function_writer.txt
93 lines (89 loc) · 3 KB
/
schema_flatten_function_writer.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
can you stragther up a function schema?
{
"name": "create_space",
"description": "Add a new Space to a Workspace.",
"parameters": {
"type": "object",
"properties": {
"team_id": {
"type": "string",
"description": "The ID of the team"
},
"name": {
"type": "string",
"description": "The name of the new space"
},
"multiple_assignees": {
"type": "boolean",
"description": "Enable or disable multiple assignees for tasks within the space"
},
"features": {
"type": "object",
"description": "Enabled features within the space",
"properties": {
"due_dates": {
"type": "object",
"description": "Due dates feature settings",
"properties": {
"enabled": { "type": "boolean" },
"start_date": { "type": "boolean" },
"remap_due_dates": { "type": "boolean" },
"remap_closed_due_date": { "type": "boolean" }
}
},
"time_tracking": {
"type": "object",
"description": "Time tracking feature settings",
"properties": {
"enabled": { "type": "boolean" }
}
}
}
}
},
"required": ["team_id", "name", "multiple_assignees", "features"]
}
},
to
{
"name": "create_space",
"description": "Add a new Space to a Workspace.",
"parameters": {
"type": "object",
"properties": {
"team_id": {
"type": "string",
"description": "The ID of the team"
},
"name": {
"type": "string",
"description": "The name of the new space"
},
"multiple_assignees": {
"type": "boolean",
"description": "Enable or disable multiple assignees for tasks within the space"
},
"features__due_dates__enabled": {
"type": "boolean",
"description": "Due dates feature settings__Enabled features within the space"
},
"features__due_dates__start_date": {
"type": "boolean",
"description": "remap_due_dates__Due dates feature settings__Enabled features within the space"
},
"features__due_dates__remap_due_dates": {
"type": "boolean",
"description": "remap_due_dates__Due dates feature settings__Enabled features within the space"
},
"features__due_dates__remap_closed_due_date": {
"type": "boolean",
"description": "remap_closed_due_date__enabled__Due dates feature settings__Enabled features within the space"
},
"features__time_tracking__enabled": {
"type": "boolean",
"description": "enabled__Due dates feature settings__Enabled features within the space"
},
},
"required": ["team_id", "name", "multiple_assignees", "features"]
}
},