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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
[
  {
    "node_id": "0f742b5a",
    "tool": {
      "type": "function",
      "function": {
        "name": "get_eligibility_assessment_result_with_details",
        "description": "Retrieves the detailed result of a previously completed eligibility assessment, including status, met criteria, and reviewer notes. Optionally includes the supporting evidence identifiers associated with the assessment.",
        "parameters": {
          "type": "object",
          "properties": {
            "eligibility_assessment_id": {
              "type": "string",
              "description": "ID of the eligibility assessment to retrieve (e.g., from a prior execute_eligibility_assessment call)"
            },
            "include_supporting_evidence": {
              "type": "boolean",
              "description": "If true, the response will include the list of supporting evidence identifiers documented for the assessment. Defaults to false.",
              "default": false
            }
          },
          "required": [
            "eligibility_assessment_id"
          ]
        }
      }
    }
  },
  {
    "node_id": "1c9f0222",
    "tool": {
      "type": "function",
      "function": {
        "name": "archive_completed_profiles",
        "description": "Archive student profiles that have completed all support services",
        "parameters": {
          "type": "object",
          "properties": {
            "client_profile_ids": {
              "type": "array",
              "description": "Array of student profile IDs to archive"
            },
            "archive_reason": {
              "type": "string",
              "description": "Reason for archiving the profiles"
            }
          },
          "required": [
            "client_profile_ids",
            "archive_reason"
          ]
        }
      }
    }
  },
  {
    "node_id": "25a5d7d8",
    "tool": {
      "type": "function",
      "function": {
        "name": "create_program_recommendation_record",
        "description": "Create and submit a program recommendation record for an eligible student with rationale",
        "parameters": {
          "type": "object",
          "properties": {
            "client_profile_id": {
              "type": "string",
              "description": "ID of the eligible student client profile"
            },
            "program_code": {
              "type": "string",
              "description": "Government program code being recommended"
            },
            "rationale_summary": {
              "type": "string",
              "description": "Summary of why this program is recommended for the student"
            }
          },
          "required": [
            "client_profile_id",
            "program_code",
            "rationale_summary"
          ]
        }
      }
    }
  },
  {
    "node_id": "33c51509",
    "tool": {
      "type": "function",
      "function": {
        "name": "retrieve_program_and_policy_for_alignment",
        "description": "Retrieve the detailed specifications of a government program and a public policy document for subsequent alignment assessment.",
        "parameters": {
          "type": "object",
          "properties": {
            "program_code": {
              "type": "string",
              "description": "Government program code to retrieve details for"
            },
            "publicpolicydocument_id": {
              "type": "string",
              "description": "Policy document ID to retrieve details for"
            }
          },
          "required": [
            "program_code",
            "publicpolicydocument_id"
          ]
        }
      }
    }
  },
  {
    "node_id": "38fd9850",
    "tool": {
      "type": "function",
      "function": {
        "name": "validate_program_eligibility_for_recommendation",
        "description": "Validate a student's eligibility for a specific government program before making a recommendation",
        "parameters": {
          "type": "object",
          "properties": {
            "client_profile_id": {
              "type": "string",
              "description": "ID of the student client profile to validate eligibility for"
            },
            "program_code": {
              "type": "string",
              "description": "Government program code to check eligibility against"
            }
          },
          "required": [
            "client_profile_id",
            "program_code"
          ]
        }
      }
    }
  },
  {
    "node_id": "3f316db7",
    "tool": {
      "type": "function",
      "function": {
        "name": "assess_program_eligibility_for_profile",
        "description": "Assess a student profile's eligibility for a specific government program",
        "parameters": {
          "type": "object",
          "properties": {
            "client_profile_id": {
              "type": "string",
              "description": "ID of the student client profile to assess"
            },
            "program_code": {
              "type": "string",
              "description": "Government program code to check eligibility for"
            }
          },
          "required": [
            "client_profile_id",
            "program_code"
          ]
        }
      }
    }
  },
  {
    "node_id": "40e7acfd",
    "tool": {
      "type": "function",
      "function": {
        "name": "list_pending_recommendations",
        "description": "Shows recommendations that are currently being processed",
        "parameters": {
          "type": "object",
          "properties": {
            "status_filter": {
              "type": "string",
              "description": "Filter recommendations by status"
            },
            "date_range_start": {
              "type": "string",
              "description": "Optional start date for filtering recommendations"
            }
          },
          "required": [
            "status_filter",
            "date_range_start"
          ]
        }
      }
    }
  },
  {
    "node_id": "46cf928b",
    "tool": {
      "type": "function",
      "function": {
        "name": "update_student_profile_development",
        "description": "Update the development stage and completeness of a student profile",
        "parameters": {
          "type": "object",
          "properties": {
            "client_profile_id": {
              "type": "string",
              "description": "ID of the student client profile to update"
            },
            "development_stage": {
              "type": "string",
              "description": "Current development stage of the profile"
            },
            "assessment_notes": {
              "type": "string",
              "description": "Assessment notes for the current development stage"
            }
          },
          "required": [
            "client_profile_id",
            "development_stage",
            "assessment_notes"
          ]
        }
      }
    }
  },
  {
    "node_id": "4a5bdc21",
    "tool": {
      "type": "function",
      "function": {
        "name": "update_profile_development_stage",
        "description": "Update a student profile's development stage based on assessment evaluation, moving it to the next appropriate phase",
        "parameters": {
          "type": "object",
          "properties": {
            "client_profile_id": {
              "type": "string",
              "description": "ID of the student client profile to update"
            },
            "development_stage": {
              "type": "string",
              "description": "Target development stage to transition the profile to",
              "enum": [
                "initial_assessment",
                "information_gathering",
                "documentation_verification",
                "profile_completion",
                "periodic_update"
              ]
            }
          },
          "required": [
            "client_profile_id",
            "development_stage"
          ]
        }
      }
    }
  },
  {
    "node_id": "512189c0",
    "tool": {
      "type": "function",
      "function": {
        "name": "get_program_application_statistics",
        "description": "Retrieve statistics about program applications and recommendations",
        "parameters": {
          "type": "object",
          "properties": {
            "program_code": {
              "type": "string",
              "description": "Government program code to get statistics for"
            },
            "time_period_months": {
              "type": "integer",
              "description": "Number of months to include in statistics"
            }
          },
          "required": [
            "program_code",
            "time_period_months"
          ]
        }
      }
    }
  },
  {
    "node_id": "6e05f37e",
    "tool": {
      "type": "function",
      "function": {
        "name": "evaluate_program_policy_alignment",
        "description": "Evaluate alignment between a government program and relevant policy documents",
        "parameters": {
          "type": "object",
          "properties": {
            "program_code": {
              "type": "string",
              "description": "Government program code to evaluate"
            },
            "publicpolicydocument_id": {
              "type": "string",
              "description": "Policy document ID to check alignment with"
            }
          },
          "required": [
            "program_code",
            "publicpolicydocument_id"
          ]
        }
      }
    }
  },
  {
    "node_id": "6f0854e2",
    "tool": {
      "type": "function",
      "function": {
        "name": "update_profile_development_metadata",
        "description": "Update the development metadata of a student profile including stage, completeness, and next review date",
        "parameters": {
          "type": "object",
          "properties": {
            "client_profile_id": {
              "type": "string",
              "description": "ID of the student client profile to update"
            },
            "development_stage": {
              "type": "string",
              "description": "Development stage to set for the profile",
              "enum": [
                "initial_assessment",
                "information_gathering",
                "documentation_verification",
                "profile_completion",
                "periodic_update"
              ]
            },
            "profile_completeness": {
              "type": "number",
              "description": "Estimated completeness percentage of the profile (0.0-1.0)",
              "minimum": 0.0,
              "maximum": 1.0
            },
            "next_review_date": {
              "type": "string",
              "description": "Date when this profile should be reviewed next (ISO 8601 timestamp)"
            }
          },
          "required": [
            "client_profile_id",
            "development_stage",
            "profile_completeness",
            "next_review_date"
          ]
        }
      }
    }
  },
  {
    "node_id": "9caa111e",
    "tool": {
      "type": "function",
      "function": {
        "name": "create_student_client_profile_with_identifier",
        "description": "Create a new student client profile for support service tracking with optional institutional identifier",
        "parameters": {
          "type": "object",
          "properties": {
            "student_name": {
              "type": "string",
              "description": "Student's full legal name"
            },
            "contact_email": {
              "type": "string",
              "description": "Student's primary contact email"
            },
            "primary_location": {
              "type": "object",
              "description": "Student's primary geographical location information"
            },
            "communication_language": {
              "type": "string",
              "description": "Student's preferred language for service communication"
            },
            "institutional_student_id": {
              "type": "string",
              "description": "Optional institutional identifier for the student (e.g., school ID number)",
              "default": ""
            }
          },
          "required": [
            "student_name",
            "contact_email",
            "primary_location",
            "communication_language"
          ]
        }
      }
    }
  },
  {
    "node_id": "a87e0947",
    "tool": {
      "type": "function",
      "function": {
        "name": "teacher_authorization",
        "description": "Authorize teacher access to the Student Support Program Connector system",
        "parameters": {
          "type": "object",
          "properties": {
            "teacher_id": {
              "type": "string",
              "description": "Unique institutional identifier for the teacher"
            }
          },
          "required": [
            "teacher_id"
          ]
        }
      }
    }
  },
  {
    "node_id": "c23785fd",
    "tool": {
      "type": "function",
      "function": {
        "name": "assess_program_policy_compliance",
        "description": "",
        "parameters": {
          "type": "object",
          "properties": {
            "program_code": {
              "type": "string",
              "description": "Government program code being assessed"
            },
            "publicpolicydocument_id": {
              "type": "string",
              "description": "Policy document ID being assessed against"
            },
            "program_details_context": {
              "type": "string",
              "description": "Contextual details about the program retrieved for assessment (e.g., eligibility rules, service scope)"
            },
            "policy_details_context": {
              "type": "string",
              "description": "Contextual details about the policy document retrieved for assessment (e.g., relevant clauses, compliance requirements)"
            }
          },
          "required": [
            "program_code",
            "publicpolicydocument_id",
            "program_details_context",
            "policy_details_context"
          ]
        }
      }
    }
  },
  {
    "node_id": "c34864b1",
    "tool": {
      "type": "function",
      "function": {
        "name": "search_policy_documents_by_purpose",
        "description": "Search for public policy documents relevant to student support programs, optionally filtered by consultation purpose",
        "parameters": {
          "type": "object",
          "properties": {
            "program_code": {
              "type": "string",
              "description": "Government program code to find related policy documents"
            },
            "access_level": {
              "type": "string",
              "description": "Required access level for documents"
            },
            "consultation_purpose": {
              "type": "string",
              "description": "Optional filter by intended consultation purpose to find most relevant documents",
              "enum": [
                "eligibility_check",
                "application_procedure",
                "compliance_verification",
                "program_understanding",
                ""
              ],
              "default": ""
            }
          },
          "required": [
            "program_code",
            "access_level"
          ]
        }
      }
    }
  },
  {
    "node_id": "d2660901",
    "tool": {
      "type": "function",
      "function": {
        "name": "record_policy_document_consultation_with_sections",
        "description": "Record teacher's consultation of policy documents for program guidance, optionally specifying the relevant sections consulted.",
        "parameters": {
          "type": "object",
          "properties": {
            "publicpolicydocument_id": {
              "type": "string",
              "description": "ID of the policy document consulted"
            },
            "consultation_purpose": {
              "type": "string",
              "description": "Purpose of the consultation"
            },
            "notes_summary": {
              "type": "string",
              "description": "Summary notes from the consultation"
            },
            "relevant_sections": {
              "type": "array",
              "description": "Optional list of specific section identifiers within the document that were consulted. If not provided, defaults to an empty list.",
              "items": {
                "type": "string"
              },
              "default": []
            }
          },
          "required": [
            "publicpolicydocument_id",
            "consultation_purpose",
            "notes_summary"
          ]
        }
      }
    }
  },
  {
    "node_id": "d9fe7d8d",
    "tool": {
      "type": "function",
      "function": {
        "name": "update_accessibility_requirements_with_development_tracking",
        "description": "Update structured accessibility requirements for a student client profile with standardized requirement codes and optionally update the profile development stage",
        "parameters": {
          "type": "object",
          "properties": {
            "client_profile_id": {
              "type": "string",
              "description": "ID of the student client profile to update"
            },
            "accessibility_requirements": {
              "type": "array",
              "description": "List of structured accessibility requirements with standardized codes",
              "items": {
                "type": "object",
                "properties": {
                  "requirement_code": {
                    "type": "string",
                    "description": "Standardized code for the accessibility requirement"
                  },
                  "description": {
                    "type": "string",
                    "description": "Human-readable description of the requirement"
                  }
                },
                "required": [
                  "requirement_code",
                  "description"
                ]
              }
            },
            "development_stage_update": {
              "type": "string",
              "description": "Optional development stage to update the profile to after modifying accessibility requirements",
              "enum": [
                "initial_assessment",
                "information_gathering",
                "documentation_verification",
                "profile_completion",
                "periodic_update"
              ],
              "default": "periodic_update"
            }
          },
          "required": [
            "client_profile_id",
            "accessibility_requirements"
          ]
        }
      }
    }
  },
  {
    "node_id": "dc315d72",
    "tool": {
      "type": "function",
      "function": {
        "name": "evaluate_profile_current_status",
        "description": "Evaluate a student profile's current development status and generate assessment notes to determine readiness for next steps",
        "parameters": {
          "type": "object",
          "properties": {
            "client_profile_id": {
              "type": "string",
              "description": "ID of the student client profile to evaluate"
            },
            "current_status_notes": {
              "type": "string",
              "description": "Evaluation of the profile's current status, completeness, and readiness assessment"
            }
          },
          "required": [
            "client_profile_id",
            "current_status_notes"
          ]
        }
      }
    }
  },
  {
    "node_id": "de35fdab",
    "tool": {
      "type": "function",
      "function": {
        "name": "list_filter_and_status_government_programs",
        "description": "Retrieve government assistance programs available for student support, with optional filters for jurisdiction, service method, program category, and program status.",
        "parameters": {
          "type": "object",
          "properties": {
            "jurisdiction_filter": {
              "type": "string",
              "description": "Optional filter to show programs available in specific jurisdiction"
            },
            "service_method": {
              "type": "string",
              "description": "Optional filter by service delivery method"
            },
            "program_category_filter": {
              "type": "string",
              "description": "Optional filter to show programs targeting a specific student demographic or need category (e.g., low_income, disability_support, academic_assistance)"
            },
            "program_status_filter": {
              "type": "string",
              "description": "Optional filter to show programs by their current operational status. Defaults to 'active' if not specified.",
              "default": "active"
            }
          },
          "required": []
        }
      }
    }
  },
  {
    "node_id": "fd49e7b9",
    "tool": {
      "type": "function",
      "function": {
        "name": "teacher_authorization_with_session",
        "description": "Authorize teacher access to the Student Support Program Connector system, with optional control over the session duration for the access token.",
        "parameters": {
          "type": "object",
          "properties": {
            "teacher_id": {
              "type": "string",
              "description": "Unique institutional identifier for the teacher"
            },
            "session_duration_hours": {
              "type": "integer",
              "description": "Optional duration for the authorized session in hours. Controls how long the access token remains valid.",
              "default": 8
            }
          },
          "required": [
            "teacher_id"
          ]
        }
      }
    }
  }
]