bcb-br-mcp 1.2.0 → 1.3.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.
package/dist/tools.d.ts CHANGED
@@ -43,6 +43,7 @@ export interface ToolResult {
43
43
  type: "text";
44
44
  text: string;
45
45
  }>;
46
+ structuredContent?: Record<string, unknown>;
46
47
  isError?: boolean;
47
48
  }
48
49
  export interface ToolDefinition {
@@ -117,6 +118,95 @@ export declare const TOOL_DEFINITIONS: ({
117
118
  };
118
119
  required: string[];
119
120
  };
121
+ outputSchema: {
122
+ type: "object";
123
+ properties: {
124
+ serie: {
125
+ type: "object";
126
+ description: string;
127
+ properties: {
128
+ codigo: {
129
+ type: "number";
130
+ description: string;
131
+ };
132
+ nome: {
133
+ type: "string";
134
+ description: string;
135
+ };
136
+ categoria: {
137
+ type: "string";
138
+ description: string;
139
+ };
140
+ periodicidade: {
141
+ type: "string";
142
+ description: string;
143
+ };
144
+ };
145
+ required: string[];
146
+ };
147
+ totalRegistros: {
148
+ type: "number";
149
+ description: string;
150
+ };
151
+ periodoInicial: {
152
+ type: "string";
153
+ description: string;
154
+ };
155
+ periodoFinal: {
156
+ type: "string";
157
+ description: string;
158
+ };
159
+ dados: {
160
+ type: "array";
161
+ description: string;
162
+ items: {
163
+ type: "object";
164
+ properties: {
165
+ data: {
166
+ type: "string";
167
+ description: string;
168
+ };
169
+ valor: {
170
+ type: "number";
171
+ description: string;
172
+ };
173
+ };
174
+ required: string[];
175
+ };
176
+ };
177
+ observacao: {
178
+ type: "string";
179
+ description: string;
180
+ };
181
+ codigo?: undefined;
182
+ nome?: undefined;
183
+ unidade?: undefined;
184
+ periodicidade?: undefined;
185
+ fonte?: undefined;
186
+ categoria?: undefined;
187
+ especial?: undefined;
188
+ ultimoValor?: undefined;
189
+ urlConsulta?: undefined;
190
+ urlUltimos10?: undefined;
191
+ totalSeries?: undefined;
192
+ categorias?: undefined;
193
+ series?: undefined;
194
+ termo?: undefined;
195
+ totalEncontradas?: undefined;
196
+ mensagem?: undefined;
197
+ sugestao?: undefined;
198
+ consultadoEm?: undefined;
199
+ indicadores?: undefined;
200
+ periodo?: undefined;
201
+ analise?: undefined;
202
+ estatisticas?: undefined;
203
+ seriesComDados?: undefined;
204
+ seriesComErro?: undefined;
205
+ ranking?: undefined;
206
+ erros?: undefined;
207
+ };
208
+ required: string[];
209
+ };
120
210
  } | {
121
211
  name: string;
122
212
  description: string;
@@ -140,6 +230,89 @@ export declare const TOOL_DEFINITIONS: ({
140
230
  };
141
231
  required: string[];
142
232
  };
233
+ outputSchema: {
234
+ type: "object";
235
+ properties: {
236
+ serie: {
237
+ type: "object";
238
+ description: string;
239
+ properties: {
240
+ codigo: {
241
+ type: "number";
242
+ description: string;
243
+ };
244
+ nome: {
245
+ type: "string";
246
+ description: string;
247
+ };
248
+ categoria: {
249
+ type: "string";
250
+ description: string;
251
+ };
252
+ periodicidade: {
253
+ type: "string";
254
+ description: string;
255
+ };
256
+ };
257
+ required: string[];
258
+ };
259
+ totalRegistros: {
260
+ type: "number";
261
+ description: string;
262
+ };
263
+ dados: {
264
+ type: "array";
265
+ description: string;
266
+ items: {
267
+ type: "object";
268
+ properties: {
269
+ data: {
270
+ type: "string";
271
+ description: string;
272
+ };
273
+ valor: {
274
+ type: "number";
275
+ description: string;
276
+ };
277
+ };
278
+ required: string[];
279
+ };
280
+ };
281
+ observacao: {
282
+ type: "string";
283
+ description: string;
284
+ };
285
+ periodoInicial?: undefined;
286
+ periodoFinal?: undefined;
287
+ codigo?: undefined;
288
+ nome?: undefined;
289
+ unidade?: undefined;
290
+ periodicidade?: undefined;
291
+ fonte?: undefined;
292
+ categoria?: undefined;
293
+ especial?: undefined;
294
+ ultimoValor?: undefined;
295
+ urlConsulta?: undefined;
296
+ urlUltimos10?: undefined;
297
+ totalSeries?: undefined;
298
+ categorias?: undefined;
299
+ series?: undefined;
300
+ termo?: undefined;
301
+ totalEncontradas?: undefined;
302
+ mensagem?: undefined;
303
+ sugestao?: undefined;
304
+ consultadoEm?: undefined;
305
+ indicadores?: undefined;
306
+ periodo?: undefined;
307
+ analise?: undefined;
308
+ estatisticas?: undefined;
309
+ seriesComDados?: undefined;
310
+ seriesComErro?: undefined;
311
+ ranking?: undefined;
312
+ erros?: undefined;
313
+ };
314
+ required: string[];
315
+ };
143
316
  } | {
144
317
  name: string;
145
318
  description: string;
@@ -160,6 +333,88 @@ export declare const TOOL_DEFINITIONS: ({
160
333
  };
161
334
  required: string[];
162
335
  };
336
+ outputSchema: {
337
+ type: "object";
338
+ properties: {
339
+ codigo: {
340
+ type: "number";
341
+ description: string;
342
+ };
343
+ nome: {
344
+ type: "string";
345
+ description: string;
346
+ };
347
+ unidade: {
348
+ type: "string";
349
+ description: string;
350
+ };
351
+ periodicidade: {
352
+ type: "string";
353
+ description: string;
354
+ };
355
+ fonte: {
356
+ type: "string";
357
+ description: string;
358
+ };
359
+ categoria: {
360
+ type: "string";
361
+ description: string;
362
+ };
363
+ especial: {
364
+ type: "boolean";
365
+ description: string;
366
+ };
367
+ ultimoValor: {
368
+ description: string;
369
+ type: "object";
370
+ properties: {
371
+ data: {
372
+ type: "string";
373
+ description: string;
374
+ };
375
+ valor: {
376
+ type: "number";
377
+ description: string;
378
+ };
379
+ };
380
+ required: string[];
381
+ };
382
+ urlConsulta: {
383
+ type: "string";
384
+ description: string;
385
+ };
386
+ urlUltimos10: {
387
+ type: "string";
388
+ description: string;
389
+ };
390
+ observacao: {
391
+ type: "string";
392
+ description: string;
393
+ };
394
+ serie?: undefined;
395
+ totalRegistros?: undefined;
396
+ periodoInicial?: undefined;
397
+ periodoFinal?: undefined;
398
+ dados?: undefined;
399
+ totalSeries?: undefined;
400
+ categorias?: undefined;
401
+ series?: undefined;
402
+ termo?: undefined;
403
+ totalEncontradas?: undefined;
404
+ mensagem?: undefined;
405
+ sugestao?: undefined;
406
+ consultadoEm?: undefined;
407
+ indicadores?: undefined;
408
+ periodo?: undefined;
409
+ analise?: undefined;
410
+ estatisticas?: undefined;
411
+ seriesComDados?: undefined;
412
+ seriesComErro?: undefined;
413
+ ranking?: undefined;
414
+ erros?: undefined;
415
+ };
416
+ required: string[];
417
+ };
163
418
  } | {
164
419
  name: string;
165
420
  description: string;
@@ -180,6 +435,57 @@ export declare const TOOL_DEFINITIONS: ({
180
435
  };
181
436
  required?: undefined;
182
437
  };
438
+ outputSchema: {
439
+ type: "object";
440
+ properties: {
441
+ totalSeries: {
442
+ type: "number";
443
+ description: string;
444
+ };
445
+ categorias: {
446
+ type: "number";
447
+ description: string;
448
+ };
449
+ series: {
450
+ description: string;
451
+ type?: undefined;
452
+ items?: undefined;
453
+ };
454
+ observacao: {
455
+ type: "string";
456
+ description: string;
457
+ };
458
+ serie?: undefined;
459
+ totalRegistros?: undefined;
460
+ periodoInicial?: undefined;
461
+ periodoFinal?: undefined;
462
+ dados?: undefined;
463
+ codigo?: undefined;
464
+ nome?: undefined;
465
+ unidade?: undefined;
466
+ periodicidade?: undefined;
467
+ fonte?: undefined;
468
+ categoria?: undefined;
469
+ especial?: undefined;
470
+ ultimoValor?: undefined;
471
+ urlConsulta?: undefined;
472
+ urlUltimos10?: undefined;
473
+ termo?: undefined;
474
+ totalEncontradas?: undefined;
475
+ mensagem?: undefined;
476
+ sugestao?: undefined;
477
+ consultadoEm?: undefined;
478
+ indicadores?: undefined;
479
+ periodo?: undefined;
480
+ analise?: undefined;
481
+ estatisticas?: undefined;
482
+ seriesComDados?: undefined;
483
+ seriesComErro?: undefined;
484
+ ranking?: undefined;
485
+ erros?: undefined;
486
+ };
487
+ required: string[];
488
+ };
183
489
  } | {
184
490
  name: string;
185
491
  description: string;
@@ -200,6 +506,77 @@ export declare const TOOL_DEFINITIONS: ({
200
506
  };
201
507
  required: string[];
202
508
  };
509
+ outputSchema: {
510
+ type: "object";
511
+ properties: {
512
+ termo: {
513
+ type: "string";
514
+ description: string;
515
+ };
516
+ totalEncontradas: {
517
+ type: "number";
518
+ description: string;
519
+ };
520
+ series: {
521
+ type: "array";
522
+ description: string;
523
+ items: {
524
+ type: "object";
525
+ properties: {
526
+ codigo: {
527
+ type: "number";
528
+ };
529
+ nome: {
530
+ type: "string";
531
+ };
532
+ categoria: {
533
+ type: "string";
534
+ };
535
+ periodicidade: {
536
+ type: "string";
537
+ };
538
+ };
539
+ required: string[];
540
+ };
541
+ };
542
+ mensagem: {
543
+ type: "string";
544
+ description: string;
545
+ };
546
+ sugestao: {
547
+ type: "string";
548
+ description: string;
549
+ };
550
+ serie?: undefined;
551
+ totalRegistros?: undefined;
552
+ periodoInicial?: undefined;
553
+ periodoFinal?: undefined;
554
+ dados?: undefined;
555
+ observacao?: undefined;
556
+ codigo?: undefined;
557
+ nome?: undefined;
558
+ unidade?: undefined;
559
+ periodicidade?: undefined;
560
+ fonte?: undefined;
561
+ categoria?: undefined;
562
+ especial?: undefined;
563
+ ultimoValor?: undefined;
564
+ urlConsulta?: undefined;
565
+ urlUltimos10?: undefined;
566
+ totalSeries?: undefined;
567
+ categorias?: undefined;
568
+ consultadoEm?: undefined;
569
+ indicadores?: undefined;
570
+ periodo?: undefined;
571
+ analise?: undefined;
572
+ estatisticas?: undefined;
573
+ seriesComDados?: undefined;
574
+ seriesComErro?: undefined;
575
+ ranking?: undefined;
576
+ erros?: undefined;
577
+ };
578
+ required: string[];
579
+ };
203
580
  } | {
204
581
  name: string;
205
582
  description: string;
@@ -217,6 +594,76 @@ export declare const TOOL_DEFINITIONS: ({
217
594
  };
218
595
  required?: undefined;
219
596
  };
597
+ outputSchema: {
598
+ type: "object";
599
+ properties: {
600
+ consultadoEm: {
601
+ type: "string";
602
+ description: string;
603
+ };
604
+ indicadores: {
605
+ type: "array";
606
+ description: string;
607
+ items: {
608
+ type: "object";
609
+ properties: {
610
+ indicador: {
611
+ type: "string";
612
+ description: string;
613
+ };
614
+ codigo: {
615
+ type: "number";
616
+ description: string;
617
+ };
618
+ data: {
619
+ type: "string";
620
+ description: string;
621
+ };
622
+ valor: {
623
+ type: "number";
624
+ description: string;
625
+ };
626
+ erro: {
627
+ type: "string";
628
+ description: string;
629
+ };
630
+ };
631
+ required: string[];
632
+ };
633
+ };
634
+ serie?: undefined;
635
+ totalRegistros?: undefined;
636
+ periodoInicial?: undefined;
637
+ periodoFinal?: undefined;
638
+ dados?: undefined;
639
+ observacao?: undefined;
640
+ codigo?: undefined;
641
+ nome?: undefined;
642
+ unidade?: undefined;
643
+ periodicidade?: undefined;
644
+ fonte?: undefined;
645
+ categoria?: undefined;
646
+ especial?: undefined;
647
+ ultimoValor?: undefined;
648
+ urlConsulta?: undefined;
649
+ urlUltimos10?: undefined;
650
+ totalSeries?: undefined;
651
+ categorias?: undefined;
652
+ series?: undefined;
653
+ termo?: undefined;
654
+ totalEncontradas?: undefined;
655
+ mensagem?: undefined;
656
+ sugestao?: undefined;
657
+ periodo?: undefined;
658
+ analise?: undefined;
659
+ estatisticas?: undefined;
660
+ seriesComDados?: undefined;
661
+ seriesComErro?: undefined;
662
+ ranking?: undefined;
663
+ erros?: undefined;
664
+ };
665
+ required: string[];
666
+ };
220
667
  } | {
221
668
  name: string;
222
669
  description: string;
@@ -246,6 +693,113 @@ export declare const TOOL_DEFINITIONS: ({
246
693
  };
247
694
  required: string[];
248
695
  };
696
+ outputSchema: {
697
+ type: "object";
698
+ properties: {
699
+ serie: {
700
+ type: "object";
701
+ description: string;
702
+ properties: {
703
+ codigo: {
704
+ type: "number";
705
+ };
706
+ nome: {
707
+ type: "string";
708
+ };
709
+ categoria: {
710
+ type: "string";
711
+ };
712
+ };
713
+ required: string[];
714
+ };
715
+ periodo: {
716
+ type: "object";
717
+ description: string;
718
+ properties: {
719
+ dataInicial: {
720
+ type: "string";
721
+ };
722
+ dataFinal: {
723
+ type: "string";
724
+ };
725
+ totalPeriodos: {
726
+ type: "number";
727
+ };
728
+ };
729
+ required: string[];
730
+ };
731
+ analise: {
732
+ type: "object";
733
+ description: string;
734
+ properties: {
735
+ valorInicial: {
736
+ type: "number";
737
+ };
738
+ valorFinal: {
739
+ type: "number";
740
+ };
741
+ diferencaAbsoluta: {
742
+ type: "number";
743
+ };
744
+ variacaoPercentual: {
745
+ type: "number";
746
+ };
747
+ variacaoFormatada: {
748
+ type: "string";
749
+ };
750
+ };
751
+ required: string[];
752
+ };
753
+ estatisticas: {
754
+ type: "object";
755
+ description: string;
756
+ properties: {
757
+ maximo: {
758
+ type: "number";
759
+ };
760
+ minimo: {
761
+ type: "number";
762
+ };
763
+ media: {
764
+ type: "number";
765
+ };
766
+ amplitude: {
767
+ type: "number";
768
+ };
769
+ };
770
+ required: string[];
771
+ };
772
+ totalRegistros?: undefined;
773
+ periodoInicial?: undefined;
774
+ periodoFinal?: undefined;
775
+ dados?: undefined;
776
+ observacao?: undefined;
777
+ codigo?: undefined;
778
+ nome?: undefined;
779
+ unidade?: undefined;
780
+ periodicidade?: undefined;
781
+ fonte?: undefined;
782
+ categoria?: undefined;
783
+ especial?: undefined;
784
+ ultimoValor?: undefined;
785
+ urlConsulta?: undefined;
786
+ urlUltimos10?: undefined;
787
+ totalSeries?: undefined;
788
+ categorias?: undefined;
789
+ series?: undefined;
790
+ termo?: undefined;
791
+ totalEncontradas?: undefined;
792
+ mensagem?: undefined;
793
+ sugestao?: undefined;
794
+ consultadoEm?: undefined;
795
+ indicadores?: undefined;
796
+ seriesComDados?: undefined;
797
+ seriesComErro?: undefined;
798
+ ranking?: undefined;
799
+ erros?: undefined;
800
+ };
801
+ required: string[];
802
+ };
249
803
  } | {
250
804
  name: string;
251
805
  description: string;
@@ -275,6 +829,133 @@ export declare const TOOL_DEFINITIONS: ({
275
829
  };
276
830
  required: string[];
277
831
  };
832
+ outputSchema: {
833
+ type: "object";
834
+ properties: {
835
+ periodo: {
836
+ type: "object";
837
+ description: string;
838
+ properties: {
839
+ dataInicial: {
840
+ type: "string";
841
+ };
842
+ dataFinal: {
843
+ type: "string";
844
+ };
845
+ totalPeriodos?: undefined;
846
+ };
847
+ required: string[];
848
+ };
849
+ totalSeries: {
850
+ type: "number";
851
+ description: string;
852
+ };
853
+ seriesComDados: {
854
+ type: "number";
855
+ description: string;
856
+ };
857
+ seriesComErro: {
858
+ type: "number";
859
+ description: string;
860
+ };
861
+ ranking: {
862
+ type: "array";
863
+ description: string;
864
+ items: {
865
+ type: "object";
866
+ properties: {
867
+ posicao: {
868
+ type: "number";
869
+ description: string;
870
+ };
871
+ codigo: {
872
+ type: "number";
873
+ };
874
+ nome: {
875
+ type: "string";
876
+ };
877
+ categoria: {
878
+ type: "string";
879
+ };
880
+ periodicidade: {
881
+ type: "string";
882
+ };
883
+ totalRegistros: {
884
+ type: "number";
885
+ };
886
+ valorInicial: {
887
+ type: "number";
888
+ };
889
+ valorFinal: {
890
+ type: "number";
891
+ };
892
+ variacaoPercentual: {
893
+ type: "number";
894
+ };
895
+ variacaoFormatada: {
896
+ type: "string";
897
+ };
898
+ maximo: {
899
+ type: "number";
900
+ };
901
+ minimo: {
902
+ type: "number";
903
+ };
904
+ media: {
905
+ type: "number";
906
+ };
907
+ };
908
+ required: string[];
909
+ };
910
+ };
911
+ erros: {
912
+ type: "array";
913
+ description: string;
914
+ items: {
915
+ type: "object";
916
+ properties: {
917
+ codigo: {
918
+ type: "number";
919
+ };
920
+ nome: {
921
+ type: "string";
922
+ };
923
+ erro: {
924
+ type: "string";
925
+ };
926
+ };
927
+ required: string[];
928
+ };
929
+ };
930
+ serie?: undefined;
931
+ totalRegistros?: undefined;
932
+ periodoInicial?: undefined;
933
+ periodoFinal?: undefined;
934
+ dados?: undefined;
935
+ observacao?: undefined;
936
+ codigo?: undefined;
937
+ nome?: undefined;
938
+ unidade?: undefined;
939
+ periodicidade?: undefined;
940
+ fonte?: undefined;
941
+ categoria?: undefined;
942
+ especial?: undefined;
943
+ ultimoValor?: undefined;
944
+ urlConsulta?: undefined;
945
+ urlUltimos10?: undefined;
946
+ categorias?: undefined;
947
+ series?: undefined;
948
+ termo?: undefined;
949
+ totalEncontradas?: undefined;
950
+ mensagem?: undefined;
951
+ sugestao?: undefined;
952
+ consultadoEm?: undefined;
953
+ indicadores?: undefined;
954
+ analise?: undefined;
955
+ estatisticas?: undefined;
956
+ };
957
+ required: string[];
958
+ };
278
959
  })[];
279
960
  export declare function dispatchTool(toolName: string, args: Record<string, unknown>, timeoutMs?: number, maxRetries?: number): Promise<ToolResult>;
280
961
  //# sourceMappingURL=tools.d.ts.map