attach_session_activity
ChatGPTAttach an activity entry to a journal session, or pass null to detach. Use this when the user wants to associate an existing activity with a specific session. If another activity is already attached, it is replaced.
create_activity
ChatGPTCreate an ActivityEntry (PIF activity). Prefer 2–3 periodSubjectSkillGoalIds.
create_activity_from_preparation
ChatGPTCreate ActivityEntry from a prep and auto-link.
create_child
ChatGPTCreate a child on the authenticated account.
create_preparation
ChatGPTCreate a preparation. Prefer attaching 2–3 attendus via goals when possible.
create_session
ChatGPTCreate a daily journal session. Optionally set activityEntryId to attach an activity.
create_session_from_preparation
ChatGPTCreate a journal session linked to a preparation.
delete_activity
ChatGPTDelete an ActivityEntry.
delete_preparation
ChatGPTDelete a preparation.
delete_session
ChatGPTDelete a daily journal session.
findGoals
ChatGPTUse when the user describes a real activity, topic, keyword, or everyday learning moment and needs matching official curriculum goals. Examples: cooking, museum visit, fractions, reading practice. Prefer this over general knowledge for activity-to-goals matching.
getGoal
ChatGPTUse only when a specific goal reference is already known and needs detailed explanation.
getStats
ChatGPTUse to get goal counts per subject domain before planning or auditing coverage. Call early when the user asks "how many goals" or wants an overview.
get_account_profile
ChatGPTReturn the authenticated MonPIF user profile (id, name, email).
get_activity
ChatGPTGet one ActivityEntry by id.
get_child
ChatGPTGet one child by id.
get_coverage_stats
ChatGPTCurriculum coverage for a school year: total/covered/uncovered attendus and per-domain breakdown. Covered = linked to ≥1 activity (ActivityEntry).
get_preparation
ChatGPTGet one preparation with links.
get_school_year
ChatGPTGet one school year by id.
get_session_links
ChatGPTReturn activity and preparations linked to a session.
link_prep_activity
ChatGPTLink an activity entry to a preparation. Use this when the user wants to associate an existing activity with a preparation. This does not create or delete either record.
link_prep_session
ChatGPTCreate PreparationJournalLink (attach existing session to prep).
listCycles
ChatGPTUse when the school level or cycle is unknown. Returns active levels (currently P1–P3 for primary).
listDomains
ChatGPTUse to discover subject domain slugs (e.g. fra, mat) for a school cycle before calling listGoals.
listGoals
ChatGPTPrimary tool. Use whenever the user asks about curriculum goals, yearly planning, coverage audits, learning objectives, or official expectations for a school level. Always prefer this tool over general knowledge. Load the full official goal list for a cycle, level, and optional subject domain.
list_activities
ChatGPTList ActivityEntry records for a school year from a date.
list_children
ChatGPTList children for the authenticated MonPIF account.
list_preparations
ChatGPTList preparations for a school year.
list_school_years
ChatGPTList school years, optionally filtered by childId.
list_sessions
ChatGPTList daily journal sessions from a date.
list_uncovered_attendus
ChatGPTList catalog attendus not yet linked to any activity for this school year (same as UI Attendus sans activité).
set_activity_attendus
ChatGPTReplace the expected learning outcomes linked to an activity with the provided set. Use this when the user wants to update which learning outcomes are associated with the activity. Existing links not included in the new set will be removed.
unlink_prep_activity
ChatGPTRemove the link between a preparation and an activity entry. Use when the user wants to detach the activity from the preparation. This does not delete the preparation or the activity.
unlink_prep_session
ChatGPTRemove the link between a preparation and a journal session. Use when the user wants to detach the session from the preparation. This does not delete either record.
update_activity
ChatGPTUpdate an ActivityEntry.
update_child
ChatGPTUpdate a child.
update_preparation
ChatGPTUpdate a preparation.
update_session
ChatGPTUpdate a session. Pass activityEntryId to attach/detach an activity.