@warmio/contracts 2.0.0 → 3.0.2

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.
Files changed (71) hide show
  1. package/README.md +3 -3
  2. package/dist/api/endpoints.d.ts +34 -48
  3. package/dist/api/endpoints.d.ts.map +1 -1
  4. package/dist/api/endpoints.js +36 -56
  5. package/dist/api/endpoints.js.map +1 -1
  6. package/dist/examples/financial-context.d.ts.map +1 -1
  7. package/dist/examples/financial-context.js +2 -1
  8. package/dist/examples/financial-context.js.map +1 -1
  9. package/dist/generated/base-openapi.d.ts +1 -1
  10. package/dist/generated/base-openapi.d.ts.map +1 -1
  11. package/dist/generated/base-openapi.js +1 -1
  12. package/dist/generated/base-openapi.js.map +1 -1
  13. package/dist/generated/mcp-package-release-metadata.d.ts +7 -0
  14. package/dist/generated/mcp-package-release-metadata.d.ts.map +1 -0
  15. package/dist/generated/mcp-package-release-metadata.js +7 -0
  16. package/dist/generated/mcp-package-release-metadata.js.map +1 -0
  17. package/dist/generated/private-mcp-tool-descriptors.d.ts +28 -43
  18. package/dist/generated/private-mcp-tool-descriptors.d.ts.map +1 -1
  19. package/dist/generated/private-mcp-tool-descriptors.js +38 -52
  20. package/dist/generated/private-mcp-tool-descriptors.js.map +1 -1
  21. package/dist/generated/protected-crawler-paths.d.ts +1 -1
  22. package/dist/generated/protected-crawler-paths.d.ts.map +1 -1
  23. package/dist/generated/protected-crawler-paths.js +3 -0
  24. package/dist/generated/protected-crawler-paths.js.map +1 -1
  25. package/dist/generated/warm-app-api-manifest.d.ts +1264 -0
  26. package/dist/generated/warm-app-api-manifest.d.ts.map +1 -0
  27. package/dist/generated/warm-app-api-manifest.js +1884 -0
  28. package/dist/generated/warm-app-api-manifest.js.map +1 -0
  29. package/dist/index.d.ts +0 -1
  30. package/dist/index.d.ts.map +1 -1
  31. package/dist/index.js +0 -1
  32. package/dist/index.js.map +1 -1
  33. package/dist/manifest.d.ts +600 -1176
  34. package/dist/manifest.d.ts.map +1 -1
  35. package/dist/manifest.js +31 -35
  36. package/dist/manifest.js.map +1 -1
  37. package/dist/mcp/distribution.d.ts +241 -71
  38. package/dist/mcp/distribution.d.ts.map +1 -1
  39. package/dist/mcp/distribution.js +137 -56
  40. package/dist/mcp/distribution.js.map +1 -1
  41. package/dist/mcp/tools.d.ts +1030 -29
  42. package/dist/mcp/tools.d.ts.map +1 -1
  43. package/dist/mcp/tools.js +11 -30
  44. package/dist/mcp/tools.js.map +1 -1
  45. package/dist/openapi/base.yaml +44 -67
  46. package/dist/openapi/build-openapi.d.ts +8 -2
  47. package/dist/openapi/build-openapi.d.ts.map +1 -1
  48. package/dist/openapi/build-openapi.js +93 -21
  49. package/dist/openapi/build-openapi.js.map +1 -1
  50. package/dist/product.d.ts.map +1 -1
  51. package/dist/product.js +9 -1
  52. package/dist/product.js.map +1 -1
  53. package/dist/schemas/financial-context.d.ts +33 -0
  54. package/dist/schemas/financial-context.d.ts.map +1 -1
  55. package/dist/schemas/financial-context.js +21 -6
  56. package/dist/schemas/financial-context.js.map +1 -1
  57. package/dist/schemas/index.d.ts +1 -0
  58. package/dist/schemas/index.d.ts.map +1 -1
  59. package/dist/schemas/index.js +1 -0
  60. package/dist/schemas/index.js.map +1 -1
  61. package/dist/schemas/public-api.d.ts +1368 -0
  62. package/dist/schemas/public-api.d.ts.map +1 -0
  63. package/dist/schemas/public-api.js +181 -0
  64. package/dist/schemas/public-api.js.map +1 -0
  65. package/dist/types.d.ts +8 -2
  66. package/dist/types.d.ts.map +1 -1
  67. package/package.json +1 -8
  68. package/dist/public-discovery.d.ts +0 -116
  69. package/dist/public-discovery.d.ts.map +0 -1
  70. package/dist/public-discovery.js +0 -91
  71. package/dist/public-discovery.js.map +0 -1
@@ -0,0 +1,1884 @@
1
+ // Generated by tools/tasks/generate-contract-manifest.mts. Do not edit.
2
+ export const warmAppApiManifest = {
3
+ "api": {
4
+ "endpoints": [
5
+ {
6
+ "authorization": "read_only",
7
+ "method": "GET",
8
+ "operation_id": "verifyApiAccess",
9
+ "path": "/api/verify",
10
+ "summary": "Verify API credentials"
11
+ },
12
+ {
13
+ "authorization": "read_only",
14
+ "method": "GET",
15
+ "operation_id": "getDatasetExport",
16
+ "path": "/api/export",
17
+ "summary": "Get a typed dataset export"
18
+ },
19
+ {
20
+ "authorization": "read_only",
21
+ "method": "GET",
22
+ "operation_id": "getFinancialContext",
23
+ "path": "/api/financial-context",
24
+ "summary": "Get compact financial context"
25
+ },
26
+ {
27
+ "authorization": "read_only",
28
+ "method": "GET",
29
+ "operation_id": "getFinancialContextTransactions",
30
+ "path": "/api/financial-context/transactions",
31
+ "summary": "Get financial-context transactions"
32
+ },
33
+ {
34
+ "authorization": "read_only",
35
+ "method": "GET",
36
+ "operation_id": "getFinancialContextMeta",
37
+ "path": "/api/financial-context/meta",
38
+ "summary": "Get financial-context metadata"
39
+ },
40
+ {
41
+ "authorization": "automation",
42
+ "method": "POST",
43
+ "operation_id": "searchOperations",
44
+ "path": "/api/automation/operations/search",
45
+ "summary": "Search supported automation operations"
46
+ },
47
+ {
48
+ "authorization": "automation",
49
+ "method": "POST",
50
+ "operation_id": "describeOperation",
51
+ "path": "/api/automation/operations/describe",
52
+ "summary": "Describe one supported operation"
53
+ },
54
+ {
55
+ "authorization": "automation",
56
+ "method": "POST",
57
+ "operation_id": "invokeOperation",
58
+ "path": "/api/automation/operations/invoke",
59
+ "summary": "Invoke one supported operation"
60
+ }
61
+ ],
62
+ "origins": {
63
+ "api": "https://app.warm.io"
64
+ },
65
+ "paths": {
66
+ "openapi": "/openapi.yaml",
67
+ "verify": "/api/verify"
68
+ }
69
+ },
70
+ "mcp": {
71
+ "distribution": {
72
+ "clients": [
73
+ {
74
+ "id": "claude-code",
75
+ "name": "Claude Code",
76
+ "format": "json",
77
+ "configDialect": "mcpServers",
78
+ "alwaysInclude": true,
79
+ "configPaths": {
80
+ "darwin": {
81
+ "root": "home",
82
+ "segments": [
83
+ ".claude.json"
84
+ ]
85
+ },
86
+ "linux": {
87
+ "root": "home",
88
+ "segments": [
89
+ ".claude.json"
90
+ ]
91
+ },
92
+ "win32": {
93
+ "root": "home",
94
+ "segments": [
95
+ ".claude.json"
96
+ ]
97
+ }
98
+ }
99
+ },
100
+ {
101
+ "id": "claude-desktop",
102
+ "name": "Claude Desktop",
103
+ "format": "json",
104
+ "configDialect": "mcpServers",
105
+ "configPaths": {
106
+ "darwin": {
107
+ "root": "home",
108
+ "segments": [
109
+ "Library",
110
+ "Application Support",
111
+ "Claude",
112
+ "claude_desktop_config.json"
113
+ ]
114
+ },
115
+ "linux": {
116
+ "root": "home",
117
+ "segments": [
118
+ ".config",
119
+ "claude",
120
+ "claude_desktop_config.json"
121
+ ]
122
+ },
123
+ "win32": {
124
+ "root": "appData",
125
+ "segments": [
126
+ "Claude",
127
+ "claude_desktop_config.json"
128
+ ]
129
+ }
130
+ }
131
+ },
132
+ {
133
+ "id": "cursor",
134
+ "name": "Cursor",
135
+ "format": "json",
136
+ "configDialect": "mcpServers",
137
+ "configPaths": {
138
+ "darwin": {
139
+ "root": "home",
140
+ "segments": [
141
+ ".cursor",
142
+ "mcp.json"
143
+ ]
144
+ },
145
+ "linux": {
146
+ "root": "home",
147
+ "segments": [
148
+ ".cursor",
149
+ "mcp.json"
150
+ ]
151
+ },
152
+ "win32": {
153
+ "root": "home",
154
+ "segments": [
155
+ ".cursor",
156
+ "mcp.json"
157
+ ]
158
+ }
159
+ }
160
+ },
161
+ {
162
+ "id": "windsurf",
163
+ "name": "Windsurf",
164
+ "format": "json",
165
+ "configDialect": "mcpServers",
166
+ "configPaths": {
167
+ "darwin": {
168
+ "root": "home",
169
+ "segments": [
170
+ ".codeium",
171
+ "windsurf",
172
+ "mcp_config.json"
173
+ ]
174
+ },
175
+ "linux": {
176
+ "root": "home",
177
+ "segments": [
178
+ ".codeium",
179
+ "windsurf",
180
+ "mcp_config.json"
181
+ ]
182
+ },
183
+ "win32": {
184
+ "root": "home",
185
+ "segments": [
186
+ ".codeium",
187
+ "windsurf",
188
+ "mcp_config.json"
189
+ ]
190
+ }
191
+ }
192
+ },
193
+ {
194
+ "id": "opencode",
195
+ "name": "OpenCode",
196
+ "format": "json",
197
+ "configDialect": "openCode",
198
+ "configPaths": {
199
+ "darwin": {
200
+ "root": "home",
201
+ "segments": [
202
+ ".config",
203
+ "opencode",
204
+ "opencode.json"
205
+ ]
206
+ },
207
+ "linux": {
208
+ "root": "home",
209
+ "segments": [
210
+ ".config",
211
+ "opencode",
212
+ "opencode.json"
213
+ ]
214
+ },
215
+ "win32": {
216
+ "root": "home",
217
+ "segments": [
218
+ ".config",
219
+ "opencode",
220
+ "opencode.json"
221
+ ]
222
+ }
223
+ }
224
+ },
225
+ {
226
+ "id": "codex-cli",
227
+ "name": "Codex CLI",
228
+ "format": "toml",
229
+ "configDialect": "mcpServers",
230
+ "configPaths": {
231
+ "darwin": {
232
+ "root": "home",
233
+ "segments": [
234
+ ".codex",
235
+ "config.toml"
236
+ ]
237
+ },
238
+ "linux": {
239
+ "root": "home",
240
+ "segments": [
241
+ ".codex",
242
+ "config.toml"
243
+ ]
244
+ },
245
+ "win32": {
246
+ "root": "home",
247
+ "segments": [
248
+ ".codex",
249
+ "config.toml"
250
+ ]
251
+ }
252
+ }
253
+ },
254
+ {
255
+ "id": "antigravity",
256
+ "name": "Antigravity",
257
+ "format": "json",
258
+ "configDialect": "mcpServers",
259
+ "configPaths": {
260
+ "darwin": {
261
+ "root": "home",
262
+ "segments": [
263
+ ".gemini",
264
+ "antigravity",
265
+ "mcp_config.json"
266
+ ]
267
+ },
268
+ "linux": {
269
+ "root": "home",
270
+ "segments": [
271
+ ".gemini",
272
+ "antigravity",
273
+ "mcp_config.json"
274
+ ]
275
+ },
276
+ "win32": {
277
+ "root": "home",
278
+ "segments": [
279
+ ".gemini",
280
+ "antigravity",
281
+ "mcp_config.json"
282
+ ]
283
+ }
284
+ }
285
+ },
286
+ {
287
+ "id": "gemini-cli",
288
+ "name": "Gemini CLI",
289
+ "format": "json",
290
+ "configDialect": "mcpServers",
291
+ "configPaths": {
292
+ "darwin": {
293
+ "root": "home",
294
+ "segments": [
295
+ ".gemini",
296
+ "settings.json"
297
+ ]
298
+ },
299
+ "linux": {
300
+ "root": "home",
301
+ "segments": [
302
+ ".gemini",
303
+ "settings.json"
304
+ ]
305
+ },
306
+ "win32": {
307
+ "root": "home",
308
+ "segments": [
309
+ ".gemini",
310
+ "settings.json"
311
+ ]
312
+ }
313
+ }
314
+ }
315
+ ],
316
+ "credentials": {
317
+ "apiKeyEnv": "WARM_API_KEY",
318
+ "apiKeyFileEnv": "WARM_API_KEY_FILE",
319
+ "defaultFileName": "api_key"
320
+ },
321
+ "installCommand": "npx -y @warmio/mcp@11.0.7",
322
+ "installerCommand": "npx -y @warmio/mcp@11.0.7 install",
323
+ "minimumNodeVersion": ">=18",
324
+ "packageIntegrity": {
325
+ "algorithm": "sha512",
326
+ "registryIntegrity": null,
327
+ "trustedPublishReadbackGate": {
328
+ "package": "@warmio/mcp",
329
+ "registryField": "dist.integrity",
330
+ "requiredBeforeTrust": true,
331
+ "version": "11.0.7",
332
+ "workflow": ".github/workflows/publish-mcp.yml"
333
+ }
334
+ },
335
+ "packageName": "@warmio/mcp",
336
+ "packageSpec": "@warmio/mcp@11.0.7",
337
+ "packageVersion": "11.0.7",
338
+ "projectConfigs": [
339
+ ".mcp.json",
340
+ ".cursor/mcp.json",
341
+ ".vscode/mcp.json"
342
+ ],
343
+ "serverCommand": "npx -y @warmio/mcp@11.0.7 mcp",
344
+ "serverConfig": {
345
+ "args": [
346
+ "-y",
347
+ "@warmio/mcp@11.0.7",
348
+ "mcp"
349
+ ],
350
+ "command": "npx",
351
+ "serverName": "warm"
352
+ }
353
+ },
354
+ "tools": [
355
+ {
356
+ "name": "get_financial_context",
357
+ "description": "Read-only compact FinancialContext JSON. Includes status.position, status.accounts, transaction index total/months, recurring, budgets, goals, snapshots, liabilities, holdings, and health. The status.position field is a point-in-time (as-of-date) balance snapshot, separate from transaction and behavior windows. A null position means no position snapshot is available. Transaction items are not inline; use get_transactions for items.",
358
+ "annotations": {
359
+ "readOnlyHint": true,
360
+ "destructiveHint": false,
361
+ "openWorldHint": false
362
+ },
363
+ "input_schema": {
364
+ "type": "object",
365
+ "properties": {},
366
+ "additionalProperties": false,
367
+ "$schema": "https://json-schema.org/draft-07/schema#"
368
+ },
369
+ "output_schema": {
370
+ "type": "object",
371
+ "properties": {
372
+ "version": {
373
+ "type": "string",
374
+ "enum": [
375
+ "v1"
376
+ ]
377
+ },
378
+ "updated_at": {
379
+ "type": "string",
380
+ "format": "date-time"
381
+ },
382
+ "currency": {
383
+ "type": "string",
384
+ "enum": [
385
+ "USD"
386
+ ]
387
+ },
388
+ "status": {
389
+ "type": "object",
390
+ "properties": {
391
+ "position": {
392
+ "anyOf": [
393
+ {
394
+ "type": "object",
395
+ "properties": {
396
+ "date": {
397
+ "anyOf": [
398
+ {
399
+ "type": "string",
400
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
401
+ },
402
+ {
403
+ "type": "null"
404
+ }
405
+ ]
406
+ },
407
+ "net_worth": {
408
+ "anyOf": [
409
+ {
410
+ "type": "number"
411
+ },
412
+ {
413
+ "type": "null"
414
+ }
415
+ ]
416
+ },
417
+ "cash": {
418
+ "anyOf": [
419
+ {
420
+ "type": "number"
421
+ },
422
+ {
423
+ "type": "null"
424
+ }
425
+ ]
426
+ },
427
+ "debt": {
428
+ "anyOf": [
429
+ {
430
+ "type": "number"
431
+ },
432
+ {
433
+ "type": "null"
434
+ }
435
+ ]
436
+ },
437
+ "investments": {
438
+ "anyOf": [
439
+ {
440
+ "type": "number"
441
+ },
442
+ {
443
+ "type": "null"
444
+ }
445
+ ]
446
+ },
447
+ "other_assets": {
448
+ "anyOf": [
449
+ {
450
+ "type": "number"
451
+ },
452
+ {
453
+ "type": "null"
454
+ }
455
+ ]
456
+ },
457
+ "total_assets": {
458
+ "anyOf": [
459
+ {
460
+ "type": "number"
461
+ },
462
+ {
463
+ "type": "null"
464
+ }
465
+ ]
466
+ }
467
+ },
468
+ "required": [
469
+ "date",
470
+ "net_worth",
471
+ "cash",
472
+ "debt",
473
+ "investments",
474
+ "other_assets",
475
+ "total_assets"
476
+ ],
477
+ "additionalProperties": false,
478
+ "description": "The status.position field is a point-in-time (as-of-date) balance snapshot, separate from transaction and behavior windows. A null position means no position snapshot is available."
479
+ },
480
+ {
481
+ "type": "null"
482
+ }
483
+ ],
484
+ "description": "The status.position field is a point-in-time (as-of-date) balance snapshot, separate from transaction and behavior windows. A null position means no position snapshot is available."
485
+ },
486
+ "accounts": {
487
+ "type": "array",
488
+ "items": {
489
+ "type": "object",
490
+ "properties": {
491
+ "id": {
492
+ "type": "string"
493
+ },
494
+ "name": {
495
+ "type": "string"
496
+ },
497
+ "source": {
498
+ "anyOf": [
499
+ {
500
+ "type": "string",
501
+ "enum": [
502
+ "plaid",
503
+ "manual",
504
+ "csv_import"
505
+ ]
506
+ },
507
+ {
508
+ "type": "null"
509
+ }
510
+ ]
511
+ },
512
+ "type": {
513
+ "type": "string",
514
+ "enum": [
515
+ "depository",
516
+ "credit",
517
+ "loan",
518
+ "investment",
519
+ "brokerage",
520
+ "other"
521
+ ]
522
+ },
523
+ "subtype": {
524
+ "type": [
525
+ "string",
526
+ "null"
527
+ ]
528
+ },
529
+ "group": {
530
+ "anyOf": [
531
+ {
532
+ "type": "string",
533
+ "enum": [
534
+ "cash",
535
+ "debt",
536
+ "investments"
537
+ ]
538
+ },
539
+ {
540
+ "type": "null"
541
+ }
542
+ ]
543
+ },
544
+ "institution": {
545
+ "type": [
546
+ "string",
547
+ "null"
548
+ ]
549
+ },
550
+ "mask": {
551
+ "type": [
552
+ "string",
553
+ "null"
554
+ ]
555
+ },
556
+ "balance": {
557
+ "anyOf": [
558
+ {
559
+ "type": "number"
560
+ },
561
+ {
562
+ "type": "null"
563
+ }
564
+ ]
565
+ },
566
+ "available": {
567
+ "anyOf": [
568
+ {
569
+ "type": "number"
570
+ },
571
+ {
572
+ "type": "null"
573
+ }
574
+ ]
575
+ },
576
+ "currency": {
577
+ "type": [
578
+ "string",
579
+ "null"
580
+ ]
581
+ },
582
+ "updated_at": {
583
+ "anyOf": [
584
+ {
585
+ "type": "string",
586
+ "format": "date-time"
587
+ },
588
+ {
589
+ "type": "null"
590
+ }
591
+ ]
592
+ }
593
+ },
594
+ "required": [
595
+ "id",
596
+ "name",
597
+ "source",
598
+ "type",
599
+ "subtype",
600
+ "group",
601
+ "institution",
602
+ "mask",
603
+ "balance",
604
+ "available",
605
+ "currency",
606
+ "updated_at"
607
+ ],
608
+ "additionalProperties": false
609
+ }
610
+ }
611
+ },
612
+ "required": [
613
+ "position",
614
+ "accounts"
615
+ ],
616
+ "additionalProperties": false
617
+ },
618
+ "transactions": {
619
+ "type": "object",
620
+ "properties": {
621
+ "total": {
622
+ "type": "integer",
623
+ "minimum": 0
624
+ },
625
+ "months": {
626
+ "type": "array",
627
+ "items": {
628
+ "type": "object",
629
+ "properties": {
630
+ "month": {
631
+ "type": "string",
632
+ "pattern": "^\\d{4}-(0[1-9]|1[0-2])$"
633
+ },
634
+ "count": {
635
+ "type": "integer",
636
+ "minimum": 0
637
+ }
638
+ },
639
+ "required": [
640
+ "month",
641
+ "count"
642
+ ],
643
+ "additionalProperties": false
644
+ }
645
+ }
646
+ },
647
+ "required": [
648
+ "total",
649
+ "months"
650
+ ],
651
+ "additionalProperties": false
652
+ },
653
+ "recurring": {
654
+ "type": "array",
655
+ "items": {
656
+ "type": "object",
657
+ "properties": {
658
+ "id": {
659
+ "type": "string"
660
+ },
661
+ "account_id": {
662
+ "type": [
663
+ "string",
664
+ "null"
665
+ ]
666
+ },
667
+ "direction": {
668
+ "anyOf": [
669
+ {
670
+ "type": "string",
671
+ "enum": [
672
+ "inflow",
673
+ "outflow"
674
+ ]
675
+ },
676
+ {
677
+ "type": "null"
678
+ }
679
+ ]
680
+ },
681
+ "frequency": {
682
+ "anyOf": [
683
+ {
684
+ "type": "string",
685
+ "enum": [
686
+ "WEEKLY",
687
+ "BIWEEKLY",
688
+ "MONTHLY",
689
+ "QUARTERLY",
690
+ "SEMI_ANNUALLY",
691
+ "ANNUALLY"
692
+ ]
693
+ },
694
+ {
695
+ "type": "null"
696
+ }
697
+ ]
698
+ },
699
+ "status": {
700
+ "anyOf": [
701
+ {
702
+ "type": "string",
703
+ "enum": [
704
+ "active",
705
+ "inactive",
706
+ "dismissed"
707
+ ]
708
+ },
709
+ {
710
+ "type": "null"
711
+ }
712
+ ]
713
+ },
714
+ "merchant": {
715
+ "type": [
716
+ "string",
717
+ "null"
718
+ ]
719
+ },
720
+ "amount": {
721
+ "anyOf": [
722
+ {
723
+ "type": "number"
724
+ },
725
+ {
726
+ "type": "null"
727
+ }
728
+ ]
729
+ },
730
+ "next_date": {
731
+ "anyOf": [
732
+ {
733
+ "type": "string",
734
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
735
+ },
736
+ {
737
+ "type": "null"
738
+ }
739
+ ]
740
+ }
741
+ },
742
+ "required": [
743
+ "id",
744
+ "account_id",
745
+ "direction",
746
+ "frequency",
747
+ "status",
748
+ "merchant",
749
+ "amount",
750
+ "next_date"
751
+ ],
752
+ "additionalProperties": false
753
+ }
754
+ },
755
+ "budgets": {
756
+ "type": "array",
757
+ "items": {
758
+ "type": "object",
759
+ "properties": {
760
+ "id": {
761
+ "type": "string"
762
+ },
763
+ "name": {
764
+ "type": "string"
765
+ },
766
+ "type": {
767
+ "type": "string",
768
+ "enum": [
769
+ "category",
770
+ "merchant"
771
+ ]
772
+ },
773
+ "period": {
774
+ "type": "string",
775
+ "enum": [
776
+ "weekly",
777
+ "biweekly",
778
+ "monthly"
779
+ ]
780
+ },
781
+ "status": {
782
+ "type": "string",
783
+ "enum": [
784
+ "under",
785
+ "warning",
786
+ "over"
787
+ ]
788
+ },
789
+ "amount": {
790
+ "type": "number"
791
+ },
792
+ "spent": {
793
+ "type": "number"
794
+ },
795
+ "remaining": {
796
+ "type": "number"
797
+ },
798
+ "used_percent": {
799
+ "type": "number"
800
+ }
801
+ },
802
+ "required": [
803
+ "id",
804
+ "name",
805
+ "type",
806
+ "period",
807
+ "status",
808
+ "amount",
809
+ "spent",
810
+ "remaining",
811
+ "used_percent"
812
+ ],
813
+ "additionalProperties": false
814
+ }
815
+ },
816
+ "goals": {
817
+ "type": "array",
818
+ "items": {
819
+ "type": "object",
820
+ "properties": {
821
+ "id": {
822
+ "type": "string"
823
+ },
824
+ "name": {
825
+ "type": "string"
826
+ },
827
+ "category": {
828
+ "type": "string"
829
+ },
830
+ "status": {
831
+ "type": "string",
832
+ "enum": [
833
+ "not_started",
834
+ "in_progress",
835
+ "on_track",
836
+ "behind",
837
+ "completed"
838
+ ]
839
+ },
840
+ "target": {
841
+ "type": "number"
842
+ },
843
+ "current": {
844
+ "type": "number"
845
+ },
846
+ "progress_percent": {
847
+ "type": "number"
848
+ },
849
+ "target_date": {
850
+ "anyOf": [
851
+ {
852
+ "type": "string",
853
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
854
+ },
855
+ {
856
+ "type": "null"
857
+ }
858
+ ]
859
+ }
860
+ },
861
+ "required": [
862
+ "id",
863
+ "name",
864
+ "category",
865
+ "status",
866
+ "target",
867
+ "current",
868
+ "progress_percent",
869
+ "target_date"
870
+ ],
871
+ "additionalProperties": false
872
+ }
873
+ },
874
+ "snapshots": {
875
+ "type": "array",
876
+ "items": {
877
+ "type": "object",
878
+ "properties": {
879
+ "date": {
880
+ "type": "string",
881
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
882
+ },
883
+ "net_worth": {
884
+ "anyOf": [
885
+ {
886
+ "type": "number"
887
+ },
888
+ {
889
+ "type": "null"
890
+ }
891
+ ]
892
+ },
893
+ "cash": {
894
+ "anyOf": [
895
+ {
896
+ "type": "number"
897
+ },
898
+ {
899
+ "type": "null"
900
+ }
901
+ ]
902
+ },
903
+ "debt": {
904
+ "anyOf": [
905
+ {
906
+ "type": "number"
907
+ },
908
+ {
909
+ "type": "null"
910
+ }
911
+ ]
912
+ },
913
+ "income": {
914
+ "anyOf": [
915
+ {
916
+ "type": "number"
917
+ },
918
+ {
919
+ "type": "null"
920
+ }
921
+ ]
922
+ },
923
+ "expenses": {
924
+ "anyOf": [
925
+ {
926
+ "type": "number"
927
+ },
928
+ {
929
+ "type": "null"
930
+ }
931
+ ]
932
+ },
933
+ "cash_flow": {
934
+ "anyOf": [
935
+ {
936
+ "type": "number"
937
+ },
938
+ {
939
+ "type": "null"
940
+ }
941
+ ]
942
+ },
943
+ "savings_rate": {
944
+ "anyOf": [
945
+ {
946
+ "type": "number"
947
+ },
948
+ {
949
+ "type": "null"
950
+ }
951
+ ]
952
+ },
953
+ "investments": {
954
+ "anyOf": [
955
+ {
956
+ "type": "number"
957
+ },
958
+ {
959
+ "type": "null"
960
+ }
961
+ ]
962
+ },
963
+ "assets": {
964
+ "anyOf": [
965
+ {
966
+ "type": "number"
967
+ },
968
+ {
969
+ "type": "null"
970
+ }
971
+ ]
972
+ },
973
+ "health_score": {
974
+ "anyOf": [
975
+ {
976
+ "type": "number"
977
+ },
978
+ {
979
+ "type": "null"
980
+ }
981
+ ]
982
+ },
983
+ "health_score_model_version": {
984
+ "anyOf": [
985
+ {
986
+ "type": "number",
987
+ "const": 2
988
+ },
989
+ {
990
+ "type": "null"
991
+ }
992
+ ]
993
+ }
994
+ },
995
+ "required": [
996
+ "date",
997
+ "net_worth",
998
+ "cash",
999
+ "debt",
1000
+ "income",
1001
+ "expenses",
1002
+ "cash_flow",
1003
+ "savings_rate",
1004
+ "investments",
1005
+ "assets",
1006
+ "health_score",
1007
+ "health_score_model_version"
1008
+ ],
1009
+ "additionalProperties": false
1010
+ }
1011
+ },
1012
+ "liabilities": {
1013
+ "type": "array",
1014
+ "items": {
1015
+ "type": "object",
1016
+ "properties": {
1017
+ "account_id": {
1018
+ "type": [
1019
+ "string",
1020
+ "null"
1021
+ ]
1022
+ },
1023
+ "type": {
1024
+ "anyOf": [
1025
+ {
1026
+ "type": "string",
1027
+ "enum": [
1028
+ "credit",
1029
+ "student",
1030
+ "mortgage",
1031
+ "other"
1032
+ ]
1033
+ },
1034
+ {
1035
+ "type": "null"
1036
+ }
1037
+ ]
1038
+ },
1039
+ "balance": {
1040
+ "anyOf": [
1041
+ {
1042
+ "type": "number"
1043
+ },
1044
+ {
1045
+ "type": "null"
1046
+ }
1047
+ ]
1048
+ },
1049
+ "minimum_payment": {
1050
+ "anyOf": [
1051
+ {
1052
+ "type": "number"
1053
+ },
1054
+ {
1055
+ "type": "null"
1056
+ }
1057
+ ]
1058
+ },
1059
+ "due_date": {
1060
+ "anyOf": [
1061
+ {
1062
+ "type": "string",
1063
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
1064
+ },
1065
+ {
1066
+ "type": "null"
1067
+ }
1068
+ ]
1069
+ },
1070
+ "interest_rate": {
1071
+ "anyOf": [
1072
+ {
1073
+ "type": "number"
1074
+ },
1075
+ {
1076
+ "type": "null"
1077
+ }
1078
+ ]
1079
+ },
1080
+ "rate_type": {
1081
+ "anyOf": [
1082
+ {
1083
+ "type": "string",
1084
+ "enum": [
1085
+ "fixed",
1086
+ "variable"
1087
+ ]
1088
+ },
1089
+ {
1090
+ "type": "null"
1091
+ }
1092
+ ]
1093
+ },
1094
+ "overdue": {
1095
+ "type": [
1096
+ "boolean",
1097
+ "null"
1098
+ ]
1099
+ }
1100
+ },
1101
+ "required": [
1102
+ "account_id",
1103
+ "type",
1104
+ "balance",
1105
+ "minimum_payment",
1106
+ "due_date",
1107
+ "interest_rate",
1108
+ "rate_type",
1109
+ "overdue"
1110
+ ],
1111
+ "additionalProperties": false
1112
+ }
1113
+ },
1114
+ "holdings": {
1115
+ "type": "array",
1116
+ "items": {
1117
+ "type": "object",
1118
+ "properties": {
1119
+ "account_id": {
1120
+ "type": [
1121
+ "string",
1122
+ "null"
1123
+ ]
1124
+ },
1125
+ "symbol": {
1126
+ "type": [
1127
+ "string",
1128
+ "null"
1129
+ ]
1130
+ },
1131
+ "name": {
1132
+ "type": [
1133
+ "string",
1134
+ "null"
1135
+ ]
1136
+ },
1137
+ "type": {
1138
+ "anyOf": [
1139
+ {
1140
+ "type": "string",
1141
+ "enum": [
1142
+ "cash",
1143
+ "derivative",
1144
+ "equity",
1145
+ "etf",
1146
+ "fixed_income",
1147
+ "mutual_fund",
1148
+ "other"
1149
+ ]
1150
+ },
1151
+ {
1152
+ "type": "null"
1153
+ }
1154
+ ]
1155
+ },
1156
+ "quantity": {
1157
+ "anyOf": [
1158
+ {
1159
+ "type": "number"
1160
+ },
1161
+ {
1162
+ "type": "null"
1163
+ }
1164
+ ]
1165
+ },
1166
+ "value": {
1167
+ "anyOf": [
1168
+ {
1169
+ "type": "number"
1170
+ },
1171
+ {
1172
+ "type": "null"
1173
+ }
1174
+ ]
1175
+ },
1176
+ "cost_basis": {
1177
+ "anyOf": [
1178
+ {
1179
+ "type": "number"
1180
+ },
1181
+ {
1182
+ "type": "null"
1183
+ }
1184
+ ]
1185
+ }
1186
+ },
1187
+ "required": [
1188
+ "account_id",
1189
+ "symbol",
1190
+ "name",
1191
+ "type",
1192
+ "quantity",
1193
+ "value",
1194
+ "cost_basis"
1195
+ ],
1196
+ "additionalProperties": false
1197
+ }
1198
+ },
1199
+ "health": {
1200
+ "anyOf": [
1201
+ {
1202
+ "type": "object",
1203
+ "properties": {
1204
+ "score": {
1205
+ "type": "number"
1206
+ },
1207
+ "model_version": {
1208
+ "type": "number",
1209
+ "const": 2
1210
+ },
1211
+ "record_count": {
1212
+ "type": "integer",
1213
+ "minimum": 0
1214
+ },
1215
+ "label": {
1216
+ "type": "string",
1217
+ "enum": [
1218
+ "Needs Attention",
1219
+ "Good",
1220
+ "Strong"
1221
+ ]
1222
+ },
1223
+ "level": {
1224
+ "type": "string",
1225
+ "enum": [
1226
+ "strong",
1227
+ "good",
1228
+ "fair",
1229
+ "poor",
1230
+ "critical"
1231
+ ]
1232
+ },
1233
+ "summary": {
1234
+ "type": "string"
1235
+ },
1236
+ "data_completeness": {
1237
+ "type": "number"
1238
+ },
1239
+ "pillars": {
1240
+ "anyOf": [
1241
+ {
1242
+ "type": "object",
1243
+ "properties": {
1244
+ "spend": {
1245
+ "anyOf": [
1246
+ {
1247
+ "type": "number"
1248
+ },
1249
+ {
1250
+ "type": "null"
1251
+ }
1252
+ ]
1253
+ },
1254
+ "save": {
1255
+ "anyOf": [
1256
+ {
1257
+ "type": "number"
1258
+ },
1259
+ {
1260
+ "type": "null"
1261
+ }
1262
+ ]
1263
+ },
1264
+ "borrow": {
1265
+ "anyOf": [
1266
+ {
1267
+ "type": "number"
1268
+ },
1269
+ {
1270
+ "type": "null"
1271
+ }
1272
+ ]
1273
+ },
1274
+ "build": {
1275
+ "anyOf": [
1276
+ {
1277
+ "type": "number"
1278
+ },
1279
+ {
1280
+ "type": "null"
1281
+ }
1282
+ ]
1283
+ }
1284
+ },
1285
+ "required": [
1286
+ "spend",
1287
+ "save",
1288
+ "borrow",
1289
+ "build"
1290
+ ],
1291
+ "additionalProperties": false
1292
+ },
1293
+ {
1294
+ "type": "null"
1295
+ }
1296
+ ]
1297
+ }
1298
+ },
1299
+ "required": [
1300
+ "score",
1301
+ "model_version",
1302
+ "record_count",
1303
+ "label",
1304
+ "level",
1305
+ "summary",
1306
+ "data_completeness",
1307
+ "pillars"
1308
+ ],
1309
+ "additionalProperties": false
1310
+ },
1311
+ {
1312
+ "type": "null"
1313
+ }
1314
+ ]
1315
+ }
1316
+ },
1317
+ "required": [
1318
+ "version",
1319
+ "updated_at",
1320
+ "currency",
1321
+ "status",
1322
+ "transactions",
1323
+ "recurring",
1324
+ "budgets",
1325
+ "goals",
1326
+ "snapshots",
1327
+ "liabilities",
1328
+ "holdings",
1329
+ "health"
1330
+ ],
1331
+ "additionalProperties": false,
1332
+ "$schema": "https://json-schema.org/draft-07/schema#"
1333
+ }
1334
+ },
1335
+ {
1336
+ "name": "get_transactions",
1337
+ "description": "Read-only transactions from the FinancialContext artifact. Pass `period: \"latest\"` for the fixed 10-day latest window or `period: \"YYYY-MM\"` for a month page. The latest window is not caller-configurable. Months outside the covered range return an error.",
1338
+ "annotations": {
1339
+ "readOnlyHint": true,
1340
+ "destructiveHint": false,
1341
+ "openWorldHint": false
1342
+ },
1343
+ "input_schema": {
1344
+ "type": "object",
1345
+ "properties": {
1346
+ "period": {
1347
+ "anyOf": [
1348
+ {
1349
+ "type": "string",
1350
+ "const": "latest"
1351
+ },
1352
+ {
1353
+ "type": "string",
1354
+ "pattern": "^\\d{4}-(0[1-9]|1[0-2])$"
1355
+ }
1356
+ ],
1357
+ "description": "Use \"latest\" for the fixed 10-day window or a YYYY-MM month. Months outside the covered range return an error."
1358
+ }
1359
+ },
1360
+ "required": [
1361
+ "period"
1362
+ ],
1363
+ "additionalProperties": false,
1364
+ "$schema": "https://json-schema.org/draft-07/schema#"
1365
+ },
1366
+ "output_schema": {
1367
+ "anyOf": [
1368
+ {
1369
+ "type": "object",
1370
+ "properties": {
1371
+ "month": {
1372
+ "type": "string",
1373
+ "pattern": "^\\d{4}-(0[1-9]|1[0-2])$"
1374
+ },
1375
+ "start_date": {
1376
+ "type": "string",
1377
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
1378
+ },
1379
+ "end_date": {
1380
+ "type": "string",
1381
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
1382
+ },
1383
+ "count": {
1384
+ "type": "integer",
1385
+ "minimum": 0
1386
+ },
1387
+ "items": {
1388
+ "type": "array",
1389
+ "items": {
1390
+ "type": "object",
1391
+ "properties": {
1392
+ "id": {
1393
+ "type": "string"
1394
+ },
1395
+ "account_id": {
1396
+ "type": [
1397
+ "string",
1398
+ "null"
1399
+ ]
1400
+ },
1401
+ "date": {
1402
+ "anyOf": [
1403
+ {
1404
+ "type": "string",
1405
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
1406
+ },
1407
+ {
1408
+ "type": "null"
1409
+ }
1410
+ ]
1411
+ },
1412
+ "amount": {
1413
+ "type": "number"
1414
+ },
1415
+ "merchant": {
1416
+ "type": [
1417
+ "string",
1418
+ "null"
1419
+ ]
1420
+ },
1421
+ "name": {
1422
+ "type": [
1423
+ "string",
1424
+ "null"
1425
+ ]
1426
+ },
1427
+ "category": {
1428
+ "type": [
1429
+ "string",
1430
+ "null"
1431
+ ]
1432
+ },
1433
+ "subcategory": {
1434
+ "type": [
1435
+ "string",
1436
+ "null"
1437
+ ]
1438
+ },
1439
+ "pending": {
1440
+ "type": [
1441
+ "boolean",
1442
+ "null"
1443
+ ]
1444
+ },
1445
+ "currency": {
1446
+ "type": [
1447
+ "string",
1448
+ "null"
1449
+ ]
1450
+ }
1451
+ },
1452
+ "required": [
1453
+ "id",
1454
+ "account_id",
1455
+ "date",
1456
+ "amount",
1457
+ "merchant",
1458
+ "name",
1459
+ "category",
1460
+ "subcategory",
1461
+ "pending",
1462
+ "currency"
1463
+ ],
1464
+ "additionalProperties": false
1465
+ }
1466
+ }
1467
+ },
1468
+ "required": [
1469
+ "month",
1470
+ "start_date",
1471
+ "end_date",
1472
+ "count",
1473
+ "items"
1474
+ ],
1475
+ "additionalProperties": false
1476
+ },
1477
+ {
1478
+ "type": "object",
1479
+ "properties": {
1480
+ "since": {
1481
+ "type": "string",
1482
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
1483
+ },
1484
+ "window_days": {
1485
+ "type": "number",
1486
+ "const": 10
1487
+ },
1488
+ "count": {
1489
+ "type": "integer",
1490
+ "minimum": 0
1491
+ },
1492
+ "items": {
1493
+ "type": "array",
1494
+ "items": {
1495
+ "type": "object",
1496
+ "properties": {
1497
+ "id": {
1498
+ "type": "string"
1499
+ },
1500
+ "account_id": {
1501
+ "type": [
1502
+ "string",
1503
+ "null"
1504
+ ]
1505
+ },
1506
+ "date": {
1507
+ "anyOf": [
1508
+ {
1509
+ "type": "string",
1510
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
1511
+ },
1512
+ {
1513
+ "type": "null"
1514
+ }
1515
+ ]
1516
+ },
1517
+ "amount": {
1518
+ "type": "number"
1519
+ },
1520
+ "merchant": {
1521
+ "type": [
1522
+ "string",
1523
+ "null"
1524
+ ]
1525
+ },
1526
+ "name": {
1527
+ "type": [
1528
+ "string",
1529
+ "null"
1530
+ ]
1531
+ },
1532
+ "category": {
1533
+ "type": [
1534
+ "string",
1535
+ "null"
1536
+ ]
1537
+ },
1538
+ "subcategory": {
1539
+ "type": [
1540
+ "string",
1541
+ "null"
1542
+ ]
1543
+ },
1544
+ "pending": {
1545
+ "type": [
1546
+ "boolean",
1547
+ "null"
1548
+ ]
1549
+ },
1550
+ "currency": {
1551
+ "type": [
1552
+ "string",
1553
+ "null"
1554
+ ]
1555
+ }
1556
+ },
1557
+ "required": [
1558
+ "id",
1559
+ "account_id",
1560
+ "date",
1561
+ "amount",
1562
+ "merchant",
1563
+ "name",
1564
+ "category",
1565
+ "subcategory",
1566
+ "pending",
1567
+ "currency"
1568
+ ],
1569
+ "additionalProperties": false
1570
+ }
1571
+ }
1572
+ },
1573
+ "required": [
1574
+ "since",
1575
+ "window_days",
1576
+ "count",
1577
+ "items"
1578
+ ],
1579
+ "additionalProperties": false
1580
+ }
1581
+ ],
1582
+ "$schema": "https://json-schema.org/draft-07/schema#"
1583
+ }
1584
+ },
1585
+ {
1586
+ "name": "search_operations",
1587
+ "description": "Search the supported Warm operation catalog. Use this first to find the smallest matching operation.",
1588
+ "annotations": {
1589
+ "readOnlyHint": true,
1590
+ "destructiveHint": false,
1591
+ "openWorldHint": false
1592
+ },
1593
+ "input_schema": {
1594
+ "type": "object",
1595
+ "properties": {
1596
+ "query": {
1597
+ "type": "string",
1598
+ "maxLength": 200,
1599
+ "description": "Words describing the action or data you need."
1600
+ }
1601
+ },
1602
+ "additionalProperties": false,
1603
+ "$schema": "https://json-schema.org/draft-07/schema#"
1604
+ },
1605
+ "output_schema": {
1606
+ "type": "object",
1607
+ "properties": {
1608
+ "operations": {
1609
+ "type": "array",
1610
+ "items": {
1611
+ "type": "object",
1612
+ "properties": {
1613
+ "confirmation_required": {
1614
+ "type": "boolean"
1615
+ },
1616
+ "description": {
1617
+ "type": "string"
1618
+ },
1619
+ "method": {
1620
+ "type": "string",
1621
+ "enum": [
1622
+ "DELETE",
1623
+ "GET",
1624
+ "PATCH",
1625
+ "POST",
1626
+ "PUT"
1627
+ ]
1628
+ },
1629
+ "operation_id": {
1630
+ "type": "string"
1631
+ },
1632
+ "path": {
1633
+ "type": "string"
1634
+ },
1635
+ "risk": {
1636
+ "type": "array",
1637
+ "items": {
1638
+ "type": "string",
1639
+ "enum": [
1640
+ "read",
1641
+ "write",
1642
+ "destructive",
1643
+ "external_effect"
1644
+ ]
1645
+ }
1646
+ },
1647
+ "summary": {
1648
+ "type": "string"
1649
+ }
1650
+ },
1651
+ "required": [
1652
+ "confirmation_required",
1653
+ "description",
1654
+ "method",
1655
+ "operation_id",
1656
+ "path",
1657
+ "risk",
1658
+ "summary"
1659
+ ],
1660
+ "additionalProperties": false
1661
+ }
1662
+ }
1663
+ },
1664
+ "required": [
1665
+ "operations"
1666
+ ],
1667
+ "additionalProperties": false,
1668
+ "$schema": "https://json-schema.org/draft-07/schema#"
1669
+ }
1670
+ },
1671
+ {
1672
+ "name": "describe_operation",
1673
+ "description": "Describe one operation, including its input schema and risk. For write operations, pass the exact intended input to receive an approval with its ID, status, URL, and expiry.",
1674
+ "annotations": {
1675
+ "readOnlyHint": false,
1676
+ "destructiveHint": false,
1677
+ "openWorldHint": false
1678
+ },
1679
+ "input_schema": {
1680
+ "type": "object",
1681
+ "properties": {
1682
+ "operation_id": {
1683
+ "type": "string",
1684
+ "minLength": 1
1685
+ },
1686
+ "input": {
1687
+ "type": "object",
1688
+ "properties": {
1689
+ "body": {
1690
+ "type": "object",
1691
+ "additionalProperties": {}
1692
+ },
1693
+ "params": {
1694
+ "type": "object",
1695
+ "additionalProperties": {
1696
+ "type": "string"
1697
+ }
1698
+ }
1699
+ },
1700
+ "additionalProperties": false,
1701
+ "description": "Exact intended input. Required to obtain approval for a write operation."
1702
+ }
1703
+ },
1704
+ "required": [
1705
+ "operation_id"
1706
+ ],
1707
+ "additionalProperties": false,
1708
+ "$schema": "https://json-schema.org/draft-07/schema#"
1709
+ },
1710
+ "output_schema": {
1711
+ "type": "object",
1712
+ "properties": {
1713
+ "approval": {
1714
+ "type": "object",
1715
+ "properties": {
1716
+ "approval_url": {
1717
+ "type": "string",
1718
+ "format": "uri"
1719
+ },
1720
+ "expires_at": {
1721
+ "type": "string",
1722
+ "format": "date-time"
1723
+ },
1724
+ "id": {
1725
+ "type": "string",
1726
+ "minLength": 1
1727
+ },
1728
+ "status": {
1729
+ "type": "string",
1730
+ "const": "pending"
1731
+ }
1732
+ },
1733
+ "required": [
1734
+ "approval_url",
1735
+ "expires_at",
1736
+ "id",
1737
+ "status"
1738
+ ],
1739
+ "additionalProperties": false
1740
+ },
1741
+ "operation": {
1742
+ "type": "object",
1743
+ "properties": {
1744
+ "confirmation_required": {
1745
+ "type": "boolean"
1746
+ },
1747
+ "description": {
1748
+ "type": "string"
1749
+ },
1750
+ "method": {
1751
+ "type": "string",
1752
+ "enum": [
1753
+ "DELETE",
1754
+ "GET",
1755
+ "PATCH",
1756
+ "POST",
1757
+ "PUT"
1758
+ ]
1759
+ },
1760
+ "operation_id": {
1761
+ "type": "string"
1762
+ },
1763
+ "path": {
1764
+ "type": "string"
1765
+ },
1766
+ "risk": {
1767
+ "type": "array",
1768
+ "items": {
1769
+ "type": "string",
1770
+ "enum": [
1771
+ "read",
1772
+ "write",
1773
+ "destructive",
1774
+ "external_effect"
1775
+ ]
1776
+ }
1777
+ },
1778
+ "summary": {
1779
+ "type": "string"
1780
+ },
1781
+ "input_schema": {
1782
+ "type": "object",
1783
+ "additionalProperties": {}
1784
+ }
1785
+ },
1786
+ "required": [
1787
+ "confirmation_required",
1788
+ "description",
1789
+ "method",
1790
+ "operation_id",
1791
+ "path",
1792
+ "risk",
1793
+ "summary",
1794
+ "input_schema"
1795
+ ],
1796
+ "additionalProperties": false
1797
+ }
1798
+ },
1799
+ "required": [
1800
+ "operation"
1801
+ ],
1802
+ "additionalProperties": false,
1803
+ "$schema": "https://json-schema.org/draft-07/schema#"
1804
+ }
1805
+ },
1806
+ {
1807
+ "name": "invoke_operation",
1808
+ "description": "Invoke one previously discovered Warm operation. Every write operation requires the approval_id returned for the exact same input by describe_operation.",
1809
+ "annotations": {
1810
+ "readOnlyHint": false,
1811
+ "destructiveHint": true,
1812
+ "openWorldHint": false
1813
+ },
1814
+ "input_schema": {
1815
+ "type": "object",
1816
+ "properties": {
1817
+ "operation_id": {
1818
+ "type": "string",
1819
+ "minLength": 1
1820
+ },
1821
+ "input": {
1822
+ "type": "object",
1823
+ "properties": {
1824
+ "body": {
1825
+ "type": "object",
1826
+ "additionalProperties": {}
1827
+ },
1828
+ "params": {
1829
+ "type": "object",
1830
+ "additionalProperties": {
1831
+ "type": "string"
1832
+ }
1833
+ }
1834
+ },
1835
+ "additionalProperties": false,
1836
+ "description": "Exact intended input. Required to obtain approval for a write operation."
1837
+ },
1838
+ "approval_id": {
1839
+ "type": "string",
1840
+ "format": "uuid",
1841
+ "description": "Approval ID returned by describe_operation for the exact write input."
1842
+ }
1843
+ },
1844
+ "required": [
1845
+ "operation_id"
1846
+ ],
1847
+ "additionalProperties": false,
1848
+ "$schema": "https://json-schema.org/draft-07/schema#"
1849
+ },
1850
+ "output_schema": {
1851
+ "type": "object",
1852
+ "properties": {
1853
+ "body": {},
1854
+ "headers": {
1855
+ "type": "object",
1856
+ "additionalProperties": {
1857
+ "type": "string"
1858
+ }
1859
+ },
1860
+ "operation_id": {
1861
+ "type": "string"
1862
+ },
1863
+ "status": {
1864
+ "type": "integer"
1865
+ }
1866
+ },
1867
+ "required": [
1868
+ "headers",
1869
+ "operation_id",
1870
+ "status"
1871
+ ],
1872
+ "additionalProperties": false,
1873
+ "$schema": "https://json-schema.org/draft-07/schema#"
1874
+ }
1875
+ }
1876
+ ]
1877
+ },
1878
+ "package": {
1879
+ "name": "@warmio/contracts",
1880
+ "version": "3.0.2"
1881
+ },
1882
+ "digest": "sha256:62391bc30fd909f9c7cd8686773c98e97cc30bf9fc7996dfdd384c23c64f51ed"
1883
+ };
1884
+ //# sourceMappingURL=warm-app-api-manifest.js.map