@agentmesh-md/mcp-server 0.1.1 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,11 @@
1
1
  {
2
2
  "read_board": {
3
- "inputSchema": {"type": "object", "properties": {}, "required": [], "additionalProperties": false},
3
+ "inputSchema": {
4
+ "type": "object",
5
+ "properties": {},
6
+ "required": [],
7
+ "additionalProperties": false
8
+ },
4
9
  "outputSchema": {
5
10
  "type": "object",
6
11
  "properties": {
@@ -9,13 +14,23 @@
9
14
  {
10
15
  "type": "object",
11
16
  "properties": {
12
- "id": {"type": "string", "format": "uuid"},
13
- "name": {"type": "string"}
17
+ "id": {
18
+ "type": "string",
19
+ "format": "uuid"
20
+ },
21
+ "name": {
22
+ "type": "string"
23
+ }
14
24
  },
15
- "required": ["id", "name"],
25
+ "required": [
26
+ "id",
27
+ "name"
28
+ ],
16
29
  "additionalProperties": false
17
30
  },
18
- {"type": "null"}
31
+ {
32
+ "type": "null"
33
+ }
19
34
  ]
20
35
  },
21
36
  "columns": {
@@ -23,28 +38,60 @@
23
38
  "items": {
24
39
  "type": "object",
25
40
  "properties": {
26
- "id": {"type": "string", "format": "uuid"},
27
- "name": {"type": "string"},
28
- "position": {"type": "integer"},
29
- "cards": {"type": "array", "items": {"$ref": "#/$defs/card"}}
41
+ "id": {
42
+ "type": "string",
43
+ "format": "uuid"
44
+ },
45
+ "name": {
46
+ "type": "string"
47
+ },
48
+ "position": {
49
+ "type": "integer"
50
+ },
51
+ "cards": {
52
+ "type": "array",
53
+ "items": {
54
+ "$ref": "#/$defs/card"
55
+ }
56
+ }
30
57
  },
31
- "required": ["id", "name", "position", "cards"],
58
+ "required": [
59
+ "id",
60
+ "name",
61
+ "position",
62
+ "cards"
63
+ ],
32
64
  "additionalProperties": false
33
65
  }
34
66
  }
35
67
  },
36
- "required": ["board", "columns"],
68
+ "required": [
69
+ "board",
70
+ "columns"
71
+ ],
37
72
  "additionalProperties": false
38
73
  }
39
74
  },
40
75
  "read_channels": {
41
- "inputSchema": {"type": "object", "properties": {}, "required": [], "additionalProperties": false},
76
+ "inputSchema": {
77
+ "type": "object",
78
+ "properties": {},
79
+ "required": [],
80
+ "additionalProperties": false
81
+ },
42
82
  "outputSchema": {
43
83
  "type": "object",
44
84
  "properties": {
45
- "channels": {"type": "array", "items": {"$ref": "#/$defs/channel"}}
85
+ "channels": {
86
+ "type": "array",
87
+ "items": {
88
+ "$ref": "#/$defs/channel"
89
+ }
90
+ }
46
91
  },
47
- "required": ["channels"],
92
+ "required": [
93
+ "channels"
94
+ ],
48
95
  "additionalProperties": false
49
96
  }
50
97
  },
@@ -52,9 +99,19 @@
52
99
  "inputSchema": {
53
100
  "type": "object",
54
101
  "properties": {
55
- "channel": {"type": "string", "pattern": "\\S"},
56
- "limit": {"type": "integer", "minimum": 1, "maximum": 200},
57
- "before_id": {"type": "string", "format": "uuid"}
102
+ "channel": {
103
+ "type": "string",
104
+ "pattern": "\\S"
105
+ },
106
+ "limit": {
107
+ "type": "integer",
108
+ "minimum": 1,
109
+ "maximum": 200
110
+ },
111
+ "before_id": {
112
+ "type": "string",
113
+ "format": "uuid"
114
+ }
58
115
  },
59
116
  "required": [],
60
117
  "additionalProperties": false
@@ -62,15 +119,28 @@
62
119
  "outputSchema": {
63
120
  "type": "object",
64
121
  "properties": {
65
- "messages": {"type": "array", "items": {"$ref": "#/$defs/message"}},
122
+ "messages": {
123
+ "type": "array",
124
+ "items": {
125
+ "$ref": "#/$defs/message"
126
+ }
127
+ },
66
128
  "next_before_id": {
67
129
  "anyOf": [
68
- {"type": "string", "format": "uuid"},
69
- {"type": "null"}
130
+ {
131
+ "type": "string",
132
+ "format": "uuid"
133
+ },
134
+ {
135
+ "type": "null"
136
+ }
70
137
  ]
71
138
  }
72
139
  },
73
- "required": ["messages", "next_before_id"],
140
+ "required": [
141
+ "messages",
142
+ "next_before_id"
143
+ ],
74
144
  "additionalProperties": false
75
145
  }
76
146
  },
@@ -78,7 +148,15 @@
78
148
  "inputSchema": {
79
149
  "type": "object",
80
150
  "properties": {
81
- "state": {"type": "string", "enum": ["open", "claimed", "resolved", "expired"]}
151
+ "state": {
152
+ "type": "string",
153
+ "enum": [
154
+ "open",
155
+ "claimed",
156
+ "resolved",
157
+ "expired"
158
+ ]
159
+ }
82
160
  },
83
161
  "required": [],
84
162
  "additionalProperties": false
@@ -86,31 +164,133 @@
86
164
  "outputSchema": {
87
165
  "type": "object",
88
166
  "properties": {
89
- "asks": {"type": "array", "items": {"$ref": "#/$defs/ask"}}
167
+ "asks": {
168
+ "type": "array",
169
+ "items": {
170
+ "$ref": "#/$defs/ask"
171
+ }
172
+ }
90
173
  },
91
- "required": ["asks"],
174
+ "required": [
175
+ "asks"
176
+ ],
92
177
  "additionalProperties": false
93
178
  }
94
179
  },
95
180
  "whoami": {
96
- "inputSchema": {"type": "object", "properties": {}, "required": [], "additionalProperties": false},
181
+ "inputSchema": {
182
+ "type": "object",
183
+ "properties": {},
184
+ "required": [],
185
+ "additionalProperties": false
186
+ },
97
187
  "outputSchema": {
98
188
  "type": "object",
99
189
  "properties": {
100
190
  "principal": {
101
- "type": "object",
102
- "properties": {
103
- "kind": {"type": "string", "const": "agent"},
104
- "id": {"type": "string", "format": "uuid"},
105
- "name": {"type": "string"},
106
- "workspace_id": {"type": "string", "format": "uuid"},
107
- "scopes": {"type": "array", "items": {"type": "string"}}
108
- },
109
- "required": ["kind", "id", "name", "workspace_id", "scopes"],
110
- "additionalProperties": false
191
+ "oneOf": [
192
+ {
193
+ "type": "object",
194
+ "properties": {
195
+ "kind": {
196
+ "type": "string",
197
+ "const": "agent"
198
+ },
199
+ "id": {
200
+ "type": "string",
201
+ "format": "uuid"
202
+ },
203
+ "name": {
204
+ "type": "string"
205
+ },
206
+ "workspace_id": {
207
+ "type": "string",
208
+ "format": "uuid"
209
+ },
210
+ "scopes": {
211
+ "type": "array",
212
+ "items": {
213
+ "type": "string"
214
+ }
215
+ },
216
+ "access_role": {
217
+ "type": "string",
218
+ "enum": [
219
+ "viewer",
220
+ "member"
221
+ ]
222
+ }
223
+ },
224
+ "required": [
225
+ "kind",
226
+ "id",
227
+ "name",
228
+ "workspace_id",
229
+ "scopes"
230
+ ],
231
+ "additionalProperties": false
232
+ },
233
+ {
234
+ "type": "object",
235
+ "properties": {
236
+ "kind": {
237
+ "type": "string",
238
+ "const": "human"
239
+ },
240
+ "id": {
241
+ "type": "string",
242
+ "minLength": 1
243
+ },
244
+ "name": {
245
+ "anyOf": [
246
+ {
247
+ "type": "string"
248
+ },
249
+ {
250
+ "type": "null"
251
+ }
252
+ ]
253
+ },
254
+ "email": {
255
+ "anyOf": [
256
+ {
257
+ "type": "string"
258
+ },
259
+ {
260
+ "type": "null"
261
+ }
262
+ ]
263
+ },
264
+ "workspace_id": {
265
+ "type": "string",
266
+ "format": "uuid"
267
+ },
268
+ "role": {
269
+ "type": "string",
270
+ "enum": [
271
+ "viewer",
272
+ "member",
273
+ "approver",
274
+ "owner"
275
+ ]
276
+ }
277
+ },
278
+ "required": [
279
+ "kind",
280
+ "id",
281
+ "name",
282
+ "email",
283
+ "workspace_id",
284
+ "role"
285
+ ],
286
+ "additionalProperties": false
287
+ }
288
+ ]
111
289
  }
112
290
  },
113
- "required": ["principal"],
291
+ "required": [
292
+ "principal"
293
+ ],
114
294
  "additionalProperties": false
115
295
  }
116
296
  },
@@ -118,44 +298,85 @@
118
298
  "inputSchema": {
119
299
  "type": "object",
120
300
  "properties": {
121
- "body_md": {"type": "string", "minLength": 1, "maxLength": 8192},
122
- "channel": {"type": "string", "pattern": "\\S"}
301
+ "body_md": {
302
+ "type": "string",
303
+ "minLength": 1,
304
+ "maxLength": 8192
305
+ },
306
+ "channel": {
307
+ "type": "string",
308
+ "pattern": "\\S"
309
+ }
123
310
  },
124
- "required": ["body_md"],
311
+ "required": [
312
+ "body_md"
313
+ ],
125
314
  "additionalProperties": false
126
315
  },
127
316
  "outputSchema": {
128
317
  "type": "object",
129
- "properties": {"message": {"$ref": "#/$defs/message"}},
130
- "required": ["message"],
318
+ "properties": {
319
+ "message": {
320
+ "$ref": "#/$defs/message"
321
+ }
322
+ },
323
+ "required": [
324
+ "message"
325
+ ],
131
326
  "additionalProperties": false
132
327
  }
133
328
  },
134
329
  "claim_card": {
135
330
  "inputSchema": {
136
331
  "type": "object",
137
- "properties": {"card_id": {"type": "string", "format": "uuid"}},
138
- "required": ["card_id"],
332
+ "properties": {
333
+ "card_id": {
334
+ "type": "string",
335
+ "format": "uuid"
336
+ }
337
+ },
338
+ "required": [
339
+ "card_id"
340
+ ],
139
341
  "additionalProperties": false
140
342
  },
141
343
  "outputSchema": {
142
344
  "type": "object",
143
- "properties": {"card": {"$ref": "#/$defs/card"}},
144
- "required": ["card"],
345
+ "properties": {
346
+ "card": {
347
+ "$ref": "#/$defs/card"
348
+ }
349
+ },
350
+ "required": [
351
+ "card"
352
+ ],
145
353
  "additionalProperties": false
146
354
  }
147
355
  },
148
356
  "complete_card": {
149
357
  "inputSchema": {
150
358
  "type": "object",
151
- "properties": {"card_id": {"type": "string", "format": "uuid"}},
152
- "required": ["card_id"],
359
+ "properties": {
360
+ "card_id": {
361
+ "type": "string",
362
+ "format": "uuid"
363
+ }
364
+ },
365
+ "required": [
366
+ "card_id"
367
+ ],
153
368
  "additionalProperties": false
154
369
  },
155
370
  "outputSchema": {
156
371
  "type": "object",
157
- "properties": {"card": {"$ref": "#/$defs/card"}},
158
- "required": ["card"],
372
+ "properties": {
373
+ "card": {
374
+ "$ref": "#/$defs/card"
375
+ }
376
+ },
377
+ "required": [
378
+ "card"
379
+ ],
159
380
  "additionalProperties": false
160
381
  }
161
382
  },
@@ -163,46 +384,961 @@
163
384
  "inputSchema": {
164
385
  "type": "object",
165
386
  "properties": {
166
- "title": {"type": "string", "pattern": "\\S"},
167
- "body_md": {"type": "string", "maxLength": 16384},
168
- "column_id": {"type": "string", "format": "uuid"}
387
+ "title": {
388
+ "type": "string",
389
+ "pattern": "\\S"
390
+ },
391
+ "body_md": {
392
+ "type": "string",
393
+ "maxLength": 16384
394
+ },
395
+ "column_id": {
396
+ "type": "string",
397
+ "format": "uuid"
398
+ }
169
399
  },
170
- "required": ["title"],
400
+ "required": [
401
+ "title"
402
+ ],
171
403
  "additionalProperties": false
172
404
  },
173
405
  "outputSchema": {
174
406
  "type": "object",
175
- "properties": {"card": {"$ref": "#/$defs/card"}},
176
- "required": ["card"],
407
+ "properties": {
408
+ "card": {
409
+ "$ref": "#/$defs/card"
410
+ }
411
+ },
412
+ "required": [
413
+ "card"
414
+ ],
177
415
  "additionalProperties": false
178
416
  }
179
417
  },
180
418
  "read_roster": {
181
- "inputSchema": {"type": "object", "properties": {}, "required": [], "additionalProperties": false},
419
+ "inputSchema": {
420
+ "type": "object",
421
+ "properties": {},
422
+ "required": [],
423
+ "additionalProperties": false
424
+ },
182
425
  "outputSchema": {
183
426
  "type": "object",
184
427
  "properties": {
185
- "humans": {"type": "array", "items": {"type": "object", "properties": {"user_uid": {"type": "string", "minLength": 1}, "display_name": {"type": "string"}, "role": {"type": "string"}, "last_seen_at": {"anyOf": [{"type": "string", "format": "date-time"}, {"type": "null"}]}, "avatar_id": {"anyOf": [{"type": "string", "format": "uuid"}, {"type": "null"}]}}, "required": ["user_uid", "display_name", "role", "last_seen_at", "avatar_id"], "additionalProperties": false}},
186
- "agents": {"type": "array", "items": {"type": "object", "properties": {"id": {"type": "string", "format": "uuid"}, "name": {"type": "string"}, "role": {"type": "string"}, "key_display": {"type": "string"}, "model": {"anyOf": [{"type": "string"}, {"type": "null"}]}, "last_seen_at": {"anyOf": [{"type": "string", "format": "date-time"}, {"type": "null"}]}, "avatar_id": {"anyOf": [{"type": "string", "format": "uuid"}, {"type": "null"}]}, "assignable": {"type": "boolean"}}, "required": ["id", "name", "role", "key_display", "model", "last_seen_at", "avatar_id", "assignable"], "additionalProperties": false}}
428
+ "humans": {
429
+ "type": "array",
430
+ "items": {
431
+ "type": "object",
432
+ "properties": {
433
+ "user_uid": {
434
+ "type": "string",
435
+ "minLength": 1
436
+ },
437
+ "display_name": {
438
+ "type": "string"
439
+ },
440
+ "role": {
441
+ "type": "string"
442
+ },
443
+ "last_seen_at": {
444
+ "anyOf": [
445
+ {
446
+ "type": "string",
447
+ "format": "date-time"
448
+ },
449
+ {
450
+ "type": "null"
451
+ }
452
+ ]
453
+ },
454
+ "avatar_id": {
455
+ "anyOf": [
456
+ {
457
+ "type": "string",
458
+ "format": "uuid"
459
+ },
460
+ {
461
+ "type": "null"
462
+ }
463
+ ]
464
+ },
465
+ "display_kind": {
466
+ "type": "string",
467
+ "enum": [
468
+ "human",
469
+ "agent"
470
+ ]
471
+ }
472
+ },
473
+ "required": [
474
+ "user_uid",
475
+ "display_name",
476
+ "role",
477
+ "last_seen_at",
478
+ "avatar_id"
479
+ ],
480
+ "additionalProperties": false
481
+ }
482
+ },
483
+ "agents": {
484
+ "type": "array",
485
+ "items": {
486
+ "type": "object",
487
+ "properties": {
488
+ "id": {
489
+ "type": "string",
490
+ "format": "uuid"
491
+ },
492
+ "name": {
493
+ "type": "string"
494
+ },
495
+ "role": {
496
+ "type": "string"
497
+ },
498
+ "key_display": {
499
+ "type": "string"
500
+ },
501
+ "model": {
502
+ "anyOf": [
503
+ {
504
+ "type": "string"
505
+ },
506
+ {
507
+ "type": "null"
508
+ }
509
+ ]
510
+ },
511
+ "last_seen_at": {
512
+ "anyOf": [
513
+ {
514
+ "type": "string",
515
+ "format": "date-time"
516
+ },
517
+ {
518
+ "type": "null"
519
+ }
520
+ ]
521
+ },
522
+ "avatar_id": {
523
+ "anyOf": [
524
+ {
525
+ "type": "string",
526
+ "format": "uuid"
527
+ },
528
+ {
529
+ "type": "null"
530
+ }
531
+ ]
532
+ },
533
+ "assignable": {
534
+ "type": "boolean"
535
+ }
536
+ },
537
+ "required": [
538
+ "id",
539
+ "name",
540
+ "role",
541
+ "key_display",
542
+ "model",
543
+ "last_seen_at",
544
+ "avatar_id",
545
+ "assignable"
546
+ ],
547
+ "additionalProperties": false
548
+ }
549
+ }
187
550
  },
188
- "required": ["humans", "agents"],
551
+ "required": [
552
+ "humans",
553
+ "agents"
554
+ ],
189
555
  "additionalProperties": false
190
556
  }
191
557
  },
192
558
  "list_conversations": {
193
- "inputSchema": {"type": "object", "properties": {"limit": {"type": "integer", "minimum": 1, "maximum": 200}, "before_id": {"type": "string", "format": "uuid"}}, "required": [], "additionalProperties": false},
194
- "outputSchema": {"type": "object", "properties": {"conversations": {"type": "array", "items": {"$ref": "#/$defs/conversation"}}, "next_before_id": {"anyOf": [{"type": "string", "format": "uuid"}, {"type": "null"}]}}, "required": ["conversations", "next_before_id"], "additionalProperties": false}
559
+ "inputSchema": {
560
+ "type": "object",
561
+ "properties": {
562
+ "limit": {
563
+ "type": "integer",
564
+ "minimum": 1,
565
+ "maximum": 200
566
+ },
567
+ "before_id": {
568
+ "type": "string",
569
+ "format": "uuid"
570
+ }
571
+ },
572
+ "required": [],
573
+ "additionalProperties": false
574
+ },
575
+ "outputSchema": {
576
+ "type": "object",
577
+ "properties": {
578
+ "conversations": {
579
+ "type": "array",
580
+ "items": {
581
+ "$ref": "#/$defs/conversation"
582
+ }
583
+ },
584
+ "next_before_id": {
585
+ "anyOf": [
586
+ {
587
+ "type": "string",
588
+ "format": "uuid"
589
+ },
590
+ {
591
+ "type": "null"
592
+ }
593
+ ]
594
+ }
595
+ },
596
+ "required": [
597
+ "conversations",
598
+ "next_before_id"
599
+ ],
600
+ "additionalProperties": false
601
+ }
195
602
  },
196
603
  "create_conversation": {
197
- "inputSchema": {"type": "object", "properties": {"participants": {"type": "array", "items": {"type": "object", "properties": {"kind": {"type": "string", "enum": ["human", "agent"]}, "id": {"type": "string", "minLength": 1}}, "required": ["kind", "id"], "additionalProperties": false}}}, "required": ["participants"], "additionalProperties": false},
198
- "outputSchema": {"type": "object", "properties": {"conversation": {"$ref": "#/$defs/conversation"}}, "required": ["conversation"], "additionalProperties": false}
604
+ "inputSchema": {
605
+ "type": "object",
606
+ "properties": {
607
+ "participants": {
608
+ "type": "array",
609
+ "items": {
610
+ "type": "object",
611
+ "properties": {
612
+ "kind": {
613
+ "type": "string",
614
+ "enum": [
615
+ "human",
616
+ "agent"
617
+ ]
618
+ },
619
+ "id": {
620
+ "type": "string",
621
+ "minLength": 1
622
+ }
623
+ },
624
+ "required": [
625
+ "kind",
626
+ "id"
627
+ ],
628
+ "additionalProperties": false
629
+ }
630
+ }
631
+ },
632
+ "required": [
633
+ "participants"
634
+ ],
635
+ "additionalProperties": false
636
+ },
637
+ "outputSchema": {
638
+ "type": "object",
639
+ "properties": {
640
+ "conversation": {
641
+ "$ref": "#/$defs/conversation"
642
+ }
643
+ },
644
+ "required": [
645
+ "conversation"
646
+ ],
647
+ "additionalProperties": false
648
+ }
199
649
  },
200
650
  "read_conversation_messages": {
201
- "inputSchema": {"type": "object", "properties": {"conversation_id": {"type": "string", "format": "uuid"}, "limit": {"type": "integer", "minimum": 1, "maximum": 200}, "before_id": {"type": "string", "format": "uuid"}}, "required": ["conversation_id"], "additionalProperties": false},
202
- "outputSchema": {"type": "object", "properties": {"messages": {"type": "array", "items": {"$ref": "#/$defs/conversation_message"}}, "next_before_id": {"anyOf": [{"type": "string", "format": "uuid"}, {"type": "null"}]}}, "required": ["messages", "next_before_id"], "additionalProperties": false}
651
+ "inputSchema": {
652
+ "type": "object",
653
+ "properties": {
654
+ "conversation_id": {
655
+ "type": "string",
656
+ "format": "uuid"
657
+ },
658
+ "limit": {
659
+ "type": "integer",
660
+ "minimum": 1,
661
+ "maximum": 200
662
+ },
663
+ "before_id": {
664
+ "type": "string",
665
+ "format": "uuid"
666
+ }
667
+ },
668
+ "required": [
669
+ "conversation_id"
670
+ ],
671
+ "additionalProperties": false
672
+ },
673
+ "outputSchema": {
674
+ "type": "object",
675
+ "properties": {
676
+ "messages": {
677
+ "type": "array",
678
+ "items": {
679
+ "$ref": "#/$defs/conversation_message"
680
+ }
681
+ },
682
+ "next_before_id": {
683
+ "anyOf": [
684
+ {
685
+ "type": "string",
686
+ "format": "uuid"
687
+ },
688
+ {
689
+ "type": "null"
690
+ }
691
+ ]
692
+ }
693
+ },
694
+ "required": [
695
+ "messages",
696
+ "next_before_id"
697
+ ],
698
+ "additionalProperties": false
699
+ }
203
700
  },
204
701
  "post_conversation_message": {
205
- "inputSchema": {"type": "object", "properties": {"conversation_id": {"type": "string", "format": "uuid"}, "body_md": {"type": "string", "minLength": 1, "maxLength": 8192}}, "required": ["conversation_id", "body_md"], "additionalProperties": false},
206
- "outputSchema": {"type": "object", "properties": {"message": {"$ref": "#/$defs/conversation_message"}}, "required": ["message"], "additionalProperties": false}
702
+ "inputSchema": {
703
+ "type": "object",
704
+ "properties": {
705
+ "conversation_id": {
706
+ "type": "string",
707
+ "format": "uuid"
708
+ },
709
+ "body_md": {
710
+ "type": "string",
711
+ "minLength": 1,
712
+ "maxLength": 8192
713
+ }
714
+ },
715
+ "required": [
716
+ "conversation_id",
717
+ "body_md"
718
+ ],
719
+ "additionalProperties": false
720
+ },
721
+ "outputSchema": {
722
+ "type": "object",
723
+ "properties": {
724
+ "message": {
725
+ "$ref": "#/$defs/conversation_message"
726
+ }
727
+ },
728
+ "required": [
729
+ "message"
730
+ ],
731
+ "additionalProperties": false
732
+ }
733
+ },
734
+ "edit_card": {
735
+ "inputSchema": {
736
+ "type": "object",
737
+ "properties": {
738
+ "card_id": {
739
+ "type": "string",
740
+ "format": "uuid"
741
+ },
742
+ "title": {
743
+ "type": "string",
744
+ "pattern": "\\S"
745
+ },
746
+ "body_md": {
747
+ "type": [
748
+ "string",
749
+ "null"
750
+ ],
751
+ "maxLength": 16384,
752
+ "description": "Complete replacement markdown description, including acceptance criteria. Read the current card first and preserve any sections you are not changing."
753
+ }
754
+ },
755
+ "required": [
756
+ "card_id",
757
+ "title",
758
+ "body_md"
759
+ ],
760
+ "additionalProperties": false
761
+ },
762
+ "outputSchema": {
763
+ "type": "object",
764
+ "properties": {
765
+ "card": {
766
+ "$ref": "#/$defs/card"
767
+ }
768
+ },
769
+ "required": [
770
+ "card"
771
+ ],
772
+ "additionalProperties": false
773
+ }
774
+ },
775
+ "assign_card": {
776
+ "inputSchema": {
777
+ "type": "object",
778
+ "properties": {
779
+ "card_id": {
780
+ "type": "string",
781
+ "format": "uuid"
782
+ },
783
+ "assignee_kind": {
784
+ "type": "string",
785
+ "enum": [
786
+ "human",
787
+ "agent"
788
+ ]
789
+ },
790
+ "assignee_id": {
791
+ "type": "string",
792
+ "minLength": 1
793
+ }
794
+ },
795
+ "required": [
796
+ "card_id",
797
+ "assignee_kind",
798
+ "assignee_id"
799
+ ],
800
+ "additionalProperties": false
801
+ },
802
+ "outputSchema": {
803
+ "type": "object",
804
+ "properties": {
805
+ "card": {
806
+ "$ref": "#/$defs/card"
807
+ }
808
+ },
809
+ "required": [
810
+ "card"
811
+ ],
812
+ "additionalProperties": false
813
+ }
814
+ },
815
+ "create_ask": {
816
+ "inputSchema": {
817
+ "type": "object",
818
+ "properties": {
819
+ "text": {
820
+ "type": "string",
821
+ "minLength": 1,
822
+ "maxLength": 8192
823
+ },
824
+ "ttl_minutes": {
825
+ "type": [
826
+ "integer",
827
+ "null"
828
+ ],
829
+ "minimum": 1,
830
+ "maximum": 10080
831
+ }
832
+ },
833
+ "required": [
834
+ "text"
835
+ ],
836
+ "additionalProperties": false
837
+ },
838
+ "outputSchema": {
839
+ "type": "object",
840
+ "properties": {
841
+ "ask": {
842
+ "$ref": "#/$defs/ask"
843
+ }
844
+ },
845
+ "required": [
846
+ "ask"
847
+ ],
848
+ "additionalProperties": false
849
+ }
850
+ },
851
+ "claim_ask": {
852
+ "inputSchema": {
853
+ "type": "object",
854
+ "properties": {
855
+ "ask_id": {
856
+ "type": "string",
857
+ "format": "uuid"
858
+ }
859
+ },
860
+ "required": [
861
+ "ask_id"
862
+ ],
863
+ "additionalProperties": false
864
+ },
865
+ "outputSchema": {
866
+ "type": "object",
867
+ "properties": {
868
+ "ask": {
869
+ "$ref": "#/$defs/ask"
870
+ }
871
+ },
872
+ "required": [
873
+ "ask"
874
+ ],
875
+ "additionalProperties": false
876
+ }
877
+ },
878
+ "resolve_ask": {
879
+ "inputSchema": {
880
+ "type": "object",
881
+ "properties": {
882
+ "ask_id": {
883
+ "type": "string",
884
+ "format": "uuid"
885
+ },
886
+ "note": {
887
+ "type": "string",
888
+ "maxLength": 8192
889
+ }
890
+ },
891
+ "required": [
892
+ "ask_id"
893
+ ],
894
+ "additionalProperties": false
895
+ },
896
+ "outputSchema": {
897
+ "type": "object",
898
+ "properties": {
899
+ "ask": {
900
+ "$ref": "#/$defs/ask"
901
+ }
902
+ },
903
+ "required": [
904
+ "ask"
905
+ ],
906
+ "additionalProperties": false
907
+ }
908
+ },
909
+ "list_documents": {
910
+ "inputSchema": {
911
+ "type": "object",
912
+ "properties": {
913
+ "lifecycle": {
914
+ "type": "string",
915
+ "enum": [
916
+ "trashed"
917
+ ]
918
+ }
919
+ },
920
+ "required": [],
921
+ "additionalProperties": false
922
+ },
923
+ "outputSchema": {
924
+ "type": "object",
925
+ "properties": {
926
+ "documents": {
927
+ "type": "array",
928
+ "items": {
929
+ "type": "object",
930
+ "properties": {
931
+ "id": {
932
+ "type": "string",
933
+ "format": "uuid"
934
+ },
935
+ "title": {
936
+ "type": "string"
937
+ },
938
+ "current_version": {
939
+ "type": "integer",
940
+ "minimum": 1
941
+ },
942
+ "updated_by": {
943
+ "type": "string"
944
+ },
945
+ "updated_at": {
946
+ "type": "string",
947
+ "format": "date-time"
948
+ }
949
+ },
950
+ "required": [
951
+ "id",
952
+ "title",
953
+ "current_version"
954
+ ],
955
+ "additionalProperties": true
956
+ }
957
+ }
958
+ },
959
+ "required": [
960
+ "documents"
961
+ ],
962
+ "additionalProperties": false
963
+ }
964
+ },
965
+ "read_document": {
966
+ "inputSchema": {
967
+ "type": "object",
968
+ "properties": {
969
+ "document_id": {
970
+ "type": "string",
971
+ "format": "uuid"
972
+ }
973
+ },
974
+ "required": [
975
+ "document_id"
976
+ ],
977
+ "additionalProperties": false
978
+ },
979
+ "outputSchema": {
980
+ "type": "object",
981
+ "properties": {
982
+ "id": {
983
+ "type": "string",
984
+ "format": "uuid"
985
+ },
986
+ "title": {
987
+ "type": "string"
988
+ },
989
+ "current_version": {
990
+ "type": "integer",
991
+ "minimum": 1
992
+ },
993
+ "updated_by": {
994
+ "type": "string"
995
+ },
996
+ "updated_at": {
997
+ "type": "string",
998
+ "format": "date-time"
999
+ },
1000
+ "body_md": {
1001
+ "type": "string"
1002
+ }
1003
+ },
1004
+ "required": [
1005
+ "id",
1006
+ "title",
1007
+ "body_md",
1008
+ "current_version"
1009
+ ],
1010
+ "additionalProperties": true
1011
+ }
1012
+ },
1013
+ "create_document": {
1014
+ "inputSchema": {
1015
+ "type": "object",
1016
+ "properties": {
1017
+ "title": {
1018
+ "type": "string",
1019
+ "pattern": "\\S"
1020
+ },
1021
+ "body_md": {
1022
+ "type": "string"
1023
+ },
1024
+ "collection": {
1025
+ "type": [
1026
+ "string",
1027
+ "null"
1028
+ ]
1029
+ },
1030
+ "tags": {
1031
+ "type": "array",
1032
+ "items": {
1033
+ "type": "string"
1034
+ }
1035
+ },
1036
+ "summary": {
1037
+ "type": [
1038
+ "string",
1039
+ "null"
1040
+ ]
1041
+ }
1042
+ },
1043
+ "required": [
1044
+ "title"
1045
+ ],
1046
+ "additionalProperties": false
1047
+ },
1048
+ "outputSchema": {
1049
+ "type": "object",
1050
+ "properties": {
1051
+ "document_id": {
1052
+ "type": "string",
1053
+ "format": "uuid"
1054
+ },
1055
+ "version": {
1056
+ "type": "integer",
1057
+ "minimum": 1
1058
+ }
1059
+ },
1060
+ "required": [
1061
+ "document_id",
1062
+ "version"
1063
+ ],
1064
+ "additionalProperties": false
1065
+ }
1066
+ },
1067
+ "edit_document": {
1068
+ "inputSchema": {
1069
+ "type": "object",
1070
+ "properties": {
1071
+ "document_id": {
1072
+ "type": "string",
1073
+ "format": "uuid"
1074
+ },
1075
+ "body_md": {
1076
+ "type": "string"
1077
+ },
1078
+ "expected_version": {
1079
+ "type": "integer",
1080
+ "minimum": 1
1081
+ },
1082
+ "summary": {
1083
+ "type": "string"
1084
+ },
1085
+ "allow_clear": {
1086
+ "type": "boolean",
1087
+ "description": "Explicitly permit the API wipe guard to clear a document. Default false."
1088
+ }
1089
+ },
1090
+ "required": [
1091
+ "document_id",
1092
+ "body_md",
1093
+ "expected_version"
1094
+ ],
1095
+ "additionalProperties": false
1096
+ },
1097
+ "outputSchema": {
1098
+ "type": "object",
1099
+ "properties": {
1100
+ "document_id": {
1101
+ "type": "string",
1102
+ "format": "uuid"
1103
+ },
1104
+ "version": {
1105
+ "type": "integer",
1106
+ "minimum": 1
1107
+ }
1108
+ },
1109
+ "required": [
1110
+ "document_id",
1111
+ "version"
1112
+ ],
1113
+ "additionalProperties": false
1114
+ }
1115
+ },
1116
+ "get_my_instructions": {
1117
+ "inputSchema": {
1118
+ "type": "object",
1119
+ "properties": {},
1120
+ "additionalProperties": false
1121
+ },
1122
+ "outputSchema": {
1123
+ "type": "object",
1124
+ "properties": {
1125
+ "instructions": {
1126
+ "type": "string"
1127
+ },
1128
+ "version": {
1129
+ "anyOf": [
1130
+ {
1131
+ "type": "integer",
1132
+ "minimum": 1
1133
+ },
1134
+ {
1135
+ "type": "null"
1136
+ }
1137
+ ]
1138
+ }
1139
+ },
1140
+ "required": [
1141
+ "instructions",
1142
+ "version"
1143
+ ],
1144
+ "additionalProperties": false
1145
+ }
1146
+ },
1147
+ "terminal_wake_start": {
1148
+ "inputSchema": {
1149
+ "type": "object",
1150
+ "properties": {
1151
+ "connection_id": {
1152
+ "type": "string",
1153
+ "format": "uuid"
1154
+ },
1155
+ "client": {
1156
+ "enum": [
1157
+ "claude",
1158
+ "codex"
1159
+ ]
1160
+ },
1161
+ "runtime_version": {
1162
+ "type": "string",
1163
+ "pattern": "^\\d+\\.\\d+\\.\\d+$"
1164
+ },
1165
+ "binding_id": {
1166
+ "type": "string",
1167
+ "format": "uuid"
1168
+ }
1169
+ },
1170
+ "required": [
1171
+ "connection_id",
1172
+ "client",
1173
+ "runtime_version",
1174
+ "binding_id"
1175
+ ],
1176
+ "additionalProperties": false
1177
+ },
1178
+ "outputSchema": {
1179
+ "type": "object",
1180
+ "properties": {
1181
+ "connection_id": {
1182
+ "type": "string",
1183
+ "format": "uuid"
1184
+ }
1185
+ },
1186
+ "required": [
1187
+ "connection_id"
1188
+ ],
1189
+ "additionalProperties": false
1190
+ }
1191
+ },
1192
+ "terminal_wake_poll": {
1193
+ "inputSchema": {
1194
+ "type": "object",
1195
+ "properties": {
1196
+ "connection_id": {
1197
+ "type": "string",
1198
+ "format": "uuid"
1199
+ }
1200
+ },
1201
+ "required": [
1202
+ "connection_id"
1203
+ ],
1204
+ "additionalProperties": false
1205
+ },
1206
+ "outputSchema": {
1207
+ "type": "object",
1208
+ "properties": {
1209
+ "connection_id": {
1210
+ "type": "string",
1211
+ "format": "uuid"
1212
+ },
1213
+ "workspace_id": {
1214
+ "type": "string",
1215
+ "format": "uuid"
1216
+ },
1217
+ "agent_id": {
1218
+ "type": "string",
1219
+ "format": "uuid"
1220
+ },
1221
+ "events": {
1222
+ "type": "array",
1223
+ "maxItems": 20,
1224
+ "items": {
1225
+ "type": "object",
1226
+ "properties": {
1227
+ "event_id": {
1228
+ "type": "string",
1229
+ "format": "uuid"
1230
+ },
1231
+ "kind": {
1232
+ "enum": [
1233
+ "probe",
1234
+ "mention",
1235
+ "dm",
1236
+ "assignment"
1237
+ ]
1238
+ },
1239
+ "source_id": {
1240
+ "type": "string"
1241
+ },
1242
+ "stream_id": {
1243
+ "type": [
1244
+ "string",
1245
+ "null"
1246
+ ]
1247
+ }
1248
+ },
1249
+ "required": [
1250
+ "event_id",
1251
+ "kind",
1252
+ "source_id",
1253
+ "stream_id"
1254
+ ],
1255
+ "additionalProperties": false
1256
+ }
1257
+ }
1258
+ },
1259
+ "required": [
1260
+ "connection_id",
1261
+ "workspace_id",
1262
+ "agent_id",
1263
+ "events"
1264
+ ],
1265
+ "additionalProperties": false
1266
+ }
1267
+ },
1268
+ "terminal_wake_receipt": {
1269
+ "inputSchema": {
1270
+ "type": "object",
1271
+ "properties": {
1272
+ "connection_id": {
1273
+ "type": "string",
1274
+ "format": "uuid"
1275
+ },
1276
+ "event_id": {
1277
+ "type": "string",
1278
+ "format": "uuid"
1279
+ },
1280
+ "stage": {
1281
+ "enum": [
1282
+ "transport",
1283
+ "agent"
1284
+ ]
1285
+ }
1286
+ },
1287
+ "required": [
1288
+ "connection_id",
1289
+ "event_id",
1290
+ "stage"
1291
+ ],
1292
+ "additionalProperties": false
1293
+ },
1294
+ "outputSchema": {
1295
+ "type": "object",
1296
+ "properties": {
1297
+ "received": {
1298
+ "const": true
1299
+ }
1300
+ },
1301
+ "required": [
1302
+ "received"
1303
+ ],
1304
+ "additionalProperties": false
1305
+ }
1306
+ },
1307
+ "terminal_wake_checkin": {
1308
+ "inputSchema": {
1309
+ "type": "object",
1310
+ "properties": {
1311
+ "connection_id": {
1312
+ "type": "string",
1313
+ "format": "uuid"
1314
+ },
1315
+ "state": {
1316
+ "enum": [
1317
+ "alive",
1318
+ "closed",
1319
+ "delivery_failed",
1320
+ "authentication",
1321
+ "unsupported_runtime"
1322
+ ]
1323
+ }
1324
+ },
1325
+ "required": [
1326
+ "connection_id",
1327
+ "state"
1328
+ ],
1329
+ "additionalProperties": false
1330
+ },
1331
+ "outputSchema": {
1332
+ "type": "object",
1333
+ "properties": {
1334
+ "received": {
1335
+ "const": true
1336
+ }
1337
+ },
1338
+ "required": [
1339
+ "received"
1340
+ ],
1341
+ "additionalProperties": false
1342
+ }
207
1343
  }
208
1344
  }