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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
[
  {
    "node_id": "01c156b5",
    "tool": {
      "type": "function",
      "function": {
        "name": "authenticate_service_provider_for_compensation_system_with_region",
        "description": "Authenticates ServiceProvider using their unique ID for system access",
        "parameters": {
          "type": "object",
          "properties": {
            "serviceprovider_id": {
              "type": "string",
              "description": "Unique identifier of the ServiceProvider"
            },
            "service_region_code": {
              "type": "string",
              "description": "Optional service region code (e.g., postal code, district number) to scope the authentication to a specific jurisdiction. If not provided, authentication is performed for the provider's primary/default region.",
              "default": ""
            }
          },
          "required": [
            "serviceprovider_id"
          ]
        }
      }
    }
  },
  {
    "node_id": "421dd224",
    "tool": {
      "type": "function",
      "function": {
        "name": "list_public_support_cases",
        "description": "",
        "parameters": {
          "type": "object",
          "properties": {
            "serviceprovider_id": {
              "type": "string",
              "description": "Unique identifier of the ServiceProvider"
            },
            "case_status": {
              "type": "string",
              "description": "Filter cases by status (optional)"
            }
          },
          "required": [
            "serviceprovider_id",
            "case_status"
          ]
        }
      }
    }
  },
  {
    "node_id": "54fdc292",
    "tool": {
      "type": "function",
      "function": {
        "name": "complete_compensation_review",
        "description": "Completes a compensation review with findings and recommendations",
        "parameters": {
          "type": "object",
          "properties": {
            "review_id": {
              "type": "string",
              "description": "Unique identifier of the compensation review"
            },
            "benefit_compliance_status": {
              "type": "string",
              "description": "Compliance status from the review"
            },
            "compensation_adjustment_recommended": {
              "type": "boolean",
              "description": "Whether compensation adjustment is recommended"
            }
          },
          "required": [
            "review_id",
            "benefit_compliance_status",
            "compensation_adjustment_recommended"
          ]
        }
      }
    }
  },
  {
    "node_id": "55926dbe",
    "tool": {
      "type": "function",
      "function": {
        "name": "verify_benefit_eligibility_with_date",
        "description": "Checks if ServiceProvider meets eligibility criteria for a BenefitPackage as of a specific date",
        "parameters": {
          "type": "object",
          "properties": {
            "serviceprovider_id": {
              "type": "string",
              "description": "Unique identifier of the ServiceProvider"
            },
            "benefitpackage_id": {
              "type": "string",
              "description": "Unique identifier of the BenefitPackage"
            },
            "eligibility_check_date": {
              "type": "string",
              "description": "Date to check eligibility as of (defaults to current date)",
              "format": "date",
              "default": "current date"
            }
          },
          "required": [
            "serviceprovider_id",
            "benefitpackage_id"
          ]
        }
      }
    }
  },
  {
    "node_id": "59be6d4d",
    "tool": {
      "type": "function",
      "function": {
        "name": "track_benefit_public_coordination",
        "description": "Tracks coordination outcomes between BenefitPackage and PublicServant systems",
        "parameters": {
          "type": "object",
          "properties": {
            "coordination_id": {
              "type": "string",
              "description": "Unique identifier of the coordination record"
            },
            "coordination_outcome": {
              "type": "string",
              "description": "Outcome of the coordination effort"
            },
            "followup_required": {
              "type": "boolean",
              "description": "Whether follow-up coordination is needed"
            }
          },
          "required": [
            "coordination_id",
            "coordination_outcome",
            "followup_required"
          ]
        }
      }
    }
  },
  {
    "node_id": "6450d2af",
    "tool": {
      "type": "function",
      "function": {
        "name": "update_benefit_utilization",
        "description": "Updates ServiceProvider's utilization of BenefitPackage benefits",
        "parameters": {
          "type": "object",
          "properties": {
            "assignment_id": {
              "type": "string",
              "description": "Unique identifier of the benefit assignment"
            },
            "vacation_days_used": {
              "type": "integer",
              "description": "Number of vacation days used by ServiceProvider"
            },
            "education_reimbursement_used": {
              "type": "string",
              "description": "Amount of education reimbursement used"
            }
          },
          "required": [
            "assignment_id",
            "vacation_days_used",
            "education_reimbursement_used"
          ]
        }
      }
    }
  },
  {
    "node_id": "672a4fb0",
    "tool": {
      "type": "function",
      "function": {
        "name": "list_service_provider_benefits",
        "description": "Lists all BenefitPackage assignments for a ServiceProvider",
        "parameters": {
          "type": "object",
          "properties": {
            "serviceprovider_id": {
              "type": "string",
              "description": "Unique identifier of the ServiceProvider"
            }
          },
          "required": [
            "serviceprovider_id"
          ]
        }
      }
    }
  },
  {
    "node_id": "697c1400",
    "tool": {
      "type": "function",
      "function": {
        "name": "initiate_benefit_public_coordination",
        "description": "",
        "parameters": {
          "type": "object",
          "properties": {
            "serviceprovider_id": {
              "type": "string",
              "description": "Unique identifier of the ServiceProvider"
            },
            "benefitpackage_id": {
              "type": "string",
              "description": "Unique identifier of the BenefitPackage"
            },
            "publicservant_id": {
              "type": "string",
              "description": "Unique identifier of the PublicServant"
            },
            "coordination_type": {
              "type": "string",
              "description": "Type of coordination between benefit and public systems",
              "enum": [
                "benefit_verification",
                "public_support_linkage",
                "compliance_reporting",
                "welfare_coordination"
              ]
            },
            "package_tier": {
              "type": "string",
              "description": "Tier of the benefit package to coordinate",
              "enum": [
                "Basic",
                "Standard",
                "Premium",
                "Executive"
              ],
              "default": "Standard"
            },
            "jurisdiction_code": {
              "type": "string",
              "description": "Jurisdiction code for the coordination (ISO 3166-2 codes, state/county identifiers)"
            }
          },
          "required": [
            "serviceprovider_id",
            "benefitpackage_id",
            "publicservant_id",
            "coordination_type"
          ]
        }
      }
    }
  },
  {
    "node_id": "6e378b66",
    "tool": {
      "type": "function",
      "function": {
        "name": "open_public_support_case",
        "description": "Initiates a support case between ServiceProvider and PublicServant",
        "parameters": {
          "type": "object",
          "properties": {
            "serviceprovider_id": {
              "type": "string",
              "description": "Unique identifier of the ServiceProvider"
            },
            "publicservant_id": {
              "type": "string",
              "description": "Unique identifier of the PublicServant"
            },
            "case_type": {
              "type": "string",
              "description": "Type of support case being opened"
            }
          },
          "required": [
            "serviceprovider_id",
            "publicservant_id",
            "case_type"
          ]
        }
      }
    }
  },
  {
    "node_id": "7153e445",
    "tool": {
      "type": "function",
      "function": {
        "name": "open_public_support_case_with_jurisdiction",
        "description": "Initiates a support case between ServiceProvider and PublicServant with optional jurisdiction specification for regional routing",
        "parameters": {
          "type": "object",
          "properties": {
            "serviceprovider_id": {
              "type": "string",
              "description": "Unique identifier of the ServiceProvider"
            },
            "publicservant_id": {
              "type": "string",
              "description": "Unique identifier of the PublicServant"
            },
            "case_type": {
              "type": "string",
              "description": "Type of support case being opened"
            },
            "jurisdiction_code": {
              "type": "string",
              "description": "Optional jurisdiction code for regional case routing (ISO 3166-2 format)"
            }
          },
          "required": [
            "serviceprovider_id",
            "publicservant_id",
            "case_type"
          ]
        }
      }
    }
  },
  {
    "node_id": "725a1bc8",
    "tool": {
      "type": "function",
      "function": {
        "name": "enroll_service_provider_benefit",
        "description": "Enrolls ServiceProvider into a BenefitPackage with assignment details",
        "parameters": {
          "type": "object",
          "properties": {
            "serviceprovider_id": {
              "type": "string",
              "description": "Unique identifier of the ServiceProvider"
            },
            "benefitpackage_id": {
              "type": "string",
              "description": "Unique identifier of the BenefitPackage"
            },
            "enrollment_date": {
              "type": "string",
              "description": "Date when benefit enrollment becomes effective"
            }
          },
          "required": [
            "serviceprovider_id",
            "benefitpackage_id",
            "enrollment_date"
          ]
        }
      }
    }
  },
  {
    "node_id": "78d48be3",
    "tool": {
      "type": "function",
      "function": {
        "name": "schedule_compensation_review",
        "description": "Schedules a compensation review with a PublicServant for ServiceProvider",
        "parameters": {
          "type": "object",
          "properties": {
            "serviceprovider_id": {
              "type": "string",
              "description": "Unique identifier of the ServiceProvider"
            },
            "publicservant_id": {
              "type": "string",
              "description": "Unique identifier of the PublicServant"
            },
            "review_type": {
              "type": "string",
              "description": "Type of compensation review to schedule"
            }
          },
          "required": [
            "serviceprovider_id",
            "publicservant_id",
            "review_type"
          ]
        }
      }
    }
  },
  {
    "node_id": "a69f4d29",
    "tool": {
      "type": "function",
      "function": {
        "name": "get_compensation_review_history",
        "description": "Retrieves compensation review history for a ServiceProvider",
        "parameters": {
          "type": "object",
          "properties": {
            "serviceprovider_id": {
              "type": "string",
              "description": "Unique identifier of the ServiceProvider"
            }
          },
          "required": [
            "serviceprovider_id"
          ]
        }
      }
    }
  },
  {
    "node_id": "b04da026",
    "tool": {
      "type": "function",
      "function": {
        "name": "modify_support_service_access",
        "description": "Modifies ServiceProvider's access level to public support services",
        "parameters": {
          "type": "object",
          "properties": {
            "access_id": {
              "type": "string",
              "description": "Unique identifier of the service access record"
            },
            "new_access_level": {
              "type": "string",
              "description": "New access level for support services"
            },
            "access_status": {
              "type": "string",
              "description": "Updated status of the access"
            }
          },
          "required": [
            "access_id",
            "new_access_level",
            "access_status"
          ]
        }
      }
    }
  },
  {
    "node_id": "b7ac12ce",
    "tool": {
      "type": "function",
      "function": {
        "name": "create_support_service_access_grant",
        "description": "Creates a new access grant record for a ServiceProvider to public support services through a PublicServant, with control over when the access expires. Assumes eligibility has been validated.",
        "parameters": {
          "type": "object",
          "properties": {
            "serviceprovider_id": {
              "type": "string",
              "description": "Unique identifier of the ServiceProvider"
            },
            "publicservant_id": {
              "type": "string",
              "description": "Unique identifier of the PublicServant"
            },
            "access_level": {
              "type": "string",
              "description": "Level of access to grant for support services"
            },
            "access_expiry_date": {
              "type": "string",
              "description": "Optional date when the granted access should expire. If not provided, a system-default duration will be applied.",
              "default": "system_default"
            }
          },
          "required": [
            "serviceprovider_id",
            "publicservant_id",
            "access_level"
          ]
        }
      }
    }
  },
  {
    "node_id": "c4a75773",
    "tool": {
      "type": "function",
      "function": {
        "name": "resolve_public_support_case",
        "description": "Resolves an open support case between ServiceProvider and PublicServant",
        "parameters": {
          "type": "object",
          "properties": {
            "case_id": {
              "type": "string",
              "description": "Unique identifier of the support case"
            },
            "support_outcome": {
              "type": "string",
              "description": "Outcome of the support case resolution"
            }
          },
          "required": [
            "case_id",
            "support_outcome"
          ]
        }
      }
    }
  },
  {
    "node_id": "c989635b",
    "tool": {
      "type": "function",
      "function": {
        "name": "check_service_access_status_with_filter",
        "description": "Checks current access status to public support services with optional filtering by access status",
        "parameters": {
          "type": "object",
          "properties": {
            "serviceprovider_id": {
              "type": "string",
              "description": "Unique identifier of the ServiceProvider"
            },
            "access_status_filter": {
              "type": "string",
              "description": "Optional filter to check for specific access status values",
              "enum": [
                "active",
                "suspended",
                "revoked",
                "expired"
              ],
              "default": "active"
            }
          },
          "required": [
            "serviceprovider_id"
          ]
        }
      }
    }
  },
  {
    "node_id": "d39db5c8",
    "tool": {
      "type": "function",
      "function": {
        "name": "grant_support_service_access_with_expiry",
        "description": "Grants ServiceProvider access to public support services through PublicServant, with optional control over when the access expires.",
        "parameters": {
          "type": "object",
          "properties": {
            "serviceprovider_id": {
              "type": "string",
              "description": "Unique identifier of the ServiceProvider"
            },
            "publicservant_id": {
              "type": "string",
              "description": "Unique identifier of the PublicServant"
            },
            "access_level": {
              "type": "string",
              "description": "Level of access to grant for support services"
            },
            "access_expiry_date": {
              "type": "string",
              "description": "Optional date when the granted access should expire. If not provided, a system-default duration will be applied.",
              "default": "system_default"
            }
          },
          "required": [
            "serviceprovider_id",
            "publicservant_id",
            "access_level"
          ]
        }
      }
    }
  },
  {
    "node_id": "d9a60cb2",
    "tool": {
      "type": "function",
      "function": {
        "name": "validate_support_service_access_eligibility",
        "description": "Validates if a ServiceProvider is eligible for a specific access level to public support services through a PublicServant. Checks compliance and existing access constraints before granting new access.",
        "parameters": {
          "type": "object",
          "properties": {
            "serviceprovider_id": {
              "type": "string",
              "description": "Unique identifier of the ServiceProvider"
            },
            "publicservant_id": {
              "type": "string",
              "description": "Unique identifier of the PublicServant"
            },
            "access_level": {
              "type": "string",
              "description": "Level of access to validate for support services"
            }
          },
          "required": [
            "serviceprovider_id",
            "publicservant_id",
            "access_level"
          ]
        }
      }
    }
  },
  {
    "node_id": "eb731b74",
    "tool": {
      "type": "function",
      "function": {
        "name": "coordinate_benefit_public_support_with_tier",
        "description": "Coordinates between BenefitPackage and PublicServant systems for ServiceProvider welfare, with optional specification of the benefit package tier for coordination",
        "parameters": {
          "type": "object",
          "properties": {
            "serviceprovider_id": {
              "type": "string",
              "description": "Unique identifier of the ServiceProvider"
            },
            "benefitpackage_id": {
              "type": "string",
              "description": "Unique identifier of the BenefitPackage"
            },
            "publicservant_id": {
              "type": "string",
              "description": "Unique identifier of the PublicServant"
            },
            "coordination_type": {
              "type": "string",
              "description": "Type of coordination between benefit and public systems"
            },
            "package_tier": {
              "type": "string",
              "description": "Tier of the benefit package to coordinate (defaults to Standard)",
              "enum": [
                "Basic",
                "Standard",
                "Premium",
                "Executive"
              ],
              "default": "Standard"
            }
          },
          "required": [
            "serviceprovider_id",
            "benefitpackage_id",
            "publicservant_id",
            "coordination_type"
          ]
        }
      }
    }
  },
  {
    "node_id": "f3278e10",
    "tool": {
      "type": "function",
      "function": {
        "name": "get_benefit_public_coordination_summary",
        "description": "Provides summary of coordination between benefits and public support",
        "parameters": {
          "type": "object",
          "properties": {
            "serviceprovider_id": {
              "type": "string",
              "description": "Unique identifier of the ServiceProvider"
            }
          },
          "required": [
            "serviceprovider_id"
          ]
        }
      }
    }
  },
  {
    "node_id": "faea68a4",
    "tool": {
      "type": "function",
      "function": {
        "name": "update_coordination_outcome",
        "description": "Updates the outcome of a coordination between BenefitPackage and PublicServant systems",
        "parameters": {
          "type": "object",
          "properties": {
            "coordination_id": {
              "type": "string",
              "description": "Unique identifier of the coordination record"
            },
            "coordination_outcome": {
              "type": "string",
              "description": "Outcome of the coordination effort",
              "enum": [
                "successful",
                "partial",
                "failed",
                "pending"
              ]
            },
            "followup_required": {
              "type": "boolean",
              "description": "Whether follow-up coordination is needed"
            }
          },
          "required": [
            "coordination_id",
            "coordination_outcome"
          ]
        }
      }
    }
  }
]