Repository navigation
Expand file tree
/
Copy pathtools.json
More file actions
306 lines (306 loc) · 8.72 KB
/
Copy pathtools.json
File metadata and controls
306 lines (306 loc) · 8.72 KB
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
{
"schema": 1,
"tools": [
{
"name": "calendar.events",
"description": "List the person's calendar events, soonest first: id, title, start, end, location and notes. Times are local, like 2026-10-02T15:00. Filter with from and to (a time or a date); limit caps the list. Entries may include request_id for retry deduplication. These are OctoSense local events, not a Google Calendar account. A returned timezone belongs to that event; from/to filters use device local time unless RFC3339 offsets are supplied. This is the same store displayed by the Calendar app month/day views.",
"input_schema": {
"type": "object",
"properties": {
"from": {
"type": "string",
"maxLength": 32
},
"to": {
"type": "string",
"maxLength": 32
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 200
}
},
"additionalProperties": false
},
"output_schema": {
"type": "object",
"properties": {
"events": {
"type": "array",
"items": {
"type": "object"
}
}
},
"required": [
"events"
]
},
"risk": "read",
"background": true,
"private_data": true,
"implemented_by": "host-service",
"shareable": true
},
{
"name": "calendar.add_event",
"description": "Add an event to the person's calendar. start (and end) are local times like 2026-10-02T15:00, or a date like 2026-10-02 for the whole day. Answers the new event's id. For retries supply the same stable request_id and exact event fields; it reuses the saved event. Changed fields with that key are refused instead of duplicating it. This is OctoSense local storage, not Google Calendar sync. Supply timezone (IANA, e.g. America/Los_Angeles) to preserve the event wall time independently of device settings. Missing timezone uses device local time. Do not guess an unspecified end.",
"input_schema": {
"type": "object",
"properties": {
"title": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"start": {
"type": "string",
"minLength": 1,
"maxLength": 32
},
"end": {
"type": "string",
"maxLength": 32
},
"location": {
"type": "string",
"maxLength": 120
},
"notes": {
"type": "string",
"maxLength": 600
},
"request_id": {
"type": "string",
"minLength": 1,
"maxLength": 160
},
"timezone": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"required": [
"title",
"start"
],
"additionalProperties": false
},
"output_schema": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"start": {
"type": "string"
}
},
"required": [
"id"
]
},
"risk": "act",
"background": true,
"implemented_by": "host-service",
"shareable": true
},
{
"name": "calendar.update_event",
"description": "Edit one saved Calendar event, keeping its id and original request_id. First read calendar.events and pass that exact event as expected; a stale snapshot is refused. Supply the full replacement title, start, end (omit if unknown), timezone, location and notes. This updates the same Calendar UI record and quietly refreshes its existing event cards. It does not send invites or sync Google Calendar.",
"input_schema": {
"type": "object",
"properties": {
"title": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"start": {
"type": "string",
"minLength": 1,
"maxLength": 32
},
"end": {
"type": "string",
"maxLength": 32
},
"location": {
"type": "string",
"maxLength": 120
},
"notes": {
"type": "string",
"maxLength": 600
},
"timezone": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"id": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"expected": {
"type": "object"
}
},
"required": [
"id",
"expected",
"title",
"start"
],
"additionalProperties": false
},
"output_schema": {
"type": "object",
"properties": {
"event": {
"type": "object"
}
},
"required": [
"event"
]
},
"risk": "act",
"background": true,
"implemented_by": "host-service"
},
{
"name": "calendar.remove_event",
"description": "Remove an event from the person's calendar by its id (from calendar.events). It is gone for good, so the person approves it.",
"input_schema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"required": [
"id"
],
"additionalProperties": false
},
"output_schema": {
"type": "object",
"properties": {
"removed": {
"type": "boolean"
}
},
"required": [
"removed"
]
},
"risk": "destructive",
"confirm": "host",
"background": true,
"implemented_by": "host-service"
},
{
"name": "calendar.notify",
"description": "Show an event on the person's glance screen as an event card, with a notification: name one of the calendar's events by its id (event), or give a title and when (a local time like 2026-10-02T15:00, or words), with a location and notes if any. Calendar draws the card. The same card_id replaces an earlier card. A saved event card opens that exact event in Calendar. An identical live saved-event publication is reused without another notification; edits in Calendar refresh its card.",
"input_schema": {
"type": "object",
"properties": {
"event": {
"type": "string",
"maxLength": 64
},
"title": {
"type": "string",
"maxLength": 80
},
"when": {
"type": "string",
"maxLength": 80
},
"location": {
"type": "string",
"maxLength": 120
},
"notes": {
"type": "string",
"maxLength": 600
},
"card_id": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[A-Za-z0-9._-]+$"
},
"priority": {
"type": "integer",
"minimum": 0,
"maximum": 100
}
},
"additionalProperties": false
},
"output_schema": {
"type": "object",
"properties": {
"card_id": {
"type": "string"
},
"replaced": {
"type": "boolean"
},
"expires_at": {
"type": "integer"
}
},
"required": [
"card_id"
]
},
"risk": "act",
"background": true,
"implemented_by": "host-service",
"shareable": true
},
{
"name": "calendar.agenda",
"description": "Put the person's agenda on the glance screen: a card with the next three events within days (7 by default), with a notification. It replaces the previous agenda card.",
"input_schema": {
"type": "object",
"properties": {
"days": {
"type": "integer",
"minimum": 1,
"maximum": 60
}
},
"additionalProperties": false
},
"output_schema": {
"type": "object",
"properties": {
"card_id": {
"type": "string"
},
"replaced": {
"type": "boolean"
},
"expires_at": {
"type": "integer"
}
},
"required": [
"card_id"
]
},
"risk": "act",
"background": true,
"implemented_by": "host-service"
}
]
}