{"about":"Every tool of the NinjaHQ gym AI connector (MCP server at https://mcp.ninjahq.ai/mcp), with its JSON Schema, by area. Docs: https://ninjahq.ai/developers","server":"https://mcp.ninjahq.ai/mcp","count":318,"areas":[{"id":"help","title":"Help, overview and requests","url":"https://ninjahq.ai/developers/tools/help","tools":["get_overview","get_menu_sections","menu_sections","request_feature","get_tips","set_tips","get_time_zones","set_time_zone","get_developer_guide","search_help","get_help_article","list_help_topics"]},{"id":"history","title":"History and undo","url":"https://ninjahq.ai/developers/tools/history","tools":["list_changes","get_change","compare_with_date","restore_change"]},{"id":"pages","title":"Pages, design and site versions","url":"https://ninjahq.ai/developers/tools/pages","tools":["list_section_types","get_design_system","list_pictures","list_pages","get_page","create_page","update_page","add_section","update_section","move_section","duplicate_section","remove_section","check_page","preview_page","set_design","publish_page","publish_design","list_versions","restore_version","list_site_versions","create_site_version","get_site_version","site_version_link","publish_site_version","restore_site_version","set_coaches_layout","get_holiday_decorations","update_holiday_decorations","unpublish_page","set_site_personality","list_videos","update_video"]},{"id":"site","title":"Website words, menus, footer and logo","url":"https://ninjahq.ai/developers/tools/site","tools":["update_hours","get_hiring_page","update_hiring_page","get_website_questions","answer_website_question","get_cole_questions","answer_cole_question","get_contact_details","update_contact_details","get_game_switch","set_game_switch","get_website_words","update_website_words","get_site_footer","update_site_footer","get_menu","list_menus","save_menu","set_menu_style","set_header_layout","set_footer_style","delete_menu","set_menu","reset_menu","set_logo","set_favicon","get_success_story","set_success_story","reopen_website_question","get_question_helpers","set_question_helpers"]},{"id":"shop","title":"Shop, gift cards, codes and promotions","url":"https://ninjahq.ai/developers/tools/shop","tools":["get_products","add_product","update_product","stop_selling_product","get_discount_codes","add_discount_code","update_discount_code","turn_off_discount_code","get_gift_cards_online","update_gift_cards_online","get_promotions","set_promotion","turn_off_promotion","delete_promotion","get_shop_settings","update_shop_settings","get_vendors","save_vendor","get_product_photos","set_product_main_photo","remove_product_photo","remove_size_guide"]},{"id":"photos","title":"Photos and avatars","url":"https://ninjahq.ai/developers/tools/photos","tools":["upload_photo","request_photo_upload","edit_photo","update_photo","set_photo_album","photos_to_describe","list_photos","remove_photo","list_avatars","update_avatar","import_photo_from_url"]},{"id":"insights","title":"Website analytics and insights","url":"https://ninjahq.ai/developers/tools/insights","tools":["get_website_visits","get_website_insights","get_visitor_insights","get_website_review","get_page_report","get_page_heatmap","get_form_insights","get_website_problems","get_website_audience"]},{"id":"seo","title":"Search, redirects and website growth","url":"https://ninjahq.ai/developers/tools/seo","tools":["get_search_dashboard","get_redirects","add_redirect","remove_redirect","scan_old_website","rematch_redirects","confirm_redirects","clear_scanned_redirects","get_missing_addresses","ignore_missing_address","get_search_tracking","set_search_tracking","run_search_check","optimize_website_for_search","take_search_baseline","get_ab_tests","start_ab_test","stop_ab_test","get_review_settings","set_review_settings","sync_from_google"]},{"id":"schedule","title":"Schedule, classes, coaches and events","url":"https://ninjahq.ai/developers/tools/schedule","tools":["get_schedule","add_schedule_entry","update_schedule_entry","remove_schedule_entry","set_schedule_note","set_schedule_days","add_closure","add_schedule_change","remove_closure_or_change","get_coaches","add_coach","update_coach","remove_coach","get_special_events","add_special_event","update_special_event","remove_special_event","list_report_schedules","schedule_report_email","change_report_schedule","delete_report_schedule","get_classes","add_class","update_class","remove_class","get_tuition_rules","update_tuition_rules","set_schedule_entry_description","get_private_lessons","add_private_lesson_type","add_private_lesson_times","get_dropin_rates","set_dropin_rates","remove_private_lesson_type","remove_private_lesson_time"]},{"id":"memberships","title":"Memberships, class packs and credit","url":"https://ninjahq.ai/developers/tools/memberships","tools":["get_membership_plans","add_membership_plan","update_membership_plan","reorder_membership_plans","set_membership_plan_on_sale","get_member_benefits","set_member_benefit","get_class_packs","save_class_pack","remove_class_pack","get_account_credit","change_account_credit","get_membership_rules","set_membership_rules"]},{"id":"camps-parties","title":"Camps and birthday parties","url":"https://ninjahq.ai/developers/tools/camps-parties","tools":["list_text_campaigns","list_camps","get_camp_day","list_private_camp_requests","add_camp","list_parties","get_party_guests","get_party_addons","set_party_addons","set_party_look","change_party","set_party_choices","get_tips_by_person","get_party_booking","update_party_booking","update_location_party_booking","update_camp","set_camp_status","set_camp_request_status"]},{"id":"competitions","title":"Competitions, leagues, sports and volunteers","url":"https://ninjahq.ai/developers/tools/competitions","tools":["get_competitions","add_competition","get_hosted_leagues","set_hosted_leagues","get_competition_analytics","set_obstacle_types","get_competition_scoring","set_competition_course","fix_competition_run","give_competition_rerun","remove_competition_run","update_competition","get_ninjahq_line","set_ninjahq_line","remove_competition","get_athlete_info_followups","set_athlete_info_followups","get_sports_and_teams","save_team","remove_team","save_sport","remove_sport","set_teams_page_words","get_volunteer_plan","set_volunteer_settings","set_volunteer_roles","set_volunteer_shifts","copy_volunteer_shifts","reset_volunteer_shifts"]},{"id":"emails","title":"Emails, texts, push and social","url":"https://ninjahq.ai/developers/tools/emails","tools":["get_push_notifications","flyer_to_email","count_text_audience","save_email_draft","get_email_preferences","set_email_preferences","get_automatic_emails","get_email_template_versions","set_automatic_emails","set_email_on","reset_email_template","restore_email_template_version","get_email_settings","set_email_settings","set_card_alert_emails","get_phone_calls","set_phone_calls","get_social_posts","use_social_post","skip_social_post","refresh_social","set_social_auto"]},{"id":"flyers","title":"Flyers","url":"https://ninjahq.ai/developers/tools/flyers","tools":["flyer_link","list_flyer_templates","list_flyers","get_flyer","create_flyer","update_flyer","search_stock_photos","use_stock_photo","copy_flyer","delete_flyer"]},{"id":"waivers","title":"Waivers","url":"https://ninjahq.ai/developers/tools/waivers","tools":["get_waiver_templates","add_waiver_template","update_waiver_template","set_waiver_translation","set_waiver_live","delete_waiver_template"]},{"id":"staff","title":"Staff scheduling and time clock","url":"https://ninjahq.ai/developers/tools/staff","tools":["get_work_schedule","add_work_shift","update_work_shift","remove_work_shift","copy_last_week_shifts","fill_shifts_from_classes","get_time_clock_settings","set_time_clock_settings"]},{"id":"widgets","title":"Website widgets and screens","url":"https://ninjahq.ai/developers/tools/widgets","tools":["list_website_widgets","get_website_widget","set_widget_websites","get_screen_widgets","set_screen_widgets"]},{"id":"community","title":"Community, schools and homeschool","url":"https://ninjahq.ai/developers/tools/community","tools":["get_community","update_community","save_gear_post","remove_gear_post","get_homeschool_groups","save_homeschool_group","remove_homeschool_group","get_school_calendars","set_school_district_dates","find_nearby_schools","get_school_partners","save_school_partner","set_school_donation"]},{"id":"reports","title":"Reports and numbers","url":"https://ninjahq.ai/developers/tools/reports","tools":["get_membership_numbers","get_registration_numbers","list_reports","list_metrics","get_report_numbers","get_report_summary","get_weather_outlook","get_report_details","list_report_views","save_report_view","delete_report_view","get_weekly_summary","get_daily_summary","get_report_costs","set_report_costs"]}],"tools":[{"name":"get_overview","title":"About this gym's website","description":"Start here. The gym's name, address, hours, pages, how many schedule entries, coaches and photos it has, and what this connector can and can't do.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":true,"area":"help","url":"https://ninjahq.ai/developers/tools/help#get_overview"},{"name":"get_schedule","title":"Weekly schedule","description":"The weekly schedule as visitors see it at /schedule: every entry with its id (needed to change or remove it), day, times, type and coach, plus upcoming closures and one-day changes.","inputSchema":{"type":"object","properties":{"day":{"type":"string","description":"Only this day (optional)"}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#get_schedule"},{"name":"add_schedule_entry","title":"Add a class or session to the weekly schedule","description":"Add one entry to the weekly schedule. Ask the owner for the day, the times and what it is before calling. Entries repeat every week; for a single date use add_schedule_change or add_closure.","inputSchema":{"type":"object","properties":{"day":{"type":"string","description":"Day of the week, e.g. Saturday"},"start":{"type":"string","description":"Start time, e.g. 4:00 PM. Leave both times out for things offered by booking."},"end":{"type":"string","description":"End time, e.g. 6:00 PM"},"name":{"type":"string","description":"What it is, e.g. Open Gym (up to 60 characters)"},"type":{"type":"string","enum":["open","class","team","homeschool","toddler","party","other"],"description":"Decides the color on the schedule"},"note":{"type":"string","description":"Short note such as an age range, e.g. Ages 6–8"},"coach":{"type":"string","description":"Who coaches it; separate several names with commas"},"location":{"type":"string","description":"Which location, by name (only when the gym has more than one)"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["day","name"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#add_schedule_entry"},{"name":"update_schedule_entry","title":"Change a schedule entry","description":"Change one existing entry: its day, times, name, type, note or coach. Send only what changes. Get the id from get_schedule first.","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The entry's id from get_schedule"},"day":{"type":"string","description":"Day of the week, e.g. Saturday"},"start":{"type":"string","description":"Start time, e.g. 4:00 PM. Leave both times out for things offered by booking."},"end":{"type":"string","description":"End time, e.g. 6:00 PM"},"name":{"type":"string","description":"What it is, e.g. Open Gym (up to 60 characters)"},"type":{"type":"string","enum":["open","class","team","homeschool","toddler","party","other"],"description":"Decides the color on the schedule"},"note":{"type":"string","description":"Short note such as an age range, e.g. Ages 6–8"},"coach":{"type":"string","description":"Who coaches it; separate several names with commas"},"location":{"type":"string","description":"Which location, by name (only when the gym has more than one)"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["id"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#update_schedule_entry"},{"name":"remove_schedule_entry","title":"Remove a schedule entry","description":"Take one entry off the weekly schedule. Confirm with the owner which one first. It can be put back from History.","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The entry's id from get_schedule"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["id"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#remove_schedule_entry"},{"name":"set_schedule_note","title":"Note above the schedule","description":"Set or clear the short note shown above the weekly schedule, e.g. \"New schedule begins August 3\".","inputSchema":{"type":"object","properties":{"note":{"type":"string","description":"Up to 120 characters; empty to remove it"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["note"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#set_schedule_note"},{"name":"set_schedule_days","title":"Days shown on the public schedule","description":"Choose which days the public weekly schedule shows, e.g. hide Sunday for a gym that runs Monday to Saturday. Entries on a hidden day stay saved, they just don't show. At least one day stays shown.","inputSchema":{"type":"object","properties":{"hidden_days":{"type":"array","items":{"type":"string"},"description":"Days to leave off the public weekly schedule, e.g. [\"Sunday\"]; an empty list shows all seven"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["hidden_days"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#set_schedule_days"},{"name":"add_closure","title":"Add a day (or days) the gym is closed","description":"Tell visitors the gym is closed on a date or a run of dates. It shows under the schedule and on the home page during the two weeks before, and disappears by itself afterwards.","inputSchema":{"type":"object","properties":{"date":{"type":"string","description":"First day closed, YYYY-MM-DD"},"last_day":{"type":"string","description":"Last day closed, YYYY-MM-DD (leave out for one day)"},"reason":{"type":"string","description":"Shown to visitors, e.g. Thanksgiving (up to 80 characters)"},"location":{"type":"string","description":"With two or more locations: the location it is for (leave out for every location)"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["date"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#add_closure"},{"name":"add_schedule_change","title":"Add a one-day change to the schedule","description":"Tell visitors that one particular day runs differently from the weekly schedule. For a closed day use add_closure.","inputSchema":{"type":"object","properties":{"date":{"type":"string","description":"The day, YYYY-MM-DD"},"what_is_different":{"type":"string","description":"Shown to visitors, e.g. Open gym 4–6 PM only (up to 80 characters)"},"location":{"type":"string","description":"With two or more locations: the location it is for (leave out for every location)"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["date","what_is_different"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#add_schedule_change"},{"name":"remove_closure_or_change","title":"Remove a closure or one-day change","description":"Remove the closure and/or one-day change listed for a date.","inputSchema":{"type":"object","properties":{"date":{"type":"string","description":"The (first) date of the closure or change, YYYY-MM-DD"},"location":{"type":"string","description":"With two or more locations: the location it is for (leave out for every location)"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["date"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#remove_closure_or_change"},{"name":"update_hours","title":"Opening hours for a day","description":"Change the regular opening hours shown in the footer and on the contact page for one day of the week.","inputSchema":{"type":"object","properties":{"day":{"type":"string","description":"Day of the week"},"open":{"type":"string","description":"Opening time, e.g. 11 AM"},"close":{"type":"string","description":"Closing time, e.g. 8 PM"},"closed":{"type":"boolean","description":"true if the gym is closed that day every week"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["day"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"site","url":"https://ninjahq.ai/developers/tools/site#update_hours"},{"name":"get_coaches","title":"Coaches","description":"Everyone on the Coaches page, in order: name, role, bio, highlights, link and whether they have a photo.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#get_coaches"},{"name":"add_coach","title":"Add a coach","description":"Add a coach to the Coaches page. Only use facts the owner gives you; never invent a bio or achievements. Add their photo afterwards with request_photo_upload.","inputSchema":{"type":"object","properties":{"name":{"type":"string","description":"The coach's name as it shows on the Coaches page"},"ninja_name":{"type":"string","description":"Optional nickname shown under the name, e.g. The Hype Guy (up to 60 characters)"},"role":{"type":"string","description":"e.g. Coach, Head Coach, Owner & Coach"},"bio":{"type":"string","description":"In the gym's own words (up to 4000 characters; a blank line starts a new paragraph; a long bio folds under Read more)"},"highlights":{"type":"array","items":{"type":"string"},"description":"Up to 6 short highlights, e.g. \"5 seasons on American Ninja Warrior\""},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["name"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#add_coach"},{"name":"update_coach","title":"Update a coach","description":"Change a coach's name, ninja name (nickname), role, bio, highlights, link, place in the order, or headshot framing and zoom. Send only what changes. Only use facts the owner gives you.","inputSchema":{"type":"object","properties":{"coach":{"type":"string","description":"The coach's current name"},"new_name":{"type":"string","description":"The coach's new name"},"ninja_name":{"type":"string","description":"Nickname shown under the name, e.g. The Hype Guy; empty to remove it"},"role":{"type":"string","description":"Their role, e.g. Head Coach"},"bio":{"type":"string","description":"A short bio in the owner's words. Never invent achievements."},"highlights":{"type":"array","items":{"type":"string"},"description":"Replaces the whole list (up to 6)"},"link_label":{"type":"string","description":"e.g. Instagram"},"link_url":{"type":"string","description":"https address; empty to remove the link"},"position":{"type":"integer","description":"1 = first (the featured coach)"},"headshot_framing":{"type":"string","description":"Where the round headshot centers on its photo, as \"x% y%\" (\"50% 30%\": the middle, a little above center). Use when the owner says the face is cut off or off-center."},"headshot_zoom":{"type":"number","description":"Zoom the round headshot in on that spot, 1 (none) to 3, when the face looks small"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["coach"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#update_coach"},{"name":"remove_coach","title":"Remove a coach","description":"Take a coach off the Coaches page. Ask the owner to confirm first, then send confirm: true. It can be put back from History.","inputSchema":{"type":"object","properties":{"coach":{"type":"string","description":"The coach's id or exact name, from get_coaches"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["coach"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#remove_coach"},{"name":"get_special_events","title":"Special events","description":"Every special event (camps, Parents' Night Out, clinics, holiday camps): title, date, time, ages, price, description, picture, and online sign-up, plus the flyers that can be used as pictures. Dated events leave the site by themselves the day after they end.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#get_special_events"},{"name":"add_special_event","title":"Add a special event","description":"Add a camp, Parents' Night Out, clinic or other special event to the Special events page and the Coming up row on the schedule. Ask the owner for the date, time, ages and price; never guess them. With online_options families sign up and pay on the website. If the owner has a flyer, add the event first, then call request_photo_upload (or upload_photo) with purpose event_flyer and the event's title.","inputSchema":{"type":"object","properties":{"title":{"type":"string","description":"e.g. Black Friday Ninja Camp (up to 100 characters)"},"date":{"type":"string","description":"YYYY-MM-DD. Leave out for something offered on request"},"last_day":{"type":"string","description":"YYYY-MM-DD, only for events over several days"},"when":{"type":"string","description":"Only without a date, e.g. Whenever Cobb schools go digital"},"time":{"type":"string","description":"e.g. 9 AM–5 PM"},"ages":{"type":"string","description":"e.g. Ages 6–12 (online sign-up takes these ages; 3 to 18 when empty)"},"price":{"type":"string","description":"As shown to families, e.g. $85 per child"},"description":{"type":"string","description":"A few sentences in the gym's own words (up to 600 characters)"},"details":{"type":"array","items":{"type":"string"},"description":"Bullet points, e.g. Bring a packed lunch, a snack and a water bottle (up to 12)"},"picture":{"type":"string","description":"A flyer's name (get_special_events lists them) or a photo_id from list_photos; empty for an automatic picture. For a new flyer, add the event first, then upload it with purpose event_flyer"},"online_options":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","description":"e.g. Full day, 9 AM–5 PM"},"price":{"type":"number","description":"Dollars, e.g. 85"}},"required":["label","price"],"additionalProperties":false},"description":"Turns on sign-up and card payment on the website (up to 6 options; needs Stripe connected). An empty list turns it off"},"online_days":{"type":"array","items":{"type":"string"},"description":"The days families can sign up for, YYYY-MM-DD (a dated event's own date is used when left out)"},"spots_per_day":{"type":"integer","description":"Most kids per day; 0 = no limit"},"extra_question":{"type":"object","properties":{"question":{"type":"string","description":"The question families answer when they sign up, e.g. \"T-shirt size\""},"choices":{"type":"array","items":{"type":"string"},"description":"The answers to pick from; leave empty for a typed answer"}},"required":["question","choices"],"additionalProperties":false,"description":"An optional question at sign-up with 2 to 12 choices"},"signup_link":{"type":"string","description":"Only when families sign up somewhere else: a full https:// address"},"button_label":{"type":"string","description":"Words on that sign-up button, e.g. Book now"},"location":{"type":"string","description":"Which location it is at, by name (only for gyms with several locations); empty = every location"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["title"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#add_special_event"},{"name":"update_special_event","title":"Change a special event","description":"Change a special event: send only what changes (title, date, time, ages, price, description, details, picture, online sign-up options and days). For example, add a newly announced camp day with online_days.","inputSchema":{"type":"object","properties":{"event":{"type":"string","description":"The event's current title"},"title":{"type":"string","description":"e.g. Black Friday Ninja Camp (up to 100 characters)"},"date":{"type":"string","description":"YYYY-MM-DD. Leave out for something offered on request"},"last_day":{"type":"string","description":"YYYY-MM-DD, only for events over several days"},"when":{"type":"string","description":"Only without a date, e.g. Whenever Cobb schools go digital"},"time":{"type":"string","description":"e.g. 9 AM–5 PM"},"ages":{"type":"string","description":"e.g. Ages 6–12 (online sign-up takes these ages; 3 to 18 when empty)"},"price":{"type":"string","description":"As shown to families, e.g. $85 per child"},"description":{"type":"string","description":"A few sentences in the gym's own words (up to 600 characters)"},"details":{"type":"array","items":{"type":"string"},"description":"Bullet points, e.g. Bring a packed lunch, a snack and a water bottle (up to 12)"},"picture":{"type":"string","description":"A flyer's name (get_special_events lists them) or a photo_id from list_photos; empty for an automatic picture. For a new flyer, add the event first, then upload it with purpose event_flyer"},"online_options":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","description":"e.g. Full day, 9 AM–5 PM"},"price":{"type":"number","description":"Dollars, e.g. 85"}},"required":["label","price"],"additionalProperties":false},"description":"Turns on sign-up and card payment on the website (up to 6 options; needs Stripe connected). An empty list turns it off"},"online_days":{"type":"array","items":{"type":"string"},"description":"The days families can sign up for, YYYY-MM-DD (a dated event's own date is used when left out)"},"spots_per_day":{"type":"integer","description":"Most kids per day; 0 = no limit"},"extra_question":{"type":"object","properties":{"question":{"type":"string","description":"The question families answer when they sign up, e.g. \"T-shirt size\""},"choices":{"type":"array","items":{"type":"string"},"description":"The answers to pick from; leave empty for a typed answer"}},"required":["question","choices"],"additionalProperties":false,"description":"An optional question at sign-up with 2 to 12 choices"},"signup_link":{"type":"string","description":"Only when families sign up somewhere else: a full https:// address"},"button_label":{"type":"string","description":"Words on that sign-up button, e.g. Book now"},"location":{"type":"string","description":"Which location it is at, by name (only for gyms with several locations); empty = every location"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["event"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#update_special_event"},{"name":"remove_special_event","title":"Remove a special event","description":"Take a special event off the website. Past dated events already hide by themselves. Ask the owner to confirm first, then send confirm: true. Families who already signed up stay in the back office; it can be put back from History.","inputSchema":{"type":"object","properties":{"event":{"type":"string","description":"The event's title"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["event"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#remove_special_event"},{"name":"upload_photo","title":"Add a photo to the website","description":"Put a photo on the website, everything done for you: it is straightened, color-corrected (a headshot is also framed so the face is centered), resized for phones and computers, converted to a fast format, stripped of camera and location data and checked for duplicates. You write its description from what you see. Use this whenever the owner attaches a photo in the chat (ChatGPT passes it as image). Pick the purpose from what the owner says and what the photo shows (a single coach's face = coach_headshot, a coach on an obstacle = coach_action, a group in team shirts = team, otherwise gallery); ask when it's unclear, and ask which coach or product when that's needed. If this app can't hand the photo over, use request_photo_upload instead.","inputSchema":{"type":"object","properties":{"image":{"type":"object","description":"The photo the owner attached in this chat (ChatGPT hands it over as a file).","properties":{"download_url":{"type":"string","description":"The attached file's download link, as the chat app hands it over"},"file_id":{"type":"string","description":"The attached file's id in the chat app"},"mime_type":{"type":"string","description":"The file's type, e.g. image/jpeg or image/png"},"file_name":{"type":"string","description":"The file's name as the owner attached it"}},"required":["download_url","file_id"]},"purpose":{"type":"string","enum":["gallery","coach_action","coach_headshot","team","home_hero","classes_page","pricing_page","competitions_page","party_room","product","event_flyer","avatar","page"],"description":"Where it goes (default gallery): page = a picture for a page you build in Website > Pages (kept in your library only; use it in a section as /media/u/<photo_id>-1000.webp); gallery = the Photos page (also the home page's photo row while it has room); coach_action = a coach on the course (their card and the Photos page); coach_headshot = the round picture on a coach's card; team = a team photo; home_hero = the big picture at the top of the home page; classes_page / pricing_page / competitions_page = the picture at the top of that page; party_room = the Birthday parties page (up to 4); product = a shop product's photos (up to 10); event_flyer = the flyer or picture of a special event (name it in event); avatar = one of the gym's own avatars that athletes pick as their profile picture (description = its short name, like Rocket Raccoon)"},"coach":{"type":"string","description":"The coach's name, for coach_headshot and coach_action"},"product":{"type":"string","description":"The product's name, for product"},"event":{"type":"string","description":"The special event's title, for event_flyer"},"description":{"type":"string","description":"Required with image or image_base64 (not for a headshot or product): one plain sentence you write from the photo saying what happens in it, for visitors who can't see it and for Google. Never guess anyone's name, age or traits."},"image_url":{"type":"string","description":"Instead of image: an https link straight to the picture file"},"image_base64":{"type":"string","description":"Instead of image: the JPEG, PNG or WebP file, base64-encoded (up to about 3 MB)"}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":false,"confirm":false,"developer":true,"area":"photos","url":"https://ninjahq.ai/developers/tools/photos#upload_photo"},{"name":"request_photo_upload","title":"Get a link for the owner to upload photos","description":"A private link (good for an hour) where the owner picks photos from their phone or computer: up to 20 at once for the Photos page, coaches in action and team photos, 4 for the party room, 10 for a product, 1 for a headshot, a page's top picture or a special event's flyer. Each photo is prepared exactly like upload_photo. Use it when the photo can't be handed over in the chat (for example in Claude, or for many photos at once). When the owner says they're done, call photos_to_describe: it shows you the new photos so you can write each description and save it with update_photo.","inputSchema":{"type":"object","properties":{"purpose":{"type":"string","enum":["gallery","coach_action","coach_headshot","team","home_hero","classes_page","pricing_page","competitions_page","party_room","product","event_flyer","avatar","page"],"description":"Where they go (default gallery): page = a picture for a page you build in Website > Pages (kept in your library only; use it in a section as /media/u/<photo_id>-1000.webp); gallery = the Photos page (also the home page's photo row while it has room); coach_action = a coach on the course (their card and the Photos page); coach_headshot = the round picture on a coach's card; team = a team photo; home_hero = the big picture at the top of the home page; classes_page / pricing_page / competitions_page = the picture at the top of that page; party_room = the Birthday parties page (up to 4); product = a shop product's photos (up to 10); event_flyer = the flyer or picture of a special event (name it in event); avatar = one of the gym's own avatars that athletes pick as their profile picture (description = its short name, like Rocket Raccoon)"},"coach":{"type":"string","description":"The coach's name, for coach_headshot and coach_action"},"product":{"type":"string","description":"The product's name, for product"},"event":{"type":"string","description":"The special event's title, for event_flyer"},"description":{"type":"string","description":"Only when the owner already said what the (first) photo shows; otherwise the website writes descriptions itself"}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":false,"confirm":false,"developer":true,"area":"photos","url":"https://ninjahq.ai/developers/tools/photos#request_photo_upload"},{"name":"edit_photo","title":"Crop, zoom, turn or brighten a photo, change its background, or edit a coach's headshot","description":"Edit one of the gym's photos like a photo app: crop it to a shape, zoom in on what matters, turn, mirror or straighten it, make it brighter or more colorful, or put the people on a plain background (a studio look for coach cards and flyers). With coach, edit that coach's headshot the same way (Coaches > Edit Headshot). Saving makes an edited copy (the original stays for History) and, by default, puts it everywhere the original was on the website, including the pages built in Website > Pages (their live page and draft; built_pages lists them, and each can be put back with restore_change). Describe the edit and ask first; use dry_run to check.","inputSchema":{"type":"object","properties":{"photo":{"type":"string","description":"photo_id from list_photos, or a picture address from list_pictures (the gym's own photos only). Not needed with coach"},"coach":{"type":"string","description":"Edit this coach's headshot instead (the name from get_coaches): it is cut square from the coach's original photo and shown in a circle; zoom, center_x / center_y, light and background apply, and earlier headshot edits are kept unless changed"},"background":{"type":"string","description":"Put the people in the photo on a plain background: white, light_gray, your_color (the gym's brand color), your_dark_color, or a color like #1e90ff; keep = the photo's own. Works best on photos of people. A photo with a new background is saved as a new photo unless everywhere is true"},"shape":{"type":"string","enum":["original","square","wide","4:3","3:2","tall","phone"],"description":"Crop to a shape: wide 16:9 (page tops), square (cards), tall 4:5 (social posts), phone 9:16 (stories). Default original"},"zoom":{"type":"number","description":"1 = the whole photo fits the shape; 2 = twice as close. It stops before the photo would look blurry"},"center_x":{"type":"number","description":"What to keep in the middle, 0-100 % across (50 = middle)"},"center_y":{"type":"number","description":"0-100 % down (50 = middle; faces are often 30-40)"},"turn":{"type":"string","enum":["none","right","left","upside_down"],"description":"Turn the photo a quarter right, a quarter left or upside down"},"mirror":{"type":"boolean","description":"true flips the photo left to right"},"straighten":{"type":"number","description":"Degrees, -15 to 15: tilt to make a crooked photo level (+ turns it clockwise)"},"look":{"type":"string","enum":["original","brighter","vivid","soft","black_and_white"],"description":"A color look: brighter, vivid, soft or black and white; original undoes them"},"brightness":{"type":"number","description":"Percent, 50-150 (100 = unchanged); overrides look"},"contrast":{"type":"number","description":"Percent, 50-150"},"color":{"type":"number","description":"Percent, 0-200 (0 = black and white)"},"everywhere":{"type":"boolean","description":"Default true (false with a new background): the edited photo replaces the original everywhere the site uses it. false = only add the edited copy to the library (then use_as with update_photo, or list_pictures + update_page, to place it)"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"photos","url":"https://ninjahq.ai/developers/tools/photos#edit_photo"},{"name":"update_photo","title":"Change a photo's description or where it shows","description":"Fix the description of an uploaded photo (it changes everywhere the photo appears), also show a photo somewhere else (such as the big picture at the top of the home page), or change its framing and zoom: the spot pages keep in view and how far they zoom in, like a coach's card background with heads cut off (Frame & Zoom in the back office). Get photo_id from list_photos or upload_photo's answer; for framing, a picture address from list_pictures works too.","inputSchema":{"type":"object","properties":{"photo_id":{"type":"string","description":"The photo's id, from list_photos"},"description":{"type":"string","description":"A new one-sentence description of what the photo shows"},"use_as":{"type":"string","enum":["gallery","coach_action","coach_headshot","team","home_hero","classes_page","pricing_page","competitions_page","party_room","event_flyer","avatar","page"],"description":"Also show it here: page = a picture for a page you build in Website > Pages (kept in your library only; use it in a section as /media/u/<photo_id>-1000.webp); gallery = the Photos page (also the home page's photo row while it has room); coach_action = a coach on the course (their card and the Photos page); coach_headshot = the round picture on a coach's card; team = a team photo; home_hero = the big picture at the top of the home page; classes_page / pricing_page / competitions_page = the picture at the top of that page; party_room = the Birthday parties page (up to 4); product = a shop product's photos (up to 10); event_flyer = the flyer or picture of a special event (name it in event); avatar = one of the gym's own avatars that athletes pick as their profile picture (description = its short name, like Rocket Raccoon)"},"coach":{"type":"string","description":"The coach, for coach_action"},"event":{"type":"string","description":"The special event, for event_flyer"},"center_x":{"type":"number","description":"Framing: the spot every page keeps in view when it crops the photo, percent across (0 left, 100 right). Use when a head or the action is cut off."},"center_y":{"type":"number","description":"Framing: percent down (0 top, 100 bottom); 20-35 keeps faces in a group shot"},"zoom":{"type":"number","description":"Zoom in on that spot, 1 (none) to 3. The file isn't changed; edit_photo makes a cropped copy instead."},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["photo_id"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":true,"area":"photos","url":"https://ninjahq.ai/developers/tools/photos#update_photo"},{"name":"set_photo_album","title":"Put photos in an album","description":"Group Photos page photos into albums: photos in the same album show together under the album's name on the Photos page, with links to each album at the top. Send an empty album to take photos out of their album. Same as Select Several > Put in Album on the back office's Photos page.","inputSchema":{"type":"object","properties":{"photos":{"type":"array","items":{"type":"string"},"description":"photo_id values from list_photos, or picture addresses of NinjaHQ's photos from list_pictures"},"album":{"type":"string","description":"The album's name, for example Birthday parties. Empty takes the photos out of their album."},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["photos"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"photos","url":"https://ninjahq.ai/developers/tools/photos#set_photo_album"},{"name":"photos_to_describe","title":"See uploaded photos that still need a description","description":"Shows you (as images) up to 6 uploaded photos whose description is still a placeholder, usually ones the owner added through an upload link. Look at each, write one plain sentence about what happens in it (never guessing anyone's name, age or traits), and save it with update_photo. If one isn't right for a family gym's public website, tell the owner and offer to remove it.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":true,"area":"photos","url":"https://ninjahq.ai/developers/tools/photos#photos_to_describe"},{"name":"list_photos","title":"Photos the gym has uploaded","description":"Photos added through this connector, newest first: id, what they show (the description), where they are used, and whether the description is still a placeholder. A photo that was taken off the site stays listed as kept for History until it is deleted for good.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":true,"area":"photos","url":"https://ninjahq.ai/developers/tools/photos#list_photos"},{"name":"remove_photo","title":"Take a photo off the site","description":"Take an uploaded photo off the site (a headshot goes back to the coach's initials). Ask the owner to confirm first. It can be put back from History, because the photo itself is kept. Only when the owner wants it gone completely, send delete_permanently: true as well: that cannot be undone.","inputSchema":{"type":"object","properties":{"photo_id":{"type":"string","description":"The photo's id, from list_photos"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"delete_permanently":{"type":"boolean","description":"true = also delete the stored photo for good (owners only). It can then NOT be put back from History. Only when the owner asks to delete it completely."},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["photo_id"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"photos","url":"https://ninjahq.ai/developers/tools/photos#remove_photo"},{"name":"get_website_visits","title":"Website visits (analytics)","description":"How many people visited the website, where they came from, which pages they read and what they did (booking clicks, calls, sign-ups), compared with the period before. Totals only.","inputSchema":{"type":"object","properties":{"period":{"type":"string","enum":["7d","28d","90d","12m"],"description":"7d, 28d (default), 90d or 12m"}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"insights","url":"https://ninjahq.ai/developers/tools/insights#get_website_visits"},{"name":"get_website_insights","title":"What to improve on the website","description":"What to change on the website to get more bookings, worked out from real visits (the same ranked list as Analytics > What to improve): slow pages on phones, where people get frustrated or give up on a form, which videos they watch and whether watching leads to bookings, sections few people reach, A/B test results, booking steps where people stop, menu items nobody uses, pages people leave at once, missing pages. Each tip says what was seen, what to try, which Analytics tab shows it, whether NinjaHQ handles it (website code) and whether there is enough data yet. Totals only: no visitor is identifiable.","inputSchema":{"type":"object","properties":{"days":{"type":"integer","description":"How many days to look at, 7 to 90 (default 28)"}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"insights","url":"https://ninjahq.ai/developers/tools/insights#get_website_insights"},{"name":"get_visitor_insights","title":"Heatmap, funnels and menu use","description":"How visitors really use the website (the OutWaves module visitor-insights): where they tap on a page per screen size (heatmap), the steps toward a booking, party, membership, waiver or message and where people stop (funnels), which menu items they use or never use, pages people leave within 7 seconds, form fields they skip or redo, and ranked recommendations with the numbers behind them and whether there is enough data yet. Totals only: no visitor is identifiable, no screen recordings.","inputSchema":{"type":"object","properties":{"days":{"type":"integer","description":"How many days to look at, 7 to 90 (default 28)"},"page":{"type":"string","description":"A page path for its heatmap, e.g. / or /parties (default: the home page)"},"screen":{"type":"string","enum":["phone","tablet","desktop"],"description":"Screen size for the heatmap (default phone)"}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"insights","url":"https://ninjahq.ai/developers/tools/insights#get_visitor_insights"},{"name":"get_membership_numbers","title":"Membership numbers and growth","description":"How many members the gym has, monthly income from memberships, members by plan, and how many joined and left each month. Totals only: no names.","inputSchema":{"type":"object","properties":{"months":{"type":"integer","description":"How many months of history, 1 to 24 (default 6)"}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"reports","url":"https://ninjahq.ai/developers/tools/reports#get_membership_numbers"},{"name":"get_registration_numbers","title":"Competition registration numbers","description":"For each upcoming competition: how many athletes have paid, by division, and how many spots are left. Totals only: no names.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"reports","url":"https://ninjahq.ai/developers/tools/reports#get_registration_numbers"},{"name":"list_changes","title":"History of changes","description":"The most recent changes to the website's content: when, who (and through which app), which part, and a short summary. Each has a change_id for get_change and restore_change.","inputSchema":{"type":"object","properties":{"area":{"type":"string","description":"Only this part, e.g. Weekly schedule, Coaches (optional)"},"limit":{"type":"integer","description":"How many, up to 50 (default 15)"}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"history","url":"https://ninjahq.ai/developers/tools/history#list_changes"},{"name":"get_change","title":"What exactly changed","description":"The full before-and-after of one change, line by line.","inputSchema":{"type":"object","properties":{"change_id":{"type":"string","description":"The change's id, from list_changes"}},"required":["change_id"],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"history","url":"https://ninjahq.ai/developers/tools/history#get_change"},{"name":"compare_with_date","title":"Compare a part of the site with an earlier date","description":"What is different in one part of the site between a past date and now, e.g. how the weekly schedule has changed since September 1.","inputSchema":{"type":"object","properties":{"part":{"type":"string","description":"e.g. Weekly schedule, Coaches, Opening hours"},"date":{"type":"string","description":"YYYY-MM-DD"}},"required":["part","date"],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"history","url":"https://ninjahq.ai/developers/tools/history#compare_with_date"},{"name":"restore_change","title":"Put an earlier version back","description":"Undo: put one part of the site back to how it was just before a change. Owners only. Show the owner get_change first, ask them to confirm, then send confirm: true. A restore is itself a change, so it can be undone the same way.","inputSchema":{"type":"object","properties":{"change_id":{"type":"string","description":"The change to undo, from list_changes"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"}},"required":["change_id"],"additionalProperties":false},"readOnly":false,"dryRun":false,"confirm":true,"developer":false,"area":"history","url":"https://ninjahq.ai/developers/tools/history#restore_change"},{"name":"list_section_types","title":"Page builder: section types","description":"Every section type this site can use, with its layouts (variants), fields and blocks. Read this before adding sections. Types starting with data: show live data from the site (schedule, events, prices) and stay up to date by themselves. Field types: text (one line), md (light markdown), plain (text as typed, blank lines between paragraphs), lines (an array of one-line strings), buttons (an array of { label, href, style: \"primary\" or \"secondary\" }), link, image ({ src, alt }), select, bool, youtube (a YouTube link or the video's 11-character id; kept as the id), videofile (one of the site's own uploaded videos: pass the whole object list_videos gives, { src, w, h, seconds, captions, speech, poster }). The video section shows a video that loads only when a visitor presses play: either the site's own uploaded video (file, from list_videos; it plays from the site's own address with its captions) or a YouTube video (video: its link). Set one, not both. Give it a title (the play button reads \"Play video: <title>\") and, if you like, a poster picture from list_pictures (an uploaded video has its own poster frame; YouTube's own thumbnails are never used).","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":true,"area":"pages","url":"https://ninjahq.ai/developers/tools/pages#list_section_types"},{"name":"get_design_system","title":"Page builder: the design","description":"The site's design: color schemes (with their contrast), fonts, type scale, corners, button, card and photo styles, the personalities to start from, and any warning that the site looks too much like another one. For owners, managers and developers it also has the site's custom CSS (draft.customCss) and css: the rules CSS must follow and how a page's own CSS is kept to that page.","inputSchema":{"type":"object","properties":{"version":{"type":"string","description":"Work inside this site version (its id from list_site_versions or create_site_version). Leave out (or \"live\") for the live site's drafts."}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":true,"area":"pages","url":"https://ninjahq.ai/developers/tools/pages#get_design_system"},{"name":"list_pictures","title":"Page builder: pictures","description":"The site's picture library: each picture's address (src), alt text and size. Use these addresses for image fields (with their alt text, or better words for that spot); new pictures are uploaded by the owner under Pictures in the back office.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":true,"area":"pages","url":"https://ninjahq.ai/developers/tools/pages#list_pictures"},{"name":"list_pages","title":"Page builder: pages","description":"The site's builder pages with their kind (page, or the site's own kinds such as article) and status (draft only, published, or published with unpublished changes). kind lists only that kind.","inputSchema":{"type":"object","properties":{"kind":{"type":"string","description":"Only pages of this kind (\"page\", \"article\", ...)."},"version":{"type":"string","description":"Work inside this site version (its id from list_site_versions or create_site_version). Leave out (or \"live\") for the live site's drafts."}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":true,"area":"pages","url":"https://ninjahq.ai/developers/tools/pages#list_pages"},{"name":"get_page","title":"Page builder: one page","description":"One page: its draft document (sections with ids), the live document, and an outline.","inputSchema":{"type":"object","properties":{"page":{"type":"string","description":"The page: its address (\"/camps\", \"/\" for home) or id."},"version":{"type":"string","description":"Work inside this site version (its id from list_site_versions or create_site_version). Leave out (or \"live\") for the live site's drafts."}},"required":["page"],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":true,"area":"pages","url":"https://ninjahq.ai/developers/tools/pages#get_page"},{"name":"create_page","title":"Page builder: new page","description":"A new page as a draft, from a template or from your own sections. Templates: blank, landing, about, coming-soon (a photo with opening news and a sign-up button), camp, parties, hiring; they use the site's own photos and live sections, and the words to change are in [square brackets] (check_page lists them). kind makes another kind of page the site has (list_pages names them; an article lives at /articles/<address> and starts from the site's article sections). Not visible to visitors until published.","inputSchema":{"type":"object","properties":{"kind":{"type":"string","description":"The kind of page: \"page\" (the default) or one list_pages names, such as \"article\"."},"slug":{"type":"string","description":"Its address without the slash (\"summer-camps\"); \"\" is the home page."},"title":{"type":"string","description":"The page's title (its heading and the menu label unless nav.label says otherwise)"},"template":{"type":"string","enum":["blank","landing","about","coming-soon","camp","parties","hiring"],"description":"Start from a ready-made page; blank starts empty"},"sections":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","description":"A section type from list_section_types (e.g. hero, cards, faq, or data:schedule)."},"variant":{"type":"string","description":"The layout, one of the type's variants. Leave out for the first."},"scheme":{"type":"string","description":"A color scheme name from get_design_system (e.g. light, dark, accent)."},"hidden":{"type":"boolean","description":"Keep the section on the page but don't show it."},"show":{"type":"string","enum":["all","phone","computer"],"description":"Where visitors see it: \"all\" (everywhere, the default), \"phone\" (phones only, narrower than 700 px) or \"computer\" (computers and tablets only). For a long table or a video that suits one size; the first section always shows everywhere."},"overlay":{"type":"string","enum":["none","light","medium","dark","lighten"],"description":"The shade over a photo behind the words (a Hero in the full layout): medium is the default; dark calms a busy photo; light and none show more of the photo with the words on a dark panel; lighten fades the photo to white with dark words. The words stay readable (WCAG AA) with every choice."},"divider":{"type":"object","properties":{"top":{"type":"string","enum":["none","angle","slant","curve","wave","mountains","triangle"]},"bottom":{"type":"string","enum":["none","angle","slant","curve","wave","mountains","triangle"]}},"description":"Shapes on the section's top and bottom edges (like a WordPress theme's section dividers), drawn in the colour of the section next to it: { bottom: \"mountains\" }. Leave out a side for a straight edge; {} or \"none\" removes them."},"anchor":{"type":"string","description":"The section's anchor, so a button or a Jump Links section can take visitors straight to it: a word or words joined by dashes (parties, open-gym), linked as #parties. \"\" removes it."},"ornament":{"type":"boolean","description":"A small accent-coloured ornament (two short lines and a slash) above the section's words, like many themes put between sections."},"lift":{"type":"boolean","description":"The section moves up over the bottom of the section above it, like cards whose photos overlap a dark hero band (WordPress themes do this under a page-top banner). Not for the first section."},"still":{"type":"boolean","description":"The photo behind the section (a background photo, or a Hero's Banner or Full Photo picture) stays put while the page scrolls over it. Off for visitors who ask for reduced motion."},"photo":{"type":"object","description":"A photo behind the section's words, any section but a Hero in the full or banner layout (they use their own picture): { src } from the site's library. The words turn white over a shade (overlay sets how dark; lighten fades the photo to white with dark words); null removes it."},"settings":{"type":"object","description":"The section's fields. Text fields take plain text with **bold**, *italic*, [words](/link) and \"- \" lists. Pictures are { src, alt, focus }: focus \"x% y%\" is the spot kept in view when the picture is cropped (a face; \"50% 30%\" by default for people)."},"blocks":{"type":"array","items":{"type":"object"},"description":"The section's repeatable items: [{ settings: {...} }], in order. Replaces all blocks when given."}}},"description":"Your own sections instead of a template: [{ type, variant, scheme, settings, blocks }]"},"seo":{"type":"object","properties":{"title":{"type":"string","description":"The title in search results (about 60 characters)"},"description":{"type":"string","description":"The description in search results (about 155 characters)"}},"description":"Search results: { title, description }"},"nav":{"type":"object","properties":{"show":{"type":"boolean","description":"true adds the page to the website's menu"},"label":{"type":"string","description":"The menu's words for the page; leave out to use the title"},"order":{"type":"integer","description":"Where it goes in the menu, from 1 (leftmost)"}},"description":"The page's menu entry: { show, label, order }"},"dry_run":{"type":"boolean","description":"Check the change and show the result without saving it."},"version":{"type":"string","description":"Work inside this site version (its id from list_site_versions or create_site_version). Leave out (or \"live\") for the live site's drafts."}},"required":["slug","title"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":true,"area":"pages","url":"https://ninjahq.ai/developers/tools/pages#create_page"},{"name":"update_page","title":"Page builder: page details","description":"Change a page's title, address, search title and description, menu entry, or its own CSS (draft). css is CSS for this page only (owners, managers and developers; up to 20,000 characters): every selector is kept to the page for you, so `.pb-t-hero h1 { letter-spacing: .04em }` becomes `[data-pb-page=\"/camps\"] .pb-t-hero h1 {...}`, and `&` or `:scope` means the page itself. Style the page's classes: .pb-sec (each section, with id = its section id), .pb-t-<type>, .pb-v-<layout>, .pb-s-<scheme>, .pb-btn-1/.pb-btn-2, .pb-card, and the design's variables (var(--pb-accent), var(--pb-text), var(--pb-font-h), ...). Rules: no @import, no < or backslashes, url() only for this site's /media/ and /fonts/ files. css replaces the page's CSS; \"\" removes it. Check the preview on a phone and a computer before publishing.","inputSchema":{"type":"object","properties":{"page":{"type":"string","description":"The page: its address (\"/camps\", \"/\" for home) or id."},"title":{"type":"string","description":"The page's new title"},"slug":{"type":"string","description":"The page's address after the domain, e.g. summer-camp for /summer-camp"},"seo":{"type":"object","description":"Search results: { title, description }; send only what changes"},"nav":{"type":"object","description":"The menu entry: { show, label, order }; send only what changes"},"css":{"type":"string","description":"This page's own CSS (replaces what it has; \"\" removes it). Kept to this page automatically."},"dry_run":{"type":"boolean","description":"Check the change and show the result without saving it."},"version":{"type":"string","description":"Work inside this site version (its id from list_site_versions or create_site_version). Leave out (or \"live\") for the live site's drafts."}},"required":["page"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":true,"area":"pages","url":"https://ninjahq.ai/developers/tools/pages#update_page"},{"name":"add_section","title":"Page builder: add a section","description":"Add a section to a page's draft, at the end or before/after another section.","inputSchema":{"type":"object","properties":{"page":{"type":"string","description":"The page: its address (\"/camps\", \"/\" for home) or id."},"type":{"type":"string","description":"A section type from list_section_types (e.g. hero, cards, faq, or data:schedule)."},"variant":{"type":"string","description":"The layout, one of the type's variants. Leave out for the first."},"scheme":{"type":"string","description":"A color scheme name from get_design_system (e.g. light, dark, accent)."},"hidden":{"type":"boolean","description":"Keep the section on the page but don't show it."},"show":{"type":"string","enum":["all","phone","computer"],"description":"Where visitors see it: \"all\" (everywhere, the default), \"phone\" (phones only, narrower than 700 px) or \"computer\" (computers and tablets only). For a long table or a video that suits one size; the first section always shows everywhere."},"overlay":{"type":"string","enum":["none","light","medium","dark","lighten"],"description":"The shade over a photo behind the words (a Hero in the full layout): medium is the default; dark calms a busy photo; light and none show more of the photo with the words on a dark panel; lighten fades the photo to white with dark words. The words stay readable (WCAG AA) with every choice."},"divider":{"type":"object","properties":{"top":{"type":"string","enum":["none","angle","slant","curve","wave","mountains","triangle"],"description":"The shape on the section's top edge: one of the page builder's dividers (mountains, wave, curve and the rest), or none for a straight edge"},"bottom":{"type":"string","enum":["none","angle","slant","curve","wave","mountains","triangle"],"description":"The shape on the section's bottom edge: one of the page builder's dividers (mountains, wave, curve and the rest), or none for a straight edge"}},"description":"Shapes on the section's top and bottom edges (like a WordPress theme's section dividers), drawn in the colour of the section next to it: { bottom: \"mountains\" }. Leave out a side for a straight edge; {} or \"none\" removes them."},"anchor":{"type":"string","description":"The section's anchor, so a button or a Jump Links section can take visitors straight to it: a word or words joined by dashes (parties, open-gym), linked as #parties. \"\" removes it."},"ornament":{"type":"boolean","description":"A small accent-coloured ornament (two short lines and a slash) above the section's words, like many themes put between sections."},"lift":{"type":"boolean","description":"The section moves up over the bottom of the section above it, like cards whose photos overlap a dark hero band (WordPress themes do this under a page-top banner). Not for the first section."},"still":{"type":"boolean","description":"The photo behind the section (a background photo, or a Hero's Banner or Full Photo picture) stays put while the page scrolls over it. Off for visitors who ask for reduced motion."},"photo":{"type":"object","description":"A photo behind the section's words, any section but a Hero in the full or banner layout (they use their own picture): { src } from the site's library. The words turn white over a shade (overlay sets how dark; lighten fades the photo to white with dark words); null removes it."},"settings":{"type":"object","description":"The section's fields. Text fields take plain text with **bold**, *italic*, [words](/link) and \"- \" lists. Pictures are { src, alt, focus }: focus \"x% y%\" is the spot kept in view when the picture is cropped (a face; \"50% 30%\" by default for people)."},"blocks":{"type":"array","items":{"type":"object"},"description":"The section's repeatable items: [{ settings: {...} }], in order. Replaces all blocks when given."},"before":{"type":"string","description":"Put it before this section id."},"after":{"type":"string","description":"Put it after this section id."},"index":{"type":"integer","description":"Or its position, 0 = first."},"dry_run":{"type":"boolean","description":"Check the change and show the result without saving it."},"version":{"type":"string","description":"Work inside this site version (its id from list_site_versions or create_site_version). Leave out (or \"live\") for the live site's drafts."}},"required":["page","type"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":true,"area":"pages","url":"https://ninjahq.ai/developers/tools/pages#add_section"},{"name":"update_section","title":"Page builder: change a section","description":"Change one section: its layout, color scheme, hidden state, where it shows (show: all, phone or computer), the shade over its photo (overlay), the shapes on its edges (divider), a photo behind it (photo), some of its fields (others stay), or all of its blocks.","inputSchema":{"type":"object","properties":{"page":{"type":"string","description":"The page: its address (\"/camps\", \"/\" for home) or id."},"id":{"type":"string","description":"The section id from get_page."},"type":{"type":"string","description":"A section type from list_section_types (e.g. hero, cards, faq, or data:schedule)."},"variant":{"type":"string","description":"The layout, one of the type's variants. Leave out for the first."},"scheme":{"type":"string","description":"A color scheme name from get_design_system (e.g. light, dark, accent)."},"hidden":{"type":"boolean","description":"Keep the section on the page but don't show it."},"show":{"type":"string","enum":["all","phone","computer"],"description":"Where visitors see it: \"all\" (everywhere, the default), \"phone\" (phones only, narrower than 700 px) or \"computer\" (computers and tablets only). For a long table or a video that suits one size; the first section always shows everywhere."},"overlay":{"type":"string","enum":["none","light","medium","dark","lighten"],"description":"The shade over a photo behind the words (a Hero in the full layout): medium is the default; dark calms a busy photo; light and none show more of the photo with the words on a dark panel; lighten fades the photo to white with dark words. The words stay readable (WCAG AA) with every choice."},"divider":{"type":"object","properties":{"top":{"type":"string","enum":["none","angle","slant","curve","wave","mountains","triangle"],"description":"The shape on the section's top edge: one of the page builder's dividers (mountains, wave, curve and the rest), or none for a straight edge"},"bottom":{"type":"string","enum":["none","angle","slant","curve","wave","mountains","triangle"],"description":"The shape on the section's bottom edge: one of the page builder's dividers (mountains, wave, curve and the rest), or none for a straight edge"}},"description":"Shapes on the section's top and bottom edges (like a WordPress theme's section dividers), drawn in the colour of the section next to it: { bottom: \"mountains\" }. Leave out a side for a straight edge; {} or \"none\" removes them."},"anchor":{"type":"string","description":"The section's anchor, so a button or a Jump Links section can take visitors straight to it: a word or words joined by dashes (parties, open-gym), linked as #parties. \"\" removes it."},"ornament":{"type":"boolean","description":"A small accent-coloured ornament (two short lines and a slash) above the section's words, like many themes put between sections."},"lift":{"type":"boolean","description":"The section moves up over the bottom of the section above it, like cards whose photos overlap a dark hero band (WordPress themes do this under a page-top banner). Not for the first section."},"still":{"type":"boolean","description":"The photo behind the section (a background photo, or a Hero's Banner or Full Photo picture) stays put while the page scrolls over it. Off for visitors who ask for reduced motion."},"photo":{"type":"object","description":"A photo behind the section's words, any section but a Hero in the full or banner layout (they use their own picture): { src } from the site's library. The words turn white over a shade (overlay sets how dark; lighten fades the photo to white with dark words); null removes it."},"settings":{"type":"object","description":"The section's fields. Text fields take plain text with **bold**, *italic*, [words](/link) and \"- \" lists. Pictures are { src, alt, focus }: focus \"x% y%\" is the spot kept in view when the picture is cropped (a face; \"50% 30%\" by default for people)."},"blocks":{"type":"array","items":{"type":"object"},"description":"The section's repeatable items: [{ settings: {...} }], in order. Replaces all blocks when given."},"dry_run":{"type":"boolean","description":"Check the change and show the result without saving it."},"version":{"type":"string","description":"Work inside this site version (its id from list_site_versions or create_site_version). Leave out (or \"live\") for the live site's drafts."}},"required":["page","id"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":true,"area":"pages","url":"https://ninjahq.ai/developers/tools/pages#update_section"},{"name":"move_section","title":"Page builder: move a section","description":"Move a section before or after another, or to a position.","inputSchema":{"type":"object","properties":{"page":{"type":"string","description":"The page: its address (\"/camps\", \"/\" for home) or id."},"id":{"type":"string","description":"The section to move, from get_page"},"before":{"type":"string","description":"Put it before this section id."},"after":{"type":"string","description":"Put it after this section id."},"index":{"type":"integer","description":"Or its position, 0 = first."},"dry_run":{"type":"boolean","description":"Check the change and show the result without saving it."},"version":{"type":"string","description":"Work inside this site version (its id from list_site_versions or create_site_version). Leave out (or \"live\") for the live site's drafts."}},"required":["page","id"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":true,"area":"pages","url":"https://ninjahq.ai/developers/tools/pages#move_section"},{"name":"duplicate_section","title":"Page builder: copy a section","description":"Copy a section right after itself (to try a different layout side by side, then remove one).","inputSchema":{"type":"object","properties":{"page":{"type":"string","description":"The page: its address (\"/camps\", \"/\" for home) or id."},"id":{"type":"string","description":"The section to copy, from get_page"},"dry_run":{"type":"boolean","description":"Check the change and show the result without saving it."},"version":{"type":"string","description":"Work inside this site version (its id from list_site_versions or create_site_version). Leave out (or \"live\") for the live site's drafts."}},"required":["page","id"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":true,"area":"pages","url":"https://ninjahq.ai/developers/tools/pages#duplicate_section"},{"name":"remove_section","title":"Page builder: remove a section","description":"Remove a section from the draft (the live page keeps it until you publish).","inputSchema":{"type":"object","properties":{"page":{"type":"string","description":"The page: its address (\"/camps\", \"/\" for home) or id."},"id":{"type":"string","description":"The section to remove, from get_page"},"dry_run":{"type":"boolean","description":"Check the change and show the result without saving it."},"version":{"type":"string","description":"Work inside this site version (its id from list_site_versions or create_site_version). Leave out (or \"live\") for the live site's drafts."}},"required":["page","id"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":true,"area":"pages","url":"https://ninjahq.ai/developers/tools/pages#remove_section"},{"name":"check_page","title":"Page builder: check a page","description":"Review a page's draft before publishing, without changing anything: every rule (fields, links, alt text, headings) plus the review's findings, each with severity (error or warning), the section it's in, the problem in plain words and the exact fix: missing or poor alt text, heading order, empty or long headings, vague link words (\"click here\"), buttons that go nowhere, color contrast, pictures too small for their spot, very long words, and the page's CSS (removed focus outlines, text under 12px, fixed widths wider than a phone, hidden menus, motion without a reduced-motion guard, unreadable color pairs). Fix the errors (and ideally the warnings) with the other tools, then check again. The editor's Review also checks the layout at phone and computer sizes.","inputSchema":{"type":"object","properties":{"page":{"type":"string","description":"The page: its address (\"/camps\", \"/\" for home) or id."},"version":{"type":"string","description":"Work inside this site version (its id from list_site_versions or create_site_version). Leave out (or \"live\") for the live site's drafts."}},"required":["page"],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":true,"area":"pages","url":"https://ninjahq.ai/developers/tools/pages#check_page"},{"name":"preview_page","title":"Page builder: preview link","description":"A private link to the page's draft in the draft design, good for 24 hours, with the review's findings (see check_page). Share it with the person to look at before publishing (check it on a phone too).","inputSchema":{"type":"object","properties":{"page":{"type":"string","description":"The page: its address (\"/camps\", \"/\" for home) or id."},"version":{"type":"string","description":"Work inside this site version (its id from list_site_versions or create_site_version). Leave out (or \"live\") for the live site's drafts."}},"required":["page"],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":true,"area":"pages","url":"https://ninjahq.ai/developers/tools/pages#preview_page"},{"name":"set_design","title":"Page builder: change the design","description":"Change the site's design in the draft: start from a personality and/or change tokens (schemes, fonts, scale, base, headingWeight, headingCase, radius, radiusPx (an exact corner size in pixels), buttons, cards, photos, dividers, spacing, width, motion; a scheme may also have the site's own roles listed by get_design_system). It affects every page once published (on some sites the whole site, not only builder pages). Answers with contrast problems (the change is refused until fixed) and warnings if the site would look too much like another. custom_css is the site's own CSS for what the tokens can't do (owners, managers and developers; up to 60,000 characters): it applies to every page after the design, replaces the CSS the site has (\"\" removes it; leave it out to keep it), and follows the rules in get_design_system's css (no @import, no < or backslashes, url() only for this site's /media/ and /fonts/ files). For one page only, use update_page's css.","inputSchema":{"type":"object","properties":{"personality":{"type":"string","description":"Start from a personality: its key or name from get_design_system (personalities)"},"changes":{"type":"object","description":"Design tokens to change, by name from get_design_system, e.g. { \"radius\": \"round\", \"headingCase\": \"upper\" }"},"custom_css":{"type":"string","description":"The site's whole custom CSS (replaces it; \"\" removes it). Read the current one in get_design_system's draft.customCss first and change that."},"dry_run":{"type":"boolean","description":"Check the change and show the result without saving it."},"version":{"type":"string","description":"Work inside this site version (its id from list_site_versions or create_site_version). Leave out (or \"live\") for the live site's drafts."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":true,"area":"pages","url":"https://ninjahq.ai/developers/tools/pages#set_design"},{"name":"publish_page","title":"Page builder: publish a page","description":"Put a page's draft on the live site. Only those who publish can (owners and managers); ask the person first and pass confirm: true after they agree. The review (check_page) runs first. If it finds problems the page isn't published and you get findings: blocked: true means this person's role can't publish while errors remain, so fix every error with the other tools and try again; needsAnyway: true means you may fix them, or (only if the person agrees) call again with anyway: true and a reason in a few words, which is kept with the version.","inputSchema":{"type":"object","properties":{"page":{"type":"string","description":"The page: its address (\"/camps\", \"/\" for home) or id."},"note":{"type":"string","description":"A short note on what changed, kept in the page's version history"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"anyway":{"type":"boolean","description":"Publish over the review's findings (the person agreed). Needs reason."},"reason":{"type":"string","description":"Why it's published anyway, a few words."},"version":{"type":"string","description":"Work inside this site version (its id from list_site_versions or create_site_version). Leave out (or \"live\") for the live site's drafts."}},"required":["page"],"additionalProperties":false},"readOnly":false,"dryRun":false,"confirm":true,"developer":true,"area":"pages","url":"https://ninjahq.ai/developers/tools/pages#publish_page"},{"name":"publish_design","title":"Page builder: publish the design","description":"Put the draft design live on every page. Owners and managers only; ask first and pass confirm: true. The review checks the design's colors and the site's custom CSS first; it answers like publish_page (blocked, or needsAnyway with anyway and reason).","inputSchema":{"type":"object","properties":{"note":{"type":"string","description":"A short note on what changed, kept in the design's version history"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"anyway":{"type":"boolean","description":"true publishes even though the review found problems (owners only, after they agree); give the reason"},"reason":{"type":"string","description":"Why it goes live anyway, in the owner's words; kept in History with the change"}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":false,"confirm":true,"developer":true,"area":"pages","url":"https://ninjahq.ai/developers/tools/pages#publish_design"},{"name":"list_versions","title":"Page builder: versions","description":"Published versions of a page (or of the design: page \"design\"), newest first.","inputSchema":{"type":"object","properties":{"page":{"type":"string","description":"The page: its address (\"/camps\", \"/\" for home) or id."}},"required":["page"],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":true,"area":"pages","url":"https://ninjahq.ai/developers/tools/pages#list_versions"},{"name":"restore_version","title":"Page builder: put a version back","description":"Put an earlier version back into the draft; with live: true (owners and managers, confirm: true) straight onto the site.","inputSchema":{"type":"object","properties":{"version":{"type":"integer","description":"The version's number, from list_versions"},"live":{"type":"boolean","description":"true puts it straight on the live site (owners and managers, with confirm: true); otherwise it becomes the draft"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"}},"required":["version"],"additionalProperties":false},"readOnly":false,"dryRun":false,"confirm":true,"developer":true,"area":"pages","url":"https://ninjahq.ai/developers/tools/pages#restore_version"},{"name":"list_site_versions","title":"Page builder: site versions","description":"The site's versions, like Shopify's theme library: the one that's live, the ones being worked on (each a copy of the whole site: design, site and page CSS, every page, and the site's menu and logo), and the library of versions that were live before (ready to restore). Each has its id, name and preview link.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":true,"area":"pages","url":"https://ninjahq.ai/developers/tools/pages#list_site_versions"},{"name":"create_site_version","title":"Page builder: new site version","description":"Start a new version: a copy of the live site (or of another version: from) to change without touching the live site. Then pass its id as `version` to get_page, update_section, set_design and the other page and design tools; nothing changes for visitors until publish_site_version. Answers with its preview link (14 days) to share.","inputSchema":{"type":"object","properties":{"name":{"type":"string","description":"A short name, like \"Spring refresh\"."},"note":{"type":"string","description":"What this version is for, shown in the version library, e.g. Fall redesign"},"from":{"type":"string","description":"Copy this version id instead of the live site (a library version, to start from an old look)."}},"required":["name"],"additionalProperties":false},"readOnly":false,"dryRun":false,"confirm":false,"developer":true,"area":"pages","url":"https://ninjahq.ai/developers/tools/pages#create_site_version"},{"name":"get_site_version","title":"Page builder: one site version","description":"One version: its status, pages (with the ids to use as page inside it), and preview link.","inputSchema":{"type":"object","properties":{"version":{"type":"string","description":"The version id, or \"live\"."}},"required":["version"],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":true,"area":"pages","url":"https://ninjahq.ai/developers/tools/pages#get_site_version"},{"name":"site_version_link","title":"Page builder: version preview link","description":"The version's preview link: anyone with it sees the whole site as that version (every page, the design, the menu and logo) for 14 days, with a bar saying it's a preview. action: create (or give the current one), renew (a fresh 14 days; the old link stops), revoke (turn it off).","inputSchema":{"type":"object","properties":{"version":{"type":"string","description":"The version's id, from list_site_versions"},"action":{"type":"string","enum":["create","renew","revoke"],"description":"create (or show the current link), renew (a fresh 14 days) or revoke (the link stops working)"}},"required":["version"],"additionalProperties":false},"readOnly":false,"dryRun":false,"confirm":false,"developer":true,"area":"pages","url":"https://ninjahq.ai/developers/tools/pages#site_version_link"},{"name":"publish_site_version","title":"Page builder: publish a site version","description":"Put a whole version live at once: its design and every page (pages not in it come off the site; their drafts are kept), and the site's menu and logo. The version that was live goes into the library. Only those who publish can; ask the person first and pass confirm: true. The review runs on every page first and answers like publish_page (blocked: fix the errors in the version and try again; needsAnyway: fix, or with the person's agreement call again with anyway: true and a reason).","inputSchema":{"type":"object","properties":{"version":{"type":"string","description":"The version's id, from list_site_versions"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"anyway":{"type":"boolean","description":"true publishes even though the review found problems (owners only, after they agree); give the reason"},"reason":{"type":"string","description":"Why it goes live anyway, in the owner's words; kept in History with the change"},"note":{"type":"string","description":"A short note on what this version changes, kept in the library"}},"required":["version"],"additionalProperties":false},"readOnly":false,"dryRun":false,"confirm":true,"developer":true,"area":"pages","url":"https://ninjahq.ai/developers/tools/pages#publish_site_version"},{"name":"restore_site_version","title":"Page builder: restore a site version","description":"Put a version from the library back live (one step, the same as publishing it again; the review runs and owners can publish anyway with a reason). Ask first and pass confirm: true.","inputSchema":{"type":"object","properties":{"version":{"type":"string","description":"The library version's id, from list_site_versions"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"anyway":{"type":"boolean","description":"true publishes even though the review found problems (owners only, after they agree); give the reason"},"reason":{"type":"string","description":"Why it goes live anyway, in the owner's words; kept in History with the change"}},"required":["version"],"additionalProperties":false},"readOnly":false,"dryRun":false,"confirm":true,"developer":true,"area":"pages","url":"https://ninjahq.ai/developers/tools/pages#restore_site_version"},{"name":"set_coaches_layout","title":"Page builder: Coaches page layout","description":"See or change the layout of the Coaches page (how the coach cards are arranged). Without layout: the layouts, the one live now, the one in the draft and the one suggested for this team (from how many coaches there are and how many have a bio and photos). With layout: saves it into the Coaches page's draft and gives a preview link; it goes live only with publish_page, so show the person the preview and ask before publishing.","inputSchema":{"type":"object","properties":{"layout":{"type":"string","enum":["featured","pair","lead","pair-lead","grid","photos","list","suggested"],"description":"The layout: featured (one big card, then a grid), pair (two big cards side by side, then a grid), lead (two big cards one above the other, then a grid), pair-lead (two side by side, a third big card, then a grid), grid (every coach the same size), photos (every coach a big photo card, two to a row), list (a compact list), or suggested. Leave out to see the choices and the suggestion first."},"dry_run":{"type":"boolean","description":"Check without saving."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"pages","url":"https://ninjahq.ai/developers/tools/pages#set_coaches_layout"},{"name":"get_membership_plans","title":"Membership plans","description":"Every membership plan the gym sells (or used to): name, price, how often it is charged, sign-up fee, free trial, people covered, whether families can join online, and whether it is on sale. Plans only: never members.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"memberships","url":"https://ninjahq.ai/developers/tools/memberships#get_membership_plans"},{"name":"add_membership_plan","title":"Add a membership plan","description":"Add a membership plan (owners only). Ask the owner for the name, price and how often it is charged; never guess a price. Families see it on the Memberships page when families_can_join_online is true (the default).","inputSchema":{"type":"object","properties":{"name":{"type":"string","description":"e.g. Ninja Unlimited (up to 80 characters)"},"description":{"type":"string","description":"One or two lines families see under the plan's name (up to 300 characters)"},"price":{"type":"number","description":"Dollars each time it is charged, $1 to $5,000"},"how_often":{"type":"string","enum":["weekly","monthly","yearly"],"description":"How often it is charged"},"every":{"type":"integer","description":"Charged every 1 (default), 2, 3 or 6 weeks / months / years"},"sign_up_fee":{"type":"number","description":"A one-time fee in dollars; 0 for none"},"free_trial_days":{"type":"integer","description":"0 to 60"},"people_covered":{"type":"integer","description":"How many people one membership covers, 1 to 8 (a family plan covers several)"},"families_can_join_online":{"type":"boolean","description":"true = shown on the website's Memberships page so families can join and pay online"},"list_position":{"type":"integer","description":"Order on the Memberships page, 0 to 99 (lower first)"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["name","price","how_often"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"memberships","url":"https://ninjahq.ai/developers/tools/memberships#add_membership_plan"},{"name":"update_membership_plan","title":"Change a membership plan","description":"Change a membership plan's name, price, how often it is charged, fee, trial, people covered, online sign-up or order (owners only). Send only what changes; everything else stays. Existing members keep their own price.","inputSchema":{"type":"object","properties":{"plan":{"type":"string","description":"The plan's current name"},"new_name":{"type":"string","description":"The plan's new name"},"description":{"type":"string","description":"One or two lines families see under the plan's name (up to 300 characters)"},"price":{"type":"number","description":"Dollars each time it is charged, $1 to $5,000"},"how_often":{"type":"string","enum":["weekly","monthly","yearly"],"description":"How often it is charged"},"every":{"type":"integer","description":"Charged every 1 (default), 2, 3 or 6 weeks / months / years"},"sign_up_fee":{"type":"number","description":"A one-time fee in dollars; 0 for none"},"free_trial_days":{"type":"integer","description":"0 to 60"},"people_covered":{"type":"integer","description":"How many people one membership covers, 1 to 8 (a family plan covers several)"},"families_can_join_online":{"type":"boolean","description":"true = shown on the website's Memberships page so families can join and pay online"},"list_position":{"type":"integer","description":"Order on the Memberships page, 0 to 99 (lower first)"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["plan"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"memberships","url":"https://ninjahq.ai/developers/tools/memberships#update_membership_plan"},{"name":"reorder_membership_plans","title":"Change the order of membership plans","description":"Change the order membership plans show in on the website's Pricing and Memberships pages and in the back office (owners only). get_membership_plans lists them in the current order. Only plans on sale are ordered.","inputSchema":{"type":"object","properties":{"order":{"type":"array","items":{"type":"string"},"description":"Plan names in the order they should show, first one first. Plans you leave out keep their order after these."},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["order"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"memberships","url":"https://ninjahq.ai/developers/tools/memberships#reorder_membership_plans"},{"name":"set_membership_plan_on_sale","title":"Stop or restart selling a membership plan","description":"Stop selling a membership plan (it leaves the website; current members keep their memberships) or put an archived plan back on sale (owners only). Stopping needs the owner's yes and confirm: true.","inputSchema":{"type":"object","properties":{"plan":{"type":"string","description":"The plan's id or exact name, from get_membership_plans"},"on_sale":{"type":"boolean","description":"false = stop selling it (archive); true = sell it again"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["plan","on_sale"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"memberships","url":"https://ninjahq.ai/developers/tools/memberships#set_membership_plan_on_sale"},{"name":"get_member_benefits","title":"Member prices","description":"What members pay for open gym: each membership plan's open gym perk (Free, money off, or a members' price) and the price for children in a weekly class. Members get it automatically online, in the family cart and at the front desk.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"memberships","url":"https://ninjahq.ai/developers/tools/memberships#get_member_benefits"},{"name":"set_member_benefit","title":"Set a member price for open gym","description":"Set what members pay for open gym (owners only): on a membership plan (e.g. Elite: free) or for children in a weekly class (e.g. $5 off). Ask the owner for the amount; never guess it.","inputSchema":{"type":"object","properties":{"who":{"type":"string","description":"A membership plan's name (e.g. Elite), or \"weekly class\" for children enrolled in a weekly class"},"how":{"type":"string","enum":["free","money_off","members_pay","regular"],"description":"free; money_off (amount = dollars off); members_pay (amount = the price); regular = no member price"},"amount":{"type":"number","description":"Dollars, for money_off or members_pay"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["who","how"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"memberships","url":"https://ninjahq.ai/developers/tools/memberships#set_member_benefit"},{"name":"get_push_notifications","title":"Push notifications","description":"Push notifications to families' phones: whether they are switched on, how many families and devices have them on, whether the website is live (before launch only staff and test addresses get them), and the last 30 sends (title, message, link, who it went to, families and devices reached). Sending is done by an owner in the back office (Marketing > Push notifications): it reaches people, so the connector never sends one.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"emails","url":"https://ninjahq.ai/developers/tools/emails#get_push_notifications"},{"name":"get_class_packs","title":"Class packs","description":"The class packs the gym sells (at the front desk, and online on the class packs page): name, number of classes, price and how many months a pack is good for.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"memberships","url":"https://ninjahq.ai/developers/tools/memberships#get_class_packs"},{"name":"save_class_pack","title":"Add or change a class pack","description":"Add a class pack, or change one's name, number of classes, price or months it is good for (owners and managers). Send only what changes. Packs already sold keep what they were sold with.","inputSchema":{"type":"object","properties":{"pack":{"type":"string","description":"The pack's current name, to change one; leave out to add a new pack"},"name":{"type":"string","description":"e.g. 10-class pack (up to 60 characters)"},"classes":{"type":"integer","description":"How many classes, 1 to 500"},"price":{"type":"number","description":"Dollars"},"months":{"type":"integer","description":"How many months it is good for; 0 = no end"},"location":{"type":"string","description":"Only for gyms with several locations: the location that sells it, by name; empty = every location"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"memberships","url":"https://ninjahq.ai/developers/tools/memberships#save_class_pack"},{"name":"remove_class_pack","title":"Stop selling a class pack","description":"Take a kind of class pack off sale (owners and managers). Packs families already bought keep working. Ask the owner to confirm, then send confirm: true. It can be put back from History.","inputSchema":{"type":"object","properties":{"pack":{"type":"string","description":"The class pack's id or exact name, from get_class_packs"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["pack"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"memberships","url":"https://ninjahq.ai/developers/tools/memberships#remove_class_pack"},{"name":"get_competitions","title":"Competitions","description":"The gym's competitions with their details: type, league and tier, dates, entry price, registration dates, capacity, links, wave times, description and whether it is shown on the website. Details only: athletes and registrations stay in the back office (get_registration_numbers gives totals).","inputSchema":{"type":"object","properties":{"include_past":{"type":"boolean","description":"true = also past competitions (default: upcoming only)"}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"competitions","url":"https://ninjahq.ai/developers/tools/competitions#get_competitions"},{"name":"add_competition","title":"Add a competition","description":"Create a competition (owners and managers). Ask the owner for the name, type, date, entry price and league; never guess them. It is saved as a hidden draft unless show_on_website is true; families can register once it is shown and has an entry price. Divisions, registrations and the run order are handled in the back office.","inputSchema":{"type":"object","properties":{"name":{"type":"string","description":"e.g. Fall Ninja Classic (up to 120 characters)"},"competition_type":{"type":"string","enum":["challenge","flow","skills","speed","stage","ocr","team","other"],"description":"challenge = Challenge course, flow = Flow course, skills = Skills competition, speed = Speed / head to head, stage = Stages (ninja warrior style), ocr = Obstacle course race, team = Team competition. Families see it when they register"},"league":{"type":"string","description":"e.g. WNL or UNAA; empty for the gym's own local event"},"tier":{"type":"string","description":"e.g. Tier 1, Tier 2, Qualifier (Tier 1 adds the Elite division)"},"first_day":{"type":"string","description":"YYYY-MM-DD"},"last_day":{"type":"string","description":"YYYY-MM-DD, only when it runs over several days; empty to clear"},"ages_counted_on":{"type":"string","description":"YYYY-MM-DD: the date athletes' ages are counted on (WNL uses January 1 of the championship year)"},"entry_price":{"type":"number","description":"Dollars. Online registration opens only when it is more than 0"},"registration_opens":{"type":"string","description":"YYYY-MM-DD; empty = open now"},"registration_closes":{"type":"string","description":"YYYY-MM-DD, end of that day; empty = open until the competition"},"capacity":{"type":"integer","description":"Most paid athletes; 0 = no limit"},"live_stream_link":{"type":"string","description":"YouTube link; empty to remove"},"results_link":{"type":"string","description":"Link to the results; empty to remove"},"league_page_link":{"type":"string","description":"The league's page for this tier; empty to remove"},"ninja_master_event":{"type":"string","description":"The Ninja Master event's link or number; empty to remove"},"registration_where":{"type":"string","enum":["here","ninja_master","sportsengine","other"],"description":"Where families register: here = the gym's own website with online checkout; ninja_master, sportsengine or other = on that site (UNAA and NSC usually use Ninja Master, FINA SportsEngine). Then the Register buttons say \"Register on Ninja Master\" and open registration_link; the competition page, countdown, live stream, run order and results stay on the gym's website"},"registration_link":{"type":"string","description":"The https link to the competition's registration on that other site; empty to remove"},"ninjaworks_competition":{"type":"string","description":"The NinjaWorks timing competition link or number (live results and who is on the course); empty to remove"},"wave_times":{"type":"string","description":"The league's wave schedule: a day on its own line, then one line per wave like Teens | 9AM. When one competition covers two courses (a double header), put a line naming each course before its waves, like Flow course"},"description":{"type":"string","description":"Shown on the competition's page (up to 4,000 characters)"},"flyer":{"type":"string","description":"The name of a flyer the gym already has (get_special_events lists flyers); empty to remove. New flyers are added with upload_photo, purpose event_flyer"},"show_on_website":{"type":"boolean","description":"true = published on the website (registration can open); false = a hidden draft"},"location":{"type":"string","description":"Which location it is at, by name (only for gyms with several locations); empty = every location"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["name","first_day"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"competitions","url":"https://ninjahq.ai/developers/tools/competitions#add_competition"},{"name":"get_hosted_leagues","title":"Leagues the gym hosts","description":"Which leagues' competitions the gym hosts (World Ninja League, UNAA, NSC, FINA, or its own competitions), whether the owner set it or it is worked out from the gym's competitions, and whether the website uses World Ninja League wording (the WNL steps, tiers and stats show only for a WNL gym).","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"competitions","url":"https://ninjahq.ai/developers/tools/competitions#get_hosted_leagues"},{"name":"set_hosted_leagues","title":"Set the leagues the gym hosts","description":"Set which leagues' competitions the gym hosts (owners and managers). The Competitions page then talks only about those leagues (World Ninja League wording, the tier key and the WNL first-competition steps show only for WNL; other gyms get plain first-competition steps), and a new competition starts with the gym's league (WNL Tier 2, else the first league with no tier). Where families register for each competition is set with update_competition (registration_where, registration_link).","inputSchema":{"type":"object","properties":{"leagues":{"type":"array","items":{"type":"string","enum":["WNL","UNAA","NSC","FINA","local"]},"description":"Every league whose competitions the gym hosts; local = the gym's own competitions with no league. An empty list goes back to working it out from the gym's competitions"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["leagues"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"competitions","url":"https://ninjahq.ai/developers/tools/competitions#set_hosted_leagues"},{"name":"get_competition_analytics","title":"Competition analytics","description":"A competition's analytics from NinjaWorks timing or from runs scored in NinjaHQ (competitions with a NinjaWorks number, or scored on a phone in the back office): runs, course clears, the obstacle with the most falls, the obstacle with the most retries, the fastest clear, and every obstacle with its type, how many tried and the share who made it. Results are public on the competition's analytics page.","inputSchema":{"type":"object","properties":{"competition":{"type":"string","description":"The competition's name"}},"required":["competition"],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"competitions","url":"https://ninjahq.ai/developers/tools/competitions#get_competition_analytics"},{"name":"set_obstacle_types","title":"Set obstacle types","description":"Set the type of obstacles on a competition's analytics page (owners and managers): Balance, Swing & Lache, Upper Body & Grip, Moving Obstacles, Jumps & Precision, Walls & Climbing, Other. Types are guessed from the obstacle's name; this corrects them. The same obstacle keeps its type at later competitions.","inputSchema":{"type":"object","properties":{"competition":{"type":"string","description":"The competition's name"},"types":{"type":"array","items":{"type":"object","properties":{"obstacle":{"type":"string","description":"The obstacle's name as NinjaWorks shows it"},"type":{"type":"string","enum":["Balance","Swing & Lache","Upper Body & Grip","Moving Obstacles","Jumps & Precision","Walls & Climbing","Other"],"description":"Its type"}},"required":["obstacle","type"]},"description":"One entry per obstacle to change"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["competition","types"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"competitions","url":"https://ninjahq.ai/developers/tools/competitions#set_obstacle_types"},{"name":"get_competition_scoring","title":"Competition scoring: who is up, the course and the runs","description":"For a competition the gym scores itself in NinjaHQ (its own or a practice competition, never one a league system scores): the course (format, obstacles, time limits), who is on the course, who is next and on deck, how many have run, and every run with its result. Each run has an id for fix_competition_run, give_competition_rerun and remove_competition_run.","inputSchema":{"type":"object","properties":{"competition":{"type":"string","description":"The competition's name"}},"required":["competition"],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"competitions","url":"https://ninjahq.ai/developers/tools/competitions#get_competition_scoring"},{"name":"set_competition_course","title":"Set up a competition's course","description":"Set up or change the course of a competition the gym scores itself in NinjaHQ (owners and managers): the format, the obstacles in order and the time limit, with a different limit for some divisions. Once athletes have run, only obstacle names and time limits can change. Never for a competition a league system scores.","inputSchema":{"type":"object","properties":{"competition":{"type":"string","description":"The competition's name"},"format":{"type":"string","enum":["Flow","Challenge","Full Course","NSC","Our Own Rules"],"description":"Flow: the first fall ends the run. Challenge: 2 retries per run, 1 per obstacle, the clock stops during a reset. Full Course: a fall moves on to the next obstacle, no retries, the run ends at the buzzer or the time limit. NSC: up to 3 tries on each obstacle, a third fall on the same obstacle ends the run, the clock keeps running. Our Own Rules: see own_rules."},"obstacles":{"type":"array","items":{"type":"string"},"description":"The obstacle names in the order athletes meet them; the last one is the buzzer"},"time_limit":{"type":"string","description":"Minutes and seconds like \"2:30\"; empty for no time limit"},"division_time_limits":{"type":"array","items":{"type":"object","properties":{"division":{"type":"string","description":"The division's name as in the competition, e.g. 11-12 Girls"},"time_limit":{"type":"string","description":"That division's limit in minutes and seconds, like \"3:00\""}},"required":["division","time_limit"]},"description":"Only the divisions whose limit differs from time_limit"},"own_rules":{"type":"object","properties":{"after_a_fall":{"type":"string","enum":["the run ends","move on to the next obstacle","retry the obstacle"],"description":"What happens when an athlete falls"},"falls_that_end_the_run":{"type":"integer","description":"How many falls end the run (0 for no limit)"},"retries_per_run":{"type":"integer","description":"How many retries an athlete has in the whole run"},"retries_per_obstacle":{"type":"integer","description":"How many retries an athlete has on one obstacle"},"clock_during_a_reset":{"type":"string","enum":["stops","keeps running"],"description":"Whether the run clock stops while an obstacle is reset"}},"description":"Only with Our Own Rules"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["competition","format","obstacles"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"competitions","url":"https://ninjahq.ai/developers/tools/competitions#set_competition_course"},{"name":"fix_competition_run","title":"Fix a scored run","description":"Correct a run scored in NinjaHQ: an obstacle's result (cleared, fell, time ran out, not reached), the clock when it happened, or its retries. The time that counts is the clock at the last cleared obstacle. Who made the fix, when and why are kept, and what the judge's taps said stays visible in the back office. The results, live page and analytics update at once.","inputSchema":{"type":"object","properties":{"competition":{"type":"string","description":"The competition's name"},"run_id":{"type":"string","description":"The run's id from get_competition_scoring (or give athlete)"},"athlete":{"type":"string","description":"The athlete's name, when the run id isn't known"},"obstacles":{"type":"array","items":{"type":"object","properties":{"number":{"type":"integer","description":"The obstacle's number on the course, from 1"},"result":{"type":"string","enum":["cleared","fell","time ran out","not reached"],"description":"What happened on the obstacle"},"clock":{"type":"string","description":"The run clock when it happened, like \"1:16.05\""},"retries":{"type":"integer","description":"How many retries the athlete used on it"}},"required":["number"]},"description":"Only the obstacles to change; the others stay as they are"},"ended_by":{"type":"string","enum":["a fall","time ran out","ended early"],"description":"Only matters when not every obstacle was cleared"},"reason":{"type":"string","enum":["Tapped Late","Wrong Button","Judge's Call","Video Review","Other"],"description":"Why the run is being fixed"},"note":{"type":"string","description":"Why the run was corrected, kept with the fix"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["competition","obstacles","reason"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"competitions","url":"https://ninjahq.ai/developers/tools/competitions#fix_competition_run"},{"name":"give_competition_rerun","title":"Give a re-run for a course problem","description":"Give an athlete a re-run after a course problem (an obstacle broke, someone got in the way, the clock was wrong) at a competition scored in NinjaHQ. The first run is kept, marked as re-run given, and no longer counts; the athlete goes back on the run list after a five-minute rest and only the re-run counts.","inputSchema":{"type":"object","properties":{"competition":{"type":"string","description":"The competition's name"},"run_id":{"type":"string","description":"The run's id from get_competition_scoring (or give athlete)"},"athlete":{"type":"string","description":"The athlete's name, when the run id isn't known"},"reason":{"type":"string","enum":["An Obstacle Broke or Moved","Someone or Something Got in the Way","The Clock Was Wrong","Other"],"description":"What went wrong on the course"},"note":{"type":"string","description":"What went wrong, e.g. the cargo net came loose; kept with the re-run"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["competition","reason"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"competitions","url":"https://ninjahq.ai/developers/tools/competitions#give_competition_rerun"},{"name":"remove_competition_run","title":"Remove or restore a scored run","description":"Take a run out of the results of a competition scored in NinjaHQ (a run started by mistake), or put a removed run back with restore: true. Nothing is deleted: the run and its history stay, and the athlete goes back on the run list.","inputSchema":{"type":"object","properties":{"competition":{"type":"string","description":"The competition's name"},"run_id":{"type":"string","description":"The run's id from get_competition_scoring (or give athlete)"},"athlete":{"type":"string","description":"The athlete's name, when the run id isn't known"},"restore":{"type":"boolean","description":"true = put a removed run back in the results"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["competition"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"competitions","url":"https://ninjahq.ai/developers/tools/competitions#remove_competition_run"},{"name":"update_competition","title":"Change a competition's details","description":"Change a competition's details: name, type, league, tier, dates, entry price, registration dates, capacity, links, wave times, description, flyer, or whether it is shown on the website (owners and managers). Send only what changes; everything else stays as it is.","inputSchema":{"type":"object","properties":{"competition":{"type":"string","description":"The competition's current name"},"new_name":{"type":"string","description":"The competition's new name"},"competition_type":{"type":"string","enum":["challenge","flow","skills","speed","stage","ocr","team","other"],"description":"challenge = Challenge course, flow = Flow course, skills = Skills competition, speed = Speed / head to head, stage = Stages (ninja warrior style), ocr = Obstacle course race, team = Team competition. Families see it when they register"},"league":{"type":"string","description":"e.g. WNL or UNAA; empty for the gym's own local event"},"tier":{"type":"string","description":"e.g. Tier 1, Tier 2, Qualifier (Tier 1 adds the Elite division)"},"first_day":{"type":"string","description":"YYYY-MM-DD"},"last_day":{"type":"string","description":"YYYY-MM-DD, only when it runs over several days; empty to clear"},"ages_counted_on":{"type":"string","description":"YYYY-MM-DD: the date athletes' ages are counted on (WNL uses January 1 of the championship year)"},"entry_price":{"type":"number","description":"Dollars. Online registration opens only when it is more than 0"},"registration_opens":{"type":"string","description":"YYYY-MM-DD; empty = open now"},"registration_closes":{"type":"string","description":"YYYY-MM-DD, end of that day; empty = open until the competition"},"capacity":{"type":"integer","description":"Most paid athletes; 0 = no limit"},"live_stream_link":{"type":"string","description":"YouTube link; empty to remove"},"results_link":{"type":"string","description":"Link to the results; empty to remove"},"league_page_link":{"type":"string","description":"The league's page for this tier; empty to remove"},"ninja_master_event":{"type":"string","description":"The Ninja Master event's link or number; empty to remove"},"registration_where":{"type":"string","enum":["here","ninja_master","sportsengine","other"],"description":"Where families register: here = the gym's own website with online checkout; ninja_master, sportsengine or other = on that site (UNAA and NSC usually use Ninja Master, FINA SportsEngine). Then the Register buttons say \"Register on Ninja Master\" and open registration_link; the competition page, countdown, live stream, run order and results stay on the gym's website"},"registration_link":{"type":"string","description":"The https link to the competition's registration on that other site; empty to remove"},"ninjaworks_competition":{"type":"string","description":"The NinjaWorks timing competition link or number (live results and who is on the course); empty to remove"},"wave_times":{"type":"string","description":"The league's wave schedule: a day on its own line, then one line per wave like Teens | 9AM. When one competition covers two courses (a double header), put a line naming each course before its waves, like Flow course"},"description":{"type":"string","description":"Shown on the competition's page (up to 4,000 characters)"},"flyer":{"type":"string","description":"The name of a flyer the gym already has (get_special_events lists flyers); empty to remove. New flyers are added with upload_photo, purpose event_flyer"},"show_on_website":{"type":"boolean","description":"true = published on the website (registration can open); false = a hidden draft"},"location":{"type":"string","description":"Which location it is at, by name (only for gyms with several locations); empty = every location"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["competition"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"competitions","url":"https://ninjahq.ai/developers/tools/competitions#update_competition"},{"name":"list_reports","title":"Reports","description":"The gym's reports (Sales, Sales by Service, Autopay Detail, Birthday Guest Lists, Mailing Lists): what each shows, whether it can be filtered by location, its choices, and its page in the back office (where it can be downloaded or printed).","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"reports","url":"https://ninjahq.ai/developers/tools/reports#list_reports"},{"name":"list_metrics","title":"What the report numbers mean","description":"Every number in the gym's reports with its plain-words definition, its unit (money, count, pct, minutes), which way is better (up or down), and what it can be split by: sales, refunds, net, discounts, card fees, failed payments, classes held, spots, check-ins, fill rate, attendance rate, no-shows, class revenue, revenue, coaches, other costs, profit, margin, cost per kid. Money numbers only for owners. Use it to explain a number or before answering how the gym is doing.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"reports","url":"https://ninjahq.ai/developers/tools/reports#list_metrics"},{"name":"get_report_numbers","title":"Report numbers for any dates, split your way","description":"Build your own report: any of the gym's report numbers (sales, refunds, net, discounts, card fees, failed payments, classes held, spots, booked, check-ins, fill rate, attendance, no-shows, class revenue, revenue, coaches, other costs, profit, margin, cost per kid...) for any dates, as totals or split by day, week, month, location or type, ready for a table or a chart. Read from the totals the gym's reports keep for each day, so it is quick even for years of data. Numbers only, never people. Money numbers only for owners. Use list_metrics for what each number means.","inputSchema":{"type":"object","properties":{"metrics":{"type":"array","items":{"type":"string"},"description":"Number ids from list_metrics, such as sales.net, classes.checkins, profit.margin (default: all you can see)"},"period":{"type":"string","description":"today, yesterday, week, lastweek, month, lastmonth, 30, 90, quarter, year or lastyear (default this month)"},"from":{"type":"string","description":"First day YYYY-MM-DD (with to, instead of period; three years at most)"},"to":{"type":"string","description":"Last day YYYY-MM-DD"},"by":{"type":"string","enum":["day","week","month","location","type"],"description":"Split the numbers by day, week, month, location or type (class, party, camp, competition, membership...); leave out for totals"},"location":{"type":"string","description":"A location key from list_reports (default all)"}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"reports","url":"https://ninjahq.ai/developers/tools/reports#get_report_numbers"},{"name":"get_report_summary","title":"A report's numbers","description":"A report's headline numbers for a period and location: for Sales the sales, refunds, net, payments and average sale; for Sales by Service each service's net sales (up to 25); for Autopay Detail the families on autopay, monthly total and card problems; for Birthday Guest Lists the parties, guests, waivers and who can get the free trial offer; for Mailing Lists the list sizes. Numbers only: open the report's page for the rows.","inputSchema":{"type":"object","properties":{"report":{"type":"string","description":"The key from list_reports, such as sales, services, autopay, guests or lists"},"period":{"type":"string","description":"today, yesterday, week, lastweek, month, lastmonth, 30, 90, quarter, year, lastyear or next30 (default this month)"},"from":{"type":"string","description":"First day YYYY-MM-DD (with to, instead of period)"},"to":{"type":"string","description":"Last day YYYY-MM-DD"},"location":{"type":"string","description":"A location key from list_reports (default all)"},"choice":{"type":"string","description":"The report's own choice, such as by=type for Sales by Service or list=partyguests for Mailing Lists (name=value)"}},"required":["report"],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"reports","url":"https://ninjahq.ai/developers/tools/reports#get_report_summary"},{"name":"get_weather_outlook","title":"Weather and business outlook","description":"How the gym's local weather changes its business, for planning: over the last 12 months, how rainy, snowy, hot, cold and mild days changed check-ins (or sales or website visits when the gym doesn't check people in) against a usual day of the same weekday, and the next 7 days' National Weather Service forecast (US locations) with what to expect each day (busier, quieter or a usual day, and the expected number). Past weather is from the nearest NOAA station, about a week behind. Use it for questions like \"Will the rain this weekend hurt us?\", \"Do hot days slow us down?\", or planning staff and open gym around the weather. Owners and managers.","inputSchema":{"type":"object","properties":{"location":{"type":"string","description":"A location key from list_reports' locations (leave out for all of yours)"}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"reports","url":"https://ninjahq.ai/developers/tools/reports#get_weather_outlook"},{"name":"get_report_details","title":"Details of a class, party or product","description":"Everything the reports know about one class, party, camp, competition, product, membership or service, as the report pop-ups show it: for a class its tuition, spots, how many are enrolled, the last 90 days' classes run, visits, fill rate, revenue, coach and other costs, profit and margin, the next two weeks' classes and a month by month table; for a party the day, time, guests coming, waivers signed, coach, total, paid, balance and its cost and profit; for a product its price, stock and what sold by month; for a service what sold by month. Money only for owners. Names of enrolled students and guests stay in the back office.","inputSchema":{"type":"object","properties":{"type":{"type":"string","enum":["class","party","product","camp","competition","membership","service"],"description":"What it is"},"name":{"type":"string","description":"Its name, for a class, product, camp or competition (as in a report or get_classes)"},"id":{"type":"string","description":"Its id: a party's or membership's id (from list_parties or the back office), or for a service kind|name as in Sales by Service"}},"required":["type"],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"reports","url":"https://ninjahq.ai/developers/tools/reports#get_report_details"},{"name":"list_report_views","title":"My saved reports and views","description":"The saved views of reports (a report's dates, location, columns, filters and sort under a name) and the person's own reports made with Save as a new report (My reports), with the ones an owner shared with managers. Each has its spec (what it shows, in words) and its page.","inputSchema":{"type":"object","properties":{"report":{"type":"string","description":"Optional: only this report's (a key from list_reports)"}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"reports","url":"https://ninjahq.ai/developers/tools/reports#list_report_views"},{"name":"save_report_view","title":"Save a report view or a new report","description":"Saves a report the way the owner wants to see it, under a name: as a saved view of the report (Saved views on that report) or as a new report under My reports (Save as a new report), with the dates, location, columns and their order, filters and sort. Only for the person asking; owners can share it with managers. Use list_reports for the report keys and get_report_summary to check the numbers first.","inputSchema":{"type":"object","properties":{"report":{"type":"string","description":"The report it is based on (a key from list_reports)"},"name":{"type":"string","description":"Its name, for example \"Party packages last month\""},"kind":{"type":"string","enum":["view","copy"],"description":"view: a saved view of that report; copy: a new report under My reports (default view)"},"period":{"type":"string","description":"today, week, month, lastmonth, 30, 90, quarter, year, lastyear or next30"},"from":{"type":"string","description":"Or a start day (YYYY-MM-DD)"},"to":{"type":"string","description":"And an end day"},"location":{"type":"string","description":"A location key from list_reports, or leave out for all"},"choice":{"type":"string","description":"The report's own choice as name=value, for example by=type"},"columns":{"type":"array","items":{"type":"string"},"description":"The columns to show, in order (column keys; leave out for the report's own)"},"filters":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","description":"The column to filter, by its key in the report"},"op":{"type":"string","enum":["contains","in","gte","lte","after","before"],"description":"How to compare: contains, in, gte (at least), lte (at most), after, before"},"values":{"type":"array","items":{"type":"string"},"description":"The value or values to compare with (one for every op but in)"}},"required":["field","op","values"]},"description":"Filters on columns: contains (text), in (one of the values), gte/lte (a number, dollars for money), after/before (a day)"},"sort":{"type":"string","description":"The column to sort by"},"dir":{"type":"string","enum":["asc","desc"],"description":"Sort order: asc (smallest or oldest first) or desc (largest or newest first)"},"share":{"type":"boolean","description":"Owners only: share it with managers"},"dry_run":{"type":"boolean","description":"Say what would be saved without saving"}},"required":["report","name"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"reports","url":"https://ninjahq.ai/developers/tools/reports#save_report_view"},{"name":"delete_report_view","title":"Delete a saved report view","description":"Deletes one of the person's own saved views or My reports (never someone else's). Needs confirm: true; it can't be undone.","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The id from list_report_views"},"confirm":{"type":"boolean","description":"true to delete (it can't be undone)"}},"required":["id"],"additionalProperties":false},"readOnly":false,"dryRun":false,"confirm":true,"developer":false,"area":"reports","url":"https://ninjahq.ai/developers/tools/reports#delete_report_view"},{"name":"list_report_schedules","title":"Scheduled report emails","description":"The reports sent by email on a schedule: the person's own (owners see every one at the gym), each with what it sends, how often and when (in the gym's time zone), who gets it, whether it is paused, the next and last send and how the last one went.","inputSchema":{"type":"object","properties":{"report":{"type":"string","description":"Optional: only this report's (a key from list_reports)"}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#list_report_schedules"},{"name":"schedule_report_email","title":"Email a report on a schedule","description":"Sets up a report to be emailed on its own: every day, every week on a day, every month on a day, or after each pay period, at a time of day in the gym's time zone, to the person asking and any of the gym's other owners and managers (managers never get money reports). Each email has the report's numbers, the first 25 rows, the whole table as a spreadsheet file, a link to the report and a one-click Stop link. Sends a saved view exactly as saved (view_id), or the report with the dates, columns, filters and sort given. Nothing is sent before the website is live. Use dry_run first and confirm who gets it with the owner.","inputSchema":{"type":"object","properties":{"report":{"type":"string","description":"The report to send (a key from list_reports); leave out when view_id is given"},"view_id":{"type":"string","description":"Or a saved view or My report to send as saved (an id from list_report_views)"},"name":{"type":"string","description":"The email's name, for example Monday sales (default: the report's or view's name)"},"how_often":{"type":"string","enum":["day","week","month","payperiod"],"description":"day: every day; week: every week on day_of_week; month: every month on day_of_month; payperiod: the day after each pay period ends, for that pay period"},"day_of_week":{"type":"string","description":"For week: Monday to Sunday (default Monday)"},"day_of_month":{"type":"string","description":"For month: 1 to 28, or last (default 1)"},"time":{"type":"string","description":"The time of day in the gym's time zone, 24-hour HH:MM (default 07:00; rounded to 15 minutes)"},"send_to":{"type":"array","items":{"type":"string"},"description":"Email addresses of the gym's owners and managers who get it (default: only the person asking; managers never get money reports)"},"period":{"type":"string","description":"Without a saved view: the dates each email covers, such as yesterday, lastweek, lastmonth, week, month or 30 (default: the report's own)"},"location":{"type":"string","description":"Without a saved view: a location key from list_reports, or leave out for all"},"choice":{"type":"string","description":"Without a saved view: the report's own choice as name=value, for example by=type"},"columns":{"type":"array","items":{"type":"string"},"description":"Without a saved view: the columns, in order (column keys)"},"filters":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","description":"The column to filter, by its key in the report"},"op":{"type":"string","enum":["contains","in","gte","lte","after","before"],"description":"How to compare: contains, in, gte (at least), lte (at most), after, before"},"values":{"type":"array","items":{"type":"string"},"description":"The value or values to compare with"}},"required":["field","op","values"]},"description":"Without a saved view: filters on columns, as in save_report_view"},"sort":{"type":"string","description":"Without a saved view: the column to sort by"},"dir":{"type":"string","enum":["asc","desc"],"description":"Sort order: asc (smallest or oldest first) or desc (largest or newest first)"},"dry_run":{"type":"boolean","description":"Say what would be scheduled without saving it"}},"required":["how_often"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#schedule_report_email"},{"name":"change_report_schedule","title":"Change, pause or test a scheduled report email","description":"Changes a scheduled report email: its name, how often, day, time or who gets it, pauses or resumes it (the person who set it up, or an owner for anyone's), or sends one now to the person asking to check it.","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The id from list_report_schedules"},"name":{"type":"string","description":"A new name"},"how_often":{"type":"string","enum":["day","week","month","payperiod"],"description":"How often, as in schedule_report_email"},"day_of_week":{"type":"string","description":"For week: Monday to Sunday"},"day_of_month":{"type":"string","description":"For month: 1 to 28, or last"},"time":{"type":"string","description":"The time of day in the gym's time zone, HH:MM"},"send_to":{"type":"array","items":{"type":"string"},"description":"Everyone who should get it from now on (owners and managers of the gym)"},"paused":{"type":"boolean","description":"true to pause it, false to start it again"},"send_test":{"type":"boolean","description":"Send one now, only to the person asking"}},"required":["id"],"additionalProperties":false},"readOnly":false,"dryRun":false,"confirm":false,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#change_report_schedule"},{"name":"delete_report_schedule","title":"Delete a scheduled report email","description":"Deletes a scheduled report email (the person's own; owners may delete anyone's). Nothing more is sent. Needs confirm: true; it can't be undone (pausing with change_report_schedule can).","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The id from list_report_schedules"},"confirm":{"type":"boolean","description":"true to delete (it can't be undone)"}},"required":["id"],"additionalProperties":false},"readOnly":false,"dryRun":false,"confirm":true,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#delete_report_schedule"},{"name":"list_avatars","title":"The gym's own avatars","description":"The gym's own avatars (pictures athletes pick for their profile, registration and family account), with how many athletes picked each, and NinjaHQ's built-in avatars (key, name, group: Badges, Animals, Silly or Athletes) with whether this gym hides them, plus drawing_request: the words to give an AI that draws pictures (ChatGPT, Gemini) so every avatar matches the set. Use it when the owner wants to make, see or change their avatars.","inputSchema":{"type":"object","properties":{"subject":{"type":"string","description":"Optional: what the next avatar should show (for example \"our mascot Rocket the raccoon on the warped wall\"); the answer's drawing_request uses it"}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"photos","url":"https://ninjahq.ai/developers/tools/photos#list_avatars"},{"name":"update_avatar","title":"Rename, hide or show avatars","description":"Rename one of the gym's own avatars, or hide or show avatars in this gym's pickers: its own (id) or NinjaHQ's built-in ones (id or ids = their keys; they keep their names). Owners and managers. Nothing is deleted, and athletes who picked a hidden one keep it.","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The gym's own avatar's id, or one of NinjaHQ's avatars' key, from list_avatars"},"ids":{"type":"array","items":{"type":"string"},"description":"Instead of id: several of NinjaHQ's avatars' keys to hide or show at once (for example every Silly one)"},"name":{"type":"string","description":"A new short name (40 characters at most)"},"hidden":{"type":"boolean","description":"true takes it out of the picker (athletes who picked it keep it); false shows it again"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"photos","url":"https://ninjahq.ai/developers/tools/photos#update_avatar"},{"name":"flyer_link","title":"Make a flyer to print","description":"A one-page flyer to print and hand out, made from the gym's website (classes by age, open gym, prices, parties, camps): returns the link to the flyers page in the back office with this flyer chosen, where the owner checks it and presses Print. Use it for a field trip or school visit (take-home flyers for the kids), the front desk, parties or camps.","inputSchema":{"type":"object","properties":{"purpose":{"type":"string","enum":["everything","fieldtrip","parties","camps"],"description":"What the flyer is for: everything (classes, open gym, parties, camps), fieldtrip (a thank-you for a field trip or school visit), parties or camps"},"school":{"type":"string","description":"For a field trip: the school or group's name, shown as Thanks for visiting, <name>!"},"offer":{"type":"string","description":"An optional offer line, such as Your first class is free (80 characters at most)"},"code":{"type":"string","description":"An optional discount code the gym already has (Money > Discount codes)"},"half_page":{"type":"boolean","description":"Two half-page flyers per sheet, to cut (cheaper for a whole class)"},"headline":{"type":"string","description":"Optional: the flyer's headline in the gym's own words (90 characters at most)"},"message":{"type":"string","description":"Optional: the line under the headline (240 characters at most)"}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"flyers","url":"https://ninjahq.ai/developers/tools/flyers#flyer_link"},{"name":"list_flyer_templates","title":"Flyer templates","description":"Everything a flyer can be made from: occasions (seasonal ones like halloween, thanksgiving, wintercamp, valentine, summercamp; year-round ones like pno, openhouse, competition, tryouts, hiring; and the four that fill themselves from the gym's classes, parties and camps), designs, layouts, color palettes (brand = the gym's own), stickers, QR targets, and each slot's limit and comfortable length. Also what's coming up (soonest first) and the camps, events, party packages and classes a flyer can be tied to.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"flyers","url":"https://ninjahq.ai/developers/tools/flyers#list_flyer_templates"},{"name":"list_flyers","title":"Saved flyers","description":"The gym's saved flyers (newest change first), each with its id and the links to edit and print it.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"flyers","url":"https://ninjahq.ai/developers/tools/flyers#list_flyers"},{"name":"get_flyer","title":"Read a flyer","description":"One saved flyer: its words, look, photo, what it's tied to, warnings (words that make the type small), and the links to edit it and to print it (the print link shows the flyer with a Print button).","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The flyer's id (list_flyers)"}},"required":["id"],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"flyers","url":"https://ninjahq.ai/developers/tools/flyers#get_flyer"},{"name":"create_flyer","title":"Make a flyer","description":"Make and save a flyer from an occasion with ready words in the gym's logo, colors, phone and website, then change any words. Returns its id, warnings and the links to edit and print it. Nothing is printed, sent or posted.","inputSchema":{"type":"object","properties":{"occasion":{"type":"string","description":"What it's for: a key from list_flyer_templates (halloween, wintercamp, pno, openhouse, everything, fieldtrip, ...)"},"name":{"type":"string","description":"Optional: a name for the flyers list"},"design":{"type":"string","description":"Optional design key (the occasion's own by default)"},"layout":{"type":"string","enum":["classic","photo","bold","split"],"description":"How the photo and words are arranged"},"palette":{"type":"string","description":"Optional palette key; brand is the gym's own colors"},"paper":{"type":"string","enum":["letter","a4"],"description":"Paper size: letter (US) or a4"},"half":{"type":"boolean","description":"Two half-page flyers per sheet, to cut"},"color":{"type":"boolean","description":"false for ink saver (black and white)"},"slots":{"type":"object","description":"The words: headline, subhead, body, bullets (array), date, time, price, cta, offer, code (one of the gym's discount codes), to (a field trip's school), qr (home|classes|parties|camps|bound|page|none), qrPage, photo { src (from the gym's photo library: list_pictures), alt, fx, fy (what stays in view, 0-100) }. Leave date, time and price empty when tied to something: they fill in."},"tie_to":{"type":"object","description":"Optional { kind: camp|event|party|class, id } from list_flyer_templates can_tie_to: its name, dates and price fill in"},"stickers":{"type":"array","description":"Optional [{ key, at: tl|tr|bl|br, size: s|m|l }]"}},"required":["occasion"],"additionalProperties":false},"readOnly":false,"dryRun":false,"confirm":false,"developer":false,"area":"flyers","url":"https://ninjahq.ai/developers/tools/flyers#create_flyer"},{"name":"update_flyer","title":"Change a flyer","description":"Change a saved flyer: only what's given changes, so \"make it the Halloween design\" is { design: \"halloween\", palette: \"halloween\" } and the words stay. Words over a slot's limit are refused with the limit.","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The flyer's id (list_flyers)"},"name":{"type":"string","description":"The flyer's name in the flyer list (not printed)"},"design":{"type":"string","description":"Design key from list_flyer_templates"},"layout":{"type":"string","enum":["classic","photo","bold","split"],"description":"How the photo and words are arranged"},"palette":{"type":"string","description":"Palette key from list_flyer_templates; brand is the gym's own colors"},"paper":{"type":"string","enum":["letter","a4"],"description":"Paper size: letter (US) or a4"},"half":{"type":"boolean","description":"Two half-page flyers per sheet, to cut"},"color":{"type":"boolean","description":"false for ink saver (black and white)"},"slots":{"type":"object","description":"Only the slots that change (as in create_flyer); a slot set to \"\" is emptied"},"tie_to":{"type":["object","null"],"description":"{ kind, id } or null to untie"},"stickers":{"type":"array","description":"The stickers, replacing the current ones: [{ key, at: tl|tr|bl|br, size: s|m|l }]; [] removes them"}},"required":["id"],"additionalProperties":false},"readOnly":false,"dryRun":false,"confirm":false,"developer":false,"area":"flyers","url":"https://ninjahq.ai/developers/tools/flyers#update_flyer"},{"name":"search_stock_photos","title":"Search free stock photos","description":"Search Pixabay's free photos for a flyer (only when the gym has stock photos on). Returns each photo's id, a description, the photographer and its size; use_stock_photo puts one on a flyer. Prefer photos without recognizable faces or brand logos: the people in stock photos haven't agreed to be in advertising. The gym's own photos (list_pictures) usually work better.","inputSchema":{"type":"object","properties":{"query":{"type":"string","description":"What to look for, like \"snowy park\" or \"birthday balloons\" (80 characters at most)"},"page":{"type":"integer","minimum":1,"maximum":10,"description":"Which page of results, from 1"}},"required":["query"],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"flyers","url":"https://ninjahq.ai/developers/tools/flyers#search_stock_photos"},{"name":"use_stock_photo","title":"Put a stock photo on a flyer","description":"Copy a Pixabay photo into the gym's photo library and put it on a flyer (its photographer is kept as the credit). Tell the owner to check what stays in view.","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The flyer's id (list_flyers)"},"photo_id":{"type":"string","description":"The stock photo's id from search_stock_photos"}},"required":["id","photo_id"],"additionalProperties":false},"readOnly":false,"dryRun":false,"confirm":false,"developer":false,"area":"flyers","url":"https://ninjahq.ai/developers/tools/flyers#use_stock_photo"},{"name":"flyer_to_email","title":"Make an email from a flyer","description":"Turn a saved flyer into a draft email in Marketing > Emails (owners and managers): a picture of the flyer, its words and details, its button, and a link to download the flyer as a PDF. Nothing is sent: the owner picks who gets it and presses Send on the Emails page.","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The flyer's id (list_flyers)"}},"required":["id"],"additionalProperties":false},"readOnly":false,"dryRun":false,"confirm":false,"developer":false,"area":"emails","url":"https://ninjahq.ai/developers/tools/emails#flyer_to_email"},{"name":"copy_flyer","title":"Copy a flyer","description":"Make a copy of a saved flyer (to change it for another camp week or another school), and return the copy.","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The flyer to copy, from list_flyers"}},"required":["id"],"additionalProperties":false},"readOnly":false,"dryRun":false,"confirm":false,"developer":false,"area":"flyers","url":"https://ninjahq.ai/developers/tools/flyers#copy_flyer"},{"name":"delete_flyer","title":"Delete a flyer","description":"Delete a saved flyer for good (owners and managers). Ask the owner first.","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The flyer to delete, from list_flyers"}},"required":["id"],"additionalProperties":false},"readOnly":false,"dryRun":false,"confirm":false,"developer":false,"area":"flyers","url":"https://ninjahq.ai/developers/tools/flyers#delete_flyer"},{"name":"get_weekly_summary","title":"The weekly summary","description":"How the gym's week went, as in the Monday email: the week told in a few sentences; what needs the owner (failed payments, waivers running out); sales by kind against the week before and the 30 days before; members joined and left; trials booked, came and joined; check-ins and how full classes are; bookings of classes, parties, camps and competitions; website visitors, calls, directions and forms; new contacts and Google reviews; what's coming up. Counts and totals only. Managers get it without the money.","inputSchema":{"type":"object","properties":{"week":{"type":"string","description":"Any day (YYYY-MM-DD) in the week to summarize; default the last whole week (Monday to Sunday)"}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"reports","url":"https://ninjahq.ai/developers/tools/reports#get_weekly_summary"},{"name":"get_daily_summary","title":"Yesterday's numbers","description":"How one day went at the gym, as in the morning email: the day told in a few sentences; what needs the owner; sales by kind against the same weekday last week and money so far this month against the same days last month; check-ins; new bookings of classes, parties, camps and competitions; members joined and left; trials booked and how many expected came; website visitors, calls and forms; and what's on today (trials expected, parties, competitions). Counts and totals only. Managers get it without the money.","inputSchema":{"type":"object","properties":{"day":{"type":"string","description":"The day to summarize (YYYY-MM-DD); default yesterday"}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"reports","url":"https://ninjahq.ai/developers/tools/reports#get_daily_summary"},{"name":"get_search_dashboard","title":"How we're doing in search","description":"How the gym is doing on Google, Google Maps and the AI assistants, as on Marketing > Search dashboard: a one-line verdict; Google visibility (share of clicks across the tracked searches) against the leader; how many tracked searches are on Google's first page; real Google clicks for the last 28 days from Search Console against the 28 before, with clicks from searches without the gym's name against a year ago; AI share of voice (how often ChatGPT, Gemini and Claude name the gym); Google reviews next to the competitors beside it on Maps; authority (0-1000 link score); site health (pages without problems and what to fix, real visitors' load times); visits from search engines and AI assistants in the last 7 days and what they did; and the top searches with the Google place, the Maps place from the gym's door and across the map, and whether Google's AI Overview cites the gym, with arrows against the check before. Missing parts mean that data isn't connected yet.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"seo","url":"https://ninjahq.ai/developers/tools/seo#get_search_dashboard"},{"name":"get_work_schedule","title":"Staff schedule","description":"The staff schedule for a week: each shift's day, times, hours, person (or Open shift), job, location, draft or published, gratuity rate, cover requests, and for past shifts how the time clock compares (ok, late, early, missed, not-in).","inputSchema":{"type":"object","properties":{"week":{"type":"string","description":"Any day of the week YYYY-MM-DD (default this week)"},"location":{"type":"string","description":"A location key (default all the person may see)"}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"staff","url":"https://ninjahq.ai/developers/tools/staff#get_work_schedule"},{"name":"add_work_shift","title":"Add a shift to the staff schedule","description":"Adds a draft shift to the staff schedule (owners and managers). It stays a draft until someone publishes the week in the back office, which tells each person their shifts.","inputSchema":{"type":"object","properties":{"person":{"type":"string","description":"The staff member's full name (leave out for an open shift)"},"day":{"type":"string","description":"YYYY-MM-DD"},"start":{"type":"string","description":"HH:MM, 24-hour"},"end":{"type":"string","description":"HH:MM, 24-hour"},"location":{"type":"string","description":"Location name or key (brands with several locations)"},"job":{"type":"string","description":"e.g. Front desk, Coach, Party host"},"gratuity_rate":{"type":"boolean","description":"Paid at the gratuity (tipped work) rate, as for parties"}},"required":["day","start","end"],"additionalProperties":false},"readOnly":false,"dryRun":false,"confirm":false,"developer":false,"area":"staff","url":"https://ninjahq.ai/developers/tools/staff#add_work_shift"},{"name":"list_website_widgets","title":"Website widgets","description":"The booking widgets this gym can put on its own website (class schedule, camps, birthday parties, open gym, after-school, special events, a Sign in to My account button), its locations, the website addresses allowed to show booking lists, and the direct sign-in link to My account.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"widgets","url":"https://ninjahq.ai/developers/tools/widgets#list_website_widgets"},{"name":"get_website_widget","title":"A website widget's code","description":"The one line of code to paste into the gym's own website (Wix, Squarespace, WordPress) for a booking widget, and a link to preview it. Booking lists only show on the website addresses saved with set_widget_websites; buttons work anywhere.","inputSchema":{"type":"object","properties":{"kind":{"type":"string","description":"classes, camps, parties, opengym, afterschool, events or account"},"location":{"type":"string","description":"A location key from list_website_widgets (optional)"},"style":{"type":"string","enum":["list","button"],"description":"list (a booking list with Book buttons) or button (one button)"},"label":{"type":"string","description":"The button's words (optional, up to 40 characters)"}},"required":["kind"],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"widgets","url":"https://ninjahq.ai/developers/tools/widgets#get_website_widget"},{"name":"set_widget_websites","title":"Websites that may show booking widgets","description":"Replace the list of the gym's own website addresses that may show booking lists (owners). Anything that isn't a website address is left out and reported.","inputSchema":{"type":"object","properties":{"websites":{"type":"string","description":"The gym's own website addresses, separated by commas or new lines, such as yourgym.com (up to 10; the www. version is added)"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"}},"required":["websites","confirm"],"additionalProperties":false},"readOnly":false,"dryRun":false,"confirm":true,"developer":false,"area":"widgets","url":"https://ninjahq.ai/developers/tools/widgets#set_widget_websites"},{"name":"count_text_audience","title":"Who a text would reach","description":"How many people a text message to a group would reach (only people who said yes to texts, never anyone who replied STOP), the text as it would be sent (with the gym's name and Reply STOP to opt out), how many parts it is and the cost estimate. The connector doesn't send texts: the owner sends them in Marketing > Text messages.","inputSchema":{"type":"object","properties":{"audience":{"type":"string","description":"all, members, packs, customers, campers, competitors, loc:<location key> or tag:<list>"},"message":{"type":"string","description":"The text to check (optional): returns it as sent, its parts and cost"}},"required":["audience"],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"emails","url":"https://ninjahq.ai/developers/tools/emails#count_text_audience"},{"name":"list_text_campaigns","title":"Text messages sent and scheduled","description":"The gym's last 20 text messages to groups: the words, who they went to, when, and how many were sent, waiting for quiet hours to end, skipped (STOP, or already texted that day) and failed. No phone numbers.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"camps-parties","url":"https://ninjahq.ai/developers/tools/camps-parties#list_text_campaigns"},{"name":"list_camps","title":"Camps","description":"Every camp (summer, school break, after-school program, private): its dates, number of camp days, Morning / Afternoon / Full Day sessions with times and room, prices in dollars (weekFull, weekHalf, dayFull, dayHalf, flex5Full, flex10Full, flex5Half, flex10Half), whether families can book it, camper-days booked, its public booking page and back office page.","inputSchema":{"type":"object","properties":{"include_past":{"type":"boolean","description":"true = camps that have ended too"}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"camps-parties","url":"https://ninjahq.ai/developers/tools/camps-parties#list_camps"},{"name":"get_camp_day","title":"A camp day's numbers","description":"For one day: each camp running, how many campers are booked, checked in now, picked up and not here yet, each session's bookings and room left, and the roster's back office page. Numbers only, no children's names.","inputSchema":{"type":"object","properties":{"day":{"type":"string","description":"YYYY-MM-DD (default today)"},"camp_id":{"type":"string","description":"The id from list_camps (default every camp running that day)"}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"camps-parties","url":"https://ninjahq.ai/developers/tools/camps-parties#get_camp_day"},{"name":"list_private_camp_requests","title":"Private camp requests","description":"Private camp requests waiting for an answer: which camp, how many campers, how many days, the estimate in dollars. Names and contact details are on the back office page Camps > Private Requests.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"camps-parties","url":"https://ninjahq.ai/developers/tools/camps-parties#list_private_camp_requests"},{"name":"add_camp","title":"Set up a camp","description":"Sets up a new camp as a draft (families can't book it yet): dates, days, days off, sessions with times and room, prices and flex passes, and an optional private camp price. The owner checks it on the camp's back office page and opens it for booking there.","inputSchema":{"type":"object","properties":{"name":{"type":"string","description":"The name families see"},"kind":{"type":"string","enum":["summer","break","afterschool","private"],"description":"summer, school break, after school or private (a group books the whole camp)"},"start":{"type":"string","description":"First day, YYYY-MM-DD"},"end":{"type":"string","description":"Last day, YYYY-MM-DD"},"weekdays":{"type":"array","items":{"type":"integer","minimum":0,"maximum":6},"description":"Camp days of the week, 0 = Sunday (default Monday to Friday)"},"days_off":{"type":"array","items":{"type":"string"},"description":"Holidays with no camp, YYYY-MM-DD"},"ages":{"type":"string","description":"The ages it is for, as families see it, e.g. 6-12"},"about":{"type":"string","description":"A short description for the camp's page"},"location":{"type":"string","description":"A location key, for a business with several"},"sessions":{"type":"object","additionalProperties":false,"properties":{"am":{"type":"object","additionalProperties":false,"properties":{"on":{"type":"boolean"},"start":{"type":"string","description":"HH:MM, 24-hour"},"end":{"type":"string"},"room":{"type":"integer","minimum":0}},"description":"Morning session: { on, start, end, room } with times as HH:MM, 24-hour"},"pm":{"type":"object","additionalProperties":false,"properties":{"on":{"type":"boolean"},"start":{"type":"string","description":"HH:MM, 24-hour"},"end":{"type":"string"},"room":{"type":"integer","minimum":0}},"description":"Afternoon session: { on, start, end, room } with times as HH:MM, 24-hour"},"full":{"type":"object","additionalProperties":false,"properties":{"on":{"type":"boolean"},"start":{"type":"string","description":"HH:MM, 24-hour"},"end":{"type":"string"},"room":{"type":"integer","minimum":0}},"description":"Full-day session: { on, start, end, room } with times as HH:MM, 24-hour"}},"description":"am = Morning, pm = Afternoon, full = Full Day"},"prices":{"type":"object","additionalProperties":false,"properties":{"weekFull":{"type":"number","minimum":0,"description":"Price of a full week of full days, in dollars"},"weekHalf":{"type":"number","minimum":0,"description":"Price of a full week of half days, in dollars"},"dayFull":{"type":"number","minimum":0,"description":"Price of one full day, in dollars"},"dayHalf":{"type":"number","minimum":0,"description":"Price of one half day, in dollars"},"flex5Full":{"type":"number","minimum":0,"description":"Price of a flex pass for any 5 full days, in dollars"},"flex10Full":{"type":"number","minimum":0,"description":"Price of a flex pass for any 10 full days, in dollars"},"flex5Half":{"type":"number","minimum":0,"description":"Price of a flex pass for any 5 half days, in dollars"},"flex10Half":{"type":"number","minimum":0,"description":"Price of a flex pass for any 10 half days, in dollars"}},"description":"Dollars; leave one out to not sell it"},"private_day_price":{"type":"number","minimum":0,"description":"Dollars a day for a private camp group (turns on private camp requests)"},"private_group_size":{"type":"integer","minimum":1,"description":"How many campers a private camp price includes"}},"required":["name","start","end"],"additionalProperties":false},"readOnly":false,"dryRun":false,"confirm":false,"developer":false,"area":"camps-parties","url":"https://ninjahq.ai/developers/tools/camps-parties#add_camp"},{"name":"list_parties","title":"Upcoming birthday parties","description":"Every birthday party in a date range (booked online or added by staff), optionally only one room, start time, package or coach, or only those with a balance due, waivers missing or allergies: date and time, package and add-ons, room and coach, how many kids are expected and coming, waivers signed and still needed, kids with allergies, who can't come, the balance due, and the party's back office page.","inputSchema":{"type":"object","properties":{"from":{"type":"string","description":"First day, YYYY-MM-DD (default today)"},"to":{"type":"string","description":"Last day, YYYY-MM-DD (default 60 days on)"},"room":{"type":"string","description":"Only this party room (exact name, e.g. Party Room B)"},"start_time":{"type":"string","description":"Only parties starting at this time, HH:MM 24-hour (e.g. 17:00)"},"package":{"type":"string","description":"Only this package (exact name)"},"coach":{"type":"string","description":"Only this coach's parties"},"balance_due":{"type":"boolean","description":"Only parties with a balance still due"},"waivers_missing":{"type":"boolean","description":"Only parties with a child whose waiver isn't signed"},"allergies":{"type":"boolean","description":"Only parties with a child who has allergies"}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"camps-parties","url":"https://ninjahq.ai/developers/tools/camps-parties#list_parties"},{"name":"get_party_guests","title":"A party's guest list","description":"One party's guest list for running the party: how many children are coming, whose waivers are signed, how many have allergies or notes on file and who has checked in; plus how many can't come. In the back office's own assistant it also names each child and family with their allergies and notes; an outside AI app gets the numbers only, and the names are on the party's page.","inputSchema":{"type":"object","properties":{"party_id":{"type":"string","description":"The id from list_parties"}},"required":["party_id"],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"camps-parties","url":"https://ninjahq.ai/developers/tools/camps-parties#get_party_guests"},{"name":"get_party_addons","title":"A party's food and extras","description":"One party's food and extras: what's chosen (with quantities and prices), the gym's list of add-ons that can be added (each, per guest or one price), the day the family can no longer change them online, and the party's total and balance.","inputSchema":{"type":"object","properties":{"party_id":{"type":"string","description":"The id from list_parties"}},"required":["party_id"],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"camps-parties","url":"https://ninjahq.ai/developers/tools/camps-parties#get_party_addons"},{"name":"set_party_addons","title":"Change a party's food and extras","description":"Change a party's food and extras (owners and managers): send the whole new list. The party's total and balance change by the difference; the gym's own staff are not emailed. Use get_party_addons first for the keys.","inputSchema":{"type":"object","properties":{"party_id":{"type":"string","description":"The id from list_parties"},"addons":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","description":"The add-on's key from get_party_addons (or its name)"},"quantity":{"type":"integer","description":"How many for an each item (pizzas); 1 to add a per-guest or one-price item; 0 to take it off"}},"required":["key","quantity"],"additionalProperties":false},"description":"The whole new list: anything left out is taken off"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["party_id","addons"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"camps-parties","url":"https://ninjahq.ai/developers/tools/camps-parties#set_party_addons"},{"name":"set_party_look","title":"Change a party invitation's theme and color","description":"Change how a birthday party's invitation looks (owners and managers): a theme and a color. The invitation, the RSVP page, the paper invitations and the party emails follow it. Every color keeps the text easy to read. The family can also change it on their own party page.","inputSchema":{"type":"object","properties":{"party_id":{"type":"string","description":"The id from list_parties"},"theme":{"type":"string","enum":["champion","unicorn","rainbow","neon","dino","space","ocean","sports","hero","jungle","clock","compete","spring","summer","spooky","winter"],"description":"champion = Party Time (the usual confetti), unicorn = Unicorn Sparkle, rainbow, neon = Neon Glow, dino, space, ocean, sports = Sports Star, hero = Superhero, jungle, clock = Race the Clock (gray page, thick frame, the child's name on a yellow ribbon; best in the gym's own colors), compete = Selected to Compete (white page, black frame, obstacle athletes and a stars-and-stripes Ninja Party shield); seasonal: spring = Spring Bloom, summer = Summer Splash, spooky = Spooky Fun, winter = Winter Wonderland"},"color":{"type":"string","enum":["gym","pink","purple","red","orange","green","teal","blue","navy"],"description":"Optional: gym = the gym's own colors; leave out for the theme's own color"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["party_id","theme"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"camps-parties","url":"https://ninjahq.ai/developers/tools/camps-parties#set_party_look"},{"name":"change_party","title":"Move a party, or mark it confirmed or arrived","description":"Move a birthday party to another day, time or room, or mark it confirmed or arrived (owners and managers). A move is checked like on the party's page: it stops when the date has passed, another party is in that room then, every party room is taken, or the gym is closed that day, and says why. A party paid online keeps its booking in step. This never emails the family: to tell them, the owner opens the party in the back office (Parties, then Edit or move the party) and saves with the email box ticked.","inputSchema":{"type":"object","properties":{"party_id":{"type":"string","description":"The id from list_parties"},"day":{"type":"string","description":"New day, YYYY-MM-DD (leave out to keep it)"},"start":{"type":"string","description":"New start time, 24-hour HH:MM"},"end":{"type":"string","description":"New end time, 24-hour HH:MM"},"room":{"type":"string","description":"The party room's name"},"confirmed":{"type":"boolean","description":"true = mark confirmed (staff talked to the family), false = undo"},"arrived":{"type":"boolean","description":"true = the family is here, false = undo"},"move_anyway":{"type":"boolean","description":"Move even when the room or every room is taken then (only when the owner says so)"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["party_id"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"camps-parties","url":"https://ninjahq.ai/developers/tools/camps-parties#change_party"},{"name":"set_party_choices","title":"Party allergies and pizza ordering","description":"See or change two party choices (owners and managers): whether the RSVP asks about allergies, and whether families order pizza from the gym on their party page with a suggested order size. Call with no changes to see the current choices.","inputSchema":{"type":"object","properties":{"ask_allergies":{"type":"boolean","description":"true = guests are asked about allergies when they RSVP and staff see them; false = names only, no allergies anywhere"},"pizza_ordering":{"type":"boolean","description":"true = the party host can order pizza from the gym on their party page, with a suggested number of pizzas and an email with tips (needs a pizza priced each in Food and Extras: add_ons of update_party_booking)"},"slices_per_child":{"type":"integer","description":"1 to 6 (default 2)"},"slices_per_pizza":{"type":"integer","description":"4 to 16 (default 8)"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"camps-parties","url":"https://ninjahq.ai/developers/tools/camps-parties#set_party_choices"},{"name":"get_tips_by_person","title":"Tips by person","description":"Tips from parties and the register in a period: the total, each person's share (for payroll), and each tip (day, what it was for, how it was paid, who gets it). Owners only.","inputSchema":{"type":"object","properties":{"from":{"type":"string","description":"First day, YYYY-MM-DD (default the first of this month)"},"to":{"type":"string","description":"Last day, YYYY-MM-DD (default today)"}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"camps-parties","url":"https://ninjahq.ai/developers/tools/camps-parties#get_tips_by_person"},{"name":"get_party_booking","title":"Birthday party booking","description":"How families book birthday parties online: whether online booking is on, the start times, how many parties at once, days' notice, each package's price, guests included and notice, add-on prices, the extra guest price, most guests, deposit and booking terms.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"camps-parties","url":"https://ninjahq.ai/developers/tools/camps-parties#get_party_booking"},{"name":"update_party_booking","title":"Change party prices, times and booking","description":"Change birthday party prices, guests included, add-on prices, start times, days' notice, deposit, whether the balance is charged automatically before the party (and how many days before), or booking terms, the Good to know list on the Parties page, show or hide the Party planning, handled section on the Parties page, or switch online booking on or off (owners and managers). Send only what changes. Switching online booking off needs the owner's yes and confirm: true.","inputSchema":{"type":"object","properties":{"online_booking":{"type":"boolean","description":"true = families book and pay online; false = the parties page keeps the request form"},"start_times":{"type":"array","items":{"type":"object","properties":{"day":{"type":"string","description":"The day of the week, e.g. Saturday"},"start":{"type":"string","description":"e.g. 12 PM"},"end":{"type":"string","description":"e.g. 2 PM"}},"required":["day","start"],"additionalProperties":false},"description":"Replaces every start time. One item per party time, e.g. Saturday 12 PM to 2 PM"},"party_rooms":{"type":"array","items":{"type":"string"},"description":"The party rooms by name (up to 10), e.g. Party Room A: each is a column on Bookings > Parties, and with rooms the parties at the same time is their number. An empty list removes the names"},"parties_at_the_same_time":{"type":"integer","description":"1 to 10 (rooms or coordinators)"},"days_notice":{"type":"integer","description":"The earliest a family can book, in days from today, 0 to 60"},"packages":{"type":"array","items":{"type":"object","properties":{"package":{"type":"string","description":"The package's name"},"price":{"type":"number","description":"The package's price in dollars"},"guests_included":{"type":"integer","description":"How many children the package includes"},"days_notice":{"type":"integer","description":"Only when this package needs more notice"}},"required":["package"],"additionalProperties":false},"description":"Only the packages that change; the others stay"},"add_ons":{"type":"array","items":{"type":"object","properties":{"add_on":{"type":"string","description":"Its name, e.g. Pizza"},"price":{"type":"number","description":"Dollars"},"priced":{"type":"string","enum":["one price","each","per guest"],"description":"each = the family picks how many (pizzas); per guest = times the party's headcount (goodie bags)"},"category":{"type":"string","description":"e.g. Food, Drinks, Extras"},"remove":{"type":"boolean","description":"true takes this add-on away"}},"required":["add_on"],"additionalProperties":false},"description":"Food and extras to add, change or remove (others stay). Up to 3 new ones at a time"},"families_can_change_add_ons_until_days_before":{"type":"integer","description":"Families change food and extras on their party page until this many days before (0 to 30, default 3)"},"extra_guest_price":{"type":"number","description":"Dollars per extra guest"},"most_guests":{"type":"integer","description":"Most guests at one party, 1 to 200"},"deposit":{"type":"number","description":"Dollars paid online as a deposit; 0 = pay the full price online"},"charge_balance_automatically":{"type":"boolean","description":"With a deposit: true = the rest is charged to the family's card before the party (they agree when paying and get an email first); false = the rest is paid at the gym"},"balance_days_before":{"type":"integer","description":"How many days before the party the balance is charged, 1 to 14 (default 3)"},"booking_terms":{"type":"string","description":"Shown under the pay button, e.g. Deposits are refundable up to 7 days before the party (up to 400 characters)"},"good_to_know":{"type":"array","items":{"type":"string"},"description":"Replaces the Good to know list on the Parties page, one short line each (up to 10): rules, what is paid when, what to bring"},"party_planning_section":{"type":"boolean","description":"true = the Parties page shows \"Party planning, handled\" (what families get with every party: the invitation, RSVPs with the waiver, their party page, reminders); false = hide it"},"party_video":{"type":"boolean","description":"true = that section plays the 25-second party video (a guest says yes, signs the waiver and appears on the guest list; filmed in a sample gym); false = hide the video. Never shown for a gym with an outside waiver link"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"camps-parties","url":"https://ninjahq.ai/developers/tools/camps-parties#update_party_booking"},{"name":"update_location_party_booking","title":"Change one location's party times, rooms and packages","description":"Change one location's birthday party booking (owners): online booking on or off, start times, named party rooms, parties at the same time, days' notice, most guests, and its packages (price, guests included, deposit, extra guest price; add or remove), its party rooms with their own picture, description and times (rooms), and the “Good to know before you book” list on its party page with headings, words and links (party_info), its own add-ons with a picture and description (add_ons). The balance charge and the cancel rule stay as set for all locations (update_party_booking), as do food and extras for a location without its own add-ons. Send only what changes.","inputSchema":{"type":"object","properties":{"location":{"type":"string","description":"The location's name (or key)"},"online_booking":{"type":"boolean","description":"true = families book and pay online at this location"},"start_times":{"type":"array","items":{"type":"object","properties":{"day":{"type":"string","description":"The day of the week, e.g. Saturday"},"start":{"type":"string","description":"e.g. 12 PM"},"end":{"type":"string","description":"e.g. 1:50 PM"}},"required":["day","start"],"additionalProperties":false},"description":"Replaces every start time at this location"},"party_rooms":{"type":"array","items":{"type":"string"},"description":"The location's party rooms by name (up to 10); with rooms, the parties at the same time is their number. An empty list removes the names"},"parties_at_the_same_time":{"type":"integer","description":"1 to 10, when the rooms aren't named"},"days_notice":{"type":"integer","description":"0 to 60"},"most_guests":{"type":"integer","description":"1 to 200"},"packages":{"type":"array","items":{"type":"object","properties":{"package":{"type":"string","description":"Its name (a new name adds a package)"},"price":{"type":"number","description":"Dollars"},"guests_included":{"type":"integer","description":"How many children the package includes"},"deposit":{"type":"number","description":"Dollars paid online, 0 = the full price"},"extra_guest_price":{"type":"number","description":"Dollars per extra guest"},"remove":{"type":"boolean","description":"true takes this package away"}},"required":["package"],"additionalProperties":false},"description":"Only the packages that change or are new; the others stay. Up to 2 new ones at a time"},"rooms":{"type":"array","items":{"type":"object","properties":{"room":{"type":"string","description":"Its name (a new name adds a room)"},"description":{"type":"string","description":"What families read about the room, up to 300 characters"},"times":{"type":"array","items":{"type":"object","properties":{"day":{"type":"string"},"start":{"type":"string","description":"e.g. 12 PM"},"end":{"type":"string","description":"e.g. 2 PM"}},"required":["day","start"],"additionalProperties":false},"description":"Replaces this room's weekly times"},"picture":{"type":"string","description":"A photo from the gym's library: its photo_id (list_photos, import_photo_from_url), or \"\" for none"},"remove":{"type":"boolean","description":"true takes this party room away"}},"required":["room"],"additionalProperties":false},"description":"Party rooms with their own picture, words and times: families pick a day, then a room and one of its free times. Only the rooms that change or are new; one new room at a time. With such rooms, start_times and party_rooms are not used"},"add_ons":{"type":"array","items":{"type":"object","properties":{"add_on":{"type":"string","description":"Its name (a new name adds one)"},"price":{"type":"number","description":"Dollars"},"priced":{"type":"string","enum":["flat","item","guest"],"description":"flat = one price, item = each (asks how many), guest = per guest"},"description":{"type":"string","description":"What families read about it, up to 500 characters"},"picture":{"type":"string","description":"A photo_id from the gym's library, or \"\" for none"},"one_per_guest":{"type":"boolean","description":"true = when families book, suggest one of this add-on for each guest, with a button that adds them (only for add-ons priced item; nothing is added by itself)"},"remove":{"type":"boolean","description":"true takes this add-on away"}},"required":["add_on"],"additionalProperties":false},"description":"This location's own add-ons (shirts, decorating...), each with a picture and words. Only the ones that change or are new; up to 2 new at a time"},"party_info":{"type":"array","items":{"type":"object","properties":{"heading":{"type":"string","description":"e.g. Party Guests"},"text":{"type":"string","description":"Its words, up to 3,000 characters; a line starting with - is a list item"},"links":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"url":{"type":"string","description":"A page of this website (/parties) or an https:// address. Keep things on the website: no Google Docs or the gym's old booking system"}},"required":["label","url"],"additionalProperties":false},"description":"Links under the words (up to 6), each { label, url }"}},"required":["heading","text"],"additionalProperties":false},"description":"Replaces the whole “Good to know before you book” list on this location's party page (up to 12 parts). [] removes it"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["location"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"camps-parties","url":"https://ninjahq.ai/developers/tools/camps-parties#update_location_party_booking"},{"name":"get_account_credit","title":"Account credit","description":"Families' account credit (money a family can spend with the gym, often from a refund to credit instead of the card). Without a family: every family with credit and the total. With a family: their credit now and its history (each change: when, what, who, the amount and the credit after). Owners and managers.","inputSchema":{"type":"object","properties":{"family":{"type":"string","description":"A family's name or email. Leave it out for every family with credit"}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"memberships","url":"https://ninjahq.ai/developers/tools/memberships#get_account_credit"},{"name":"change_account_credit","title":"Add or take off account credit","description":"Add credit to a family's account (a make-good, a goodwill credit) or take credit off (a mistake), with a reason that shows in their history. Owners and managers. Every change needs confirm: true after the owner said yes. Refunds to credit are made from the refund buttons in the back office, not here.","inputSchema":{"type":"object","properties":{"family":{"type":"string","description":"The family's name or email"},"amount":{"type":"number","description":"Dollars: positive adds credit, negative takes it off"},"reason":{"type":"string","description":"Why, for the family's credit history"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["family","amount","reason"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"memberships","url":"https://ninjahq.ai/developers/tools/memberships#change_account_credit"},{"name":"get_products","title":"Shop products","description":"Every product the gym sells on the website shop or at the front desk: price, status, category, where it is sold, sizes and other options, each variant's price and stock. Products only: never orders or buyers.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"shop","url":"https://ninjahq.ai/developers/tools/shop#get_products"},{"name":"add_product","title":"Add a product","description":"Add a product to the shop and/or the front desk (owners and managers). Ask for the price and the sizes; never guess them. It is saved as a draft unless on_sale is true, so the owner can add photos first (upload_photo with purpose product). Sold on the website and picked up at the gym unless told otherwise.","inputSchema":{"type":"object","properties":{"title":{"type":"string","description":"e.g. Ninja Team T-shirt (up to 100 characters)"},"price":{"type":"number","description":"Dollars"},"compare_at_price":{"type":"number","description":"The old price shown crossed out, in dollars; 0 to remove"},"description":{"type":"string","description":"What families read on the product page (up to 3,000 characters)"},"category":{"type":"string","enum":["tshirts","tanks","hoodies","shorts","socks","hats","clothing","bottles","grip","bags","stickers","books","food","lessons","fee","other"],"description":"Sets the sales tax kind: lessons (a private lesson or session sold online with no date: the gym sets the time; name the option Coach for one price per coach), tshirts, tanks, hoodies, shorts, socks, hats, clothing, bottles, grip (grip socks, chalk, tape), bags, stickers, books, food (drinks and snacks), fee (spectator or other fee, front desk only), other"},"option_name":{"type":"string","description":"The first option's name, e.g. Size"},"sizes":{"type":"array","items":{"type":"string"},"description":"The first option's values in order, e.g. [\"YS\", \"YM\", \"S\", \"M\"]. Replaces the list: a size left out is removed with its stock. [] = one size"},"second_option_name":{"type":"string","description":"A second option, e.g. Color; empty to remove it"},"second_option_values":{"type":"array","items":{"type":"string"},"description":"e.g. [\"Black\", \"Red\"]; every pair with the sizes becomes a variant"},"sold_on_website":{"type":"boolean","description":"true = sold in the website shop"},"sold_at_front_desk":{"type":"boolean","description":"true = sold at the front desk"},"offered_at_registration":{"type":"boolean","description":"Offer it on the competition registration form (needs sold_on_website)"},"pickup":{"type":"boolean","description":"Can be picked up at the gym"},"shipping":{"type":"boolean","description":"Can be shipped"},"on_sale":{"type":"boolean","description":"true = on sale now; false = a draft that isn't sold. To stop selling, use stop_selling_product"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["title","price"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"shop","url":"https://ninjahq.ai/developers/tools/shop#add_product"},{"name":"update_product","title":"Change a product","description":"Change a product: name, price, description, category, sizes and options, where it is sold, pickup or shipping, each variant's price, stock or SKU, or put a draft on sale (owners and managers). Send only what changes; everything else, photos included, stays.","inputSchema":{"type":"object","properties":{"product":{"type":"string","description":"The product's current name"},"new_title":{"type":"string","description":"The product's new name"},"price":{"type":"number","description":"Dollars"},"compare_at_price":{"type":"number","description":"The old price shown crossed out, in dollars; 0 to remove"},"description":{"type":"string","description":"What families read on the product page (up to 3,000 characters)"},"category":{"type":"string","enum":["tshirts","tanks","hoodies","shorts","socks","hats","clothing","bottles","grip","bags","stickers","books","food","lessons","fee","other"],"description":"Sets the sales tax kind: lessons (a private lesson or session sold online with no date: the gym sets the time; name the option Coach for one price per coach), tshirts, tanks, hoodies, shorts, socks, hats, clothing, bottles, grip (grip socks, chalk, tape), bags, stickers, books, food (drinks and snacks), fee (spectator or other fee, front desk only), other"},"option_name":{"type":"string","description":"The first option's name, e.g. Size"},"sizes":{"type":"array","items":{"type":"string"},"description":"The first option's values in order, e.g. [\"YS\", \"YM\", \"S\", \"M\"]. Replaces the list: a size left out is removed with its stock. [] = one size"},"second_option_name":{"type":"string","description":"A second option, e.g. Color; empty to remove it"},"second_option_values":{"type":"array","items":{"type":"string"},"description":"e.g. [\"Black\", \"Red\"]; every pair with the sizes becomes a variant"},"sold_on_website":{"type":"boolean","description":"true = sold in the website shop"},"sold_at_front_desk":{"type":"boolean","description":"true = sold at the front desk"},"offered_at_registration":{"type":"boolean","description":"Offer it on the competition registration form (needs sold_on_website)"},"pickup":{"type":"boolean","description":"Can be picked up at the gym"},"shipping":{"type":"boolean","description":"Can be shipped"},"on_sale":{"type":"boolean","description":"true = on sale now; false = a draft that isn't sold. To stop selling, use stop_selling_product"},"variants":{"type":"array","items":{"type":"object","properties":{"variant":{"type":"string","description":"The variant's name from get_products, e.g. M or Black / M"},"price":{"type":"number","description":"Its own price in dollars; 0 = the product's price"},"stock":{"type":"integer","description":"How many are in stock; -1 = not tracked"},"sku":{"type":"string","description":"The variant's SKU (stock code); empty removes it"}},"required":["variant"],"additionalProperties":false},"description":"Per-variant price, stock or SKU changes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["product"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"shop","url":"https://ninjahq.ai/developers/tools/shop#update_product"},{"name":"stop_selling_product","title":"Stop selling a product","description":"Take a product off sale, on the website and at the front desk: it becomes a draft, kept with its photos and stock, and update_product with on_sale: true sells it again (owners and managers). Ask the owner to confirm, then send confirm: true. Nothing is deleted.","inputSchema":{"type":"object","properties":{"product":{"type":"string","description":"The product's id or exact name, from get_products"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["product"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"shop","url":"https://ninjahq.ai/developers/tools/shop#stop_selling_product"},{"name":"get_discount_codes","title":"Discount codes","description":"The gym's discount codes: the code, the discount, where it works, start and end dates, limits, whether it is active and how many times it has been used. Totals only: never who used it.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"shop","url":"https://ninjahq.ai/developers/tools/shop#get_discount_codes"},{"name":"add_discount_code","title":"Create a discount code","description":"Create a discount code customers type at checkout (owners and managers). Ask the owner for the discount, where it works and any dates or limits; never guess them.","inputSchema":{"type":"object","properties":{"code":{"type":"string","description":"What customers type, e.g. COACH10 (letters and numbers, 3 to 30)"},"kind":{"type":"string","enum":["percent","amount","free_shipping"],"description":"percent off, a dollar amount off, or free shipping (shop orders only)"},"value":{"type":"number","description":"The percent (1 to 100) or the dollars off"},"works_for":{"type":"array","items":{"type":"string","enum":["shop","registration","camp","party","class"]},"description":"Where it works: shop (shop orders), registration (competition registrations), camp (camps and special events), party (party bookings), class (class drop-ins and sessions)"},"starts_on":{"type":"string","description":"YYYY-MM-DD; empty = now"},"ends_on":{"type":"string","description":"YYYY-MM-DD; empty = never"},"most_uses":{"type":"integer","description":"How many times it can be used in all; 0 = no limit"},"once_per_customer":{"type":"boolean","description":"true = each customer can use the code only once"},"members_only":{"type":"boolean","description":"Only for families with a membership"},"minimum_order":{"type":"number","description":"Dollars; 0 = none"},"note":{"type":"string","description":"A private note, e.g. Coaches' families (up to 120 characters)"},"active":{"type":"boolean","description":"Default true"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["code","kind","works_for"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"shop","url":"https://ninjahq.ai/developers/tools/shop#add_discount_code"},{"name":"update_discount_code","title":"Change a discount code","description":"Change a discount code: the code itself, the discount, where it works, dates, limits or note, or switch it back on (owners and managers). Send only what changes.","inputSchema":{"type":"object","properties":{"code":{"type":"string","description":"The code as it is now"},"new_code":{"type":"string","description":"The new code customers type; leave out to keep the current one"},"kind":{"type":"string","enum":["percent","amount","free_shipping"],"description":"percent off, a dollar amount off, or free shipping (shop orders only)"},"value":{"type":"number","description":"The percent (1 to 100) or the dollars off"},"works_for":{"type":"array","items":{"type":"string","enum":["shop","registration","camp","party","class"]},"description":"Where it works: shop (shop orders), registration (competition registrations), camp (camps and special events), party (party bookings), class (class drop-ins and sessions)"},"starts_on":{"type":"string","description":"YYYY-MM-DD; empty = now"},"ends_on":{"type":"string","description":"YYYY-MM-DD; empty = never"},"most_uses":{"type":"integer","description":"How many times it can be used in all; 0 = no limit"},"once_per_customer":{"type":"boolean","description":"true = each customer can use the code only once"},"members_only":{"type":"boolean","description":"Only for families with a membership"},"minimum_order":{"type":"number","description":"Dollars; 0 = none"},"note":{"type":"string","description":"A private note, e.g. Coaches' families (up to 120 characters)"},"active":{"type":"boolean","description":"true = works at checkout. To switch it off use turn_off_discount_code"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["code"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"shop","url":"https://ninjahq.ai/developers/tools/shop#update_discount_code"},{"name":"turn_off_discount_code","title":"Switch a discount code off","description":"Stop a discount code from working at checkout; it is kept, with its uses, and update_discount_code with active: true switches it on again (owners and managers). Ask the owner to confirm, then send confirm: true.","inputSchema":{"type":"object","properties":{"code":{"type":"string","description":"The code to turn off, as customers type it"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["code"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"shop","url":"https://ninjahq.ai/developers/tools/shop#turn_off_discount_code"},{"name":"get_ninjahq_line","title":"NinjaHQ line in registration confirmations","description":"Whether competition registration confirmations end with the short NinjaHQ line (US families only, once a year per family, never when the athlete's home gym is this gym), and its wording.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"competitions","url":"https://ninjahq.ai/developers/tools/competitions#get_ninjahq_line"},{"name":"set_ninjahq_line","title":"Turn the NinjaHQ line in confirmations on or off","description":"Switch the short NinjaHQ line at the end of competition registration confirmations on or off (owners only). The confirmation itself is unchanged either way.","inputSchema":{"type":"object","properties":{"on":{"type":"boolean","description":"true = add the short NinjaHQ line at the end of competition registration confirmations; false = leave it out"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"competitions","url":"https://ninjahq.ai/developers/tools/competitions#set_ninjahq_line"},{"name":"get_gift_cards_online","title":"Gift cards on the website","description":"Whether the website sells gift cards (the gift cards page) and the amounts it offers. Gift cards themselves, their balances and buyers stay in the back office.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"shop","url":"https://ninjahq.ai/developers/tools/shop#get_gift_cards_online"},{"name":"update_gift_cards_online","title":"Change gift cards on the website","description":"Switch gift card sales on the website on or off, or change the amounts offered (owners and managers). Switching sales off needs the owner's yes and confirm: true. Selling, using or voiding a card is done at the front desk.","inputSchema":{"type":"object","properties":{"sell_online":{"type":"boolean","description":"false = stop selling gift cards on the website (cards already sold keep working)"},"amounts":{"type":"array","items":{"type":"number"},"description":"Up to 6 dollar amounts to offer, $5 to $500, e.g. [25, 50, 100]"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"shop","url":"https://ninjahq.ai/developers/tools/shop#update_gift_cards_online"},{"name":"get_menu_sections","title":"Menu sections","description":"The back-office sections an owner can turn off (Vendors, Gift cards, Time clock, Competitions, ...): each one's key, name, menu area, whether it is in the menu, and what data it holds. Core screens (Today, Payments, People, Settings) can't be turned off.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"help","url":"https://ninjahq.ai/developers/tools/help#get_menu_sections"},{"name":"menu_sections","title":"Turn menu sections off or on","description":"Take back-office sections the gym doesn't use out of the menu, the search and Today, or bring them back (owners only). Nothing is deleted and anything already set up keeps working. Turning a section off needs the owner's yes and confirm: true; tell them first if it holds data (in_use from get_menu_sections).","inputSchema":{"type":"object","properties":{"turn_off":{"type":"array","items":{"type":"string"},"description":"Section keys to take out of the menu (from get_menu_sections)"},"turn_on":{"type":"array","items":{"type":"string"},"description":"Section keys to bring back"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"help","url":"https://ninjahq.ai/developers/tools/help#menu_sections"},{"name":"get_holiday_decorations","title":"Holiday decorations","description":"Which holidays decorate the website, their dates this year, the look each one has and every look to choose from (with a preview link for each).","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"pages","url":"https://ninjahq.ai/developers/tools/pages#get_holiday_decorations"},{"name":"update_holiday_decorations","title":"Change holiday decorations","description":"Turn holidays on or off and pick the look for any holiday (owners only). Each holiday shows by itself on its dates. Send only what changes; suggest the preview links from get_holiday_decorations first.","inputSchema":{"type":"object","properties":{"turn_on":{"type":"array","items":{"type":"string"},"description":"Holiday keys to decorate for (from get_holiday_decorations)"},"turn_off":{"type":"array","items":{"type":"string"},"description":"Holiday keys to stop decorating for"},"looks":{"type":"object","additionalProperties":{"type":"string"},"description":"Holiday key -> look key, e.g. { \"christmas\": \"wonderland\" }"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"pages","url":"https://ninjahq.ai/developers/tools/pages#update_holiday_decorations"},{"name":"get_promotions","title":"Promotions","description":"The gym's own promotions and the ready-made ones for the big sale days (Black Friday class pack sale, gift card bonus, birthday party deal, early-bird camps, shop sale, toy drive, Parents' Night Out): what each one is, whether it's off, scheduled, running or ended, its dates, code and banner words, the suggested dates and amounts for the ones that are off, and what must be set up first.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"shop","url":"https://ninjahq.ai/developers/tools/shop#get_promotions"},{"name":"set_promotion","title":"Turn on or change a promotion","description":"Turn on a promotion, change one, or make the gym's own (key \"new\" with name and kind) (owners only). It starts and ends by itself on its dates; a code promotion makes the discount code (shown in Money > Discount codes too). Use the suggested values from get_promotions unless the owner said otherwise, and confirm the dates, code and amount first.","inputSchema":{"type":"object","properties":{"key":{"type":"string","description":"The promotion's id from get_promotions (e.g. bf-packs, gift-bonus, or an own one's own-... id), or \"new\" to make the gym's own"},"name":{"type":"string","description":"Own promotions: its name, e.g. Winter Break Special"},"kind":{"type":"string","enum":["code","banner"],"description":"Own promotions: a discount code, or a banner only"},"works_for":{"type":"string","enum":["pack","party","camp","class","registration","shop"],"description":"Own code promotions: class packs, birthday parties, camps and special events, drop-in classes, competition entries or the shop"},"button_page":{"type":"string","description":"Own promotions: the website page the banner's button opens, e.g. /camps (leave out for the page that fits the discount)"},"button_words":{"type":"string","description":"Own promotions: the button's words, up to 30 letters"},"starts":{"type":"string","description":"First day, YYYY-MM-DD"},"ends":{"type":"string","description":"Last day, YYYY-MM-DD"},"code":{"type":"string","description":"Discount code customers type (code promotions only), e.g. BLACKFRIDAY"},"discount_type":{"type":"string","enum":["percent","amount"],"description":"percent off or dollars off (code promotions)"},"discount":{"type":"number","description":"The percent (1-90) or dollars (1-1000) off"},"every_dollars":{"type":"number","description":"Gift card bonus: for every this many dollars in gift cards..."},"bonus_dollars":{"type":"number","description":"...the buyer gets a bonus card of this many dollars"},"banner":{"type":"boolean","description":"Show the banner at the top of the website on those days (default true)"},"banner_words":{"type":"string","description":"Own banner words (up to 110 letters); leave out to use the suggested words"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["key","starts","ends"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"shop","url":"https://ninjahq.ai/developers/tools/shop#set_promotion"},{"name":"turn_off_promotion","title":"Turn off a promotion","description":"Turn off a promotion now (owners only): its banner comes down and its discount code stops working.","inputSchema":{"type":"object","properties":{"key":{"type":"string","description":"The promotion's key from get_promotions"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["key"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"shop","url":"https://ninjahq.ai/developers/tools/shop#turn_off_promotion"},{"name":"delete_promotion","title":"Delete one of the gym's own promotions","description":"Delete one of the gym's own promotions (owners only); its code stops working. Ready-made ones can only be turned off.","inputSchema":{"type":"object","properties":{"key":{"type":"string","description":"The own promotion's id from get_promotions (own-...)"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["key"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"shop","url":"https://ninjahq.ai/developers/tools/shop#delete_promotion"},{"name":"get_hiring_page","title":"Hiring page (Join our team)","description":"The website's Join our team page: whether it is shown, its intro and the open positions. Never job applications or applicants.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"site","url":"https://ninjahq.ai/developers/tools/site#get_hiring_page"},{"name":"update_hiring_page","title":"Change the hiring page","description":"Show or hide the Join our team page, change its intro, or change the open positions (owners only). Send only what changes. Hiding the page needs the owner's yes and confirm: true.","inputSchema":{"type":"object","properties":{"show_page":{"type":"boolean","description":"false = hide the Join our team page"},"intro":{"type":"string","description":"Up to 600 characters; empty = the page writes its own"},"positions":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","description":"e.g. Ninja Coach"},"type":{"type":"string","enum":["part-time","full-time","seasonal","contract"],"description":"The kind of job"},"description":{"type":"string","description":"What the job is (up to 600 characters)"}},"required":["title"],"additionalProperties":false},"description":"The whole list of open positions (up to 12), replacing the current one: read get_hiring_page first and send every position to keep. [] = a general coach opening"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"site","url":"https://ninjahq.ai/developers/tools/site#update_hiring_page"},{"name":"get_website_questions","title":"NinjaHQ's questions about the gym","description":"The questions NinjaHQ asked the gym to finish and improve its website (camps, parties, the FAQ page's \"Questions parents ask\", photos, legal...), with their id and topic, and the answers already given.","inputSchema":{"type":"object","properties":{"show":{"type":"string","enum":["open","answered","all"],"description":"Default open"}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"site","url":"https://ninjahq.ai/developers/tools/site#get_website_questions"},{"name":"answer_website_question","title":"Answer one of NinjaHQ's questions","description":"Save the owner's answer to one of NinjaHQ's questions (owners and managers). Write down what the owner says; never invent facts, prices or policies. NinjaHQ is told about the answer, as when it is typed in the back office.","inputSchema":{"type":"object","properties":{"question_id":{"type":"string","description":"From get_website_questions"},"answer":{"type":"string","description":"The owner's answer in their own words (up to 2,000 characters)"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["question_id","answer"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"site","url":"https://ninjahq.ai/developers/tools/site#answer_website_question"},{"name":"get_cole_questions","title":"Cole's questions about the website","description":"The questions Cole, NinjaHQ's watchdog, asks after the website check (a photo without a description, words cut off on phones, words hard to read over a photo, other problems): each with its question_id, the page, and the answers to pick from (does: fix = Cole makes the change, write = Cole uses the person's own words, leave, done = they fixed it themselves, link = where it's fixed by hand). Also the last answered ones.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":true,"area":"site","url":"https://ninjahq.ai/developers/tools/site#get_cole_questions"},{"name":"answer_cole_question","title":"Answer one of Cole's questions","description":"Answer one of Cole's questions as the person decided (owners, managers, web developers): Cole makes the change (a photo's description everywhere it shows, shorter words, a darker shade over a photo), records it in History so it can be put back, and checks the page again. Ask the person first and use their own words for text; never pick an answer for them.","inputSchema":{"type":"object","properties":{"question_id":{"type":"string","description":"From get_cole_questions"},"answer":{"type":"string","description":"The answer's id (answer) from get_cole_questions"},"text":{"type":"string","description":"For an answer with needs_text: the person's own words (a photo's description, shorter words)"}},"required":["question_id","answer"],"additionalProperties":false},"readOnly":false,"dryRun":false,"confirm":false,"developer":true,"area":"site","url":"https://ninjahq.ai/developers/tools/site#answer_cole_question"},{"name":"get_contact_details","title":"Contact details","description":"How families reach the gym, as the website shows it: phone, contact email, address and social media links.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"site","url":"https://ninjahq.ai/developers/tools/site#get_contact_details"},{"name":"update_contact_details","title":"Change contact details","description":"Change the phone number, contact email, address or social media links shown on the website (owners only). Send only what changes.","inputSchema":{"type":"object","properties":{"phone":{"type":"string","description":"e.g. (404) 555-0123"},"contact_email":{"type":"string","description":"Where website messages go"},"street":{"type":"string","description":"Street address, e.g. 123 Main St, Suite 4"},"city":{"type":"string","description":"City"},"state":{"type":"string","description":"e.g. GA"},"zip":{"type":"string","description":"ZIP or postal code"},"instagram":{"type":"string","description":"A link or @handle; empty to remove"},"facebook":{"type":"string","description":"A link or page name; empty to remove"},"youtube":{"type":"string","description":"A link or @handle; empty to remove"},"tiktok":{"type":"string","description":"A link or @handle; empty to remove"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"site","url":"https://ninjahq.ai/developers/tools/site#update_contact_details"},{"name":"save_email_draft","title":"Save an email to customers as a draft","description":"Save a news email or notice as a draft for the owner to review and send themselves: it becomes a saved template under Marketing > Email templates, picked under \"Start from\" on the Emails page (owners and managers). Nothing is sent from here, ever; the owner chooses who gets it and presses Send in the back office.","inputSchema":{"type":"object","properties":{"name":{"type":"string","description":"A name only the gym sees, e.g. Snow day closure (up to 80 characters)"},"subject":{"type":"string","description":"The subject line (up to 150 characters)"},"message":{"type":"string","description":"The email's words; blank lines between paragraphs"},"button_label":{"type":"string","description":"Optional button words, e.g. Book now"},"button_link":{"type":"string","description":"The button's https:// link, needed with button_label"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["subject","message"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":true,"area":"emails","url":"https://ninjahq.ai/developers/tools/emails#save_email_draft"},{"name":"request_feature","title":"Send NinjaHQ a feature request","description":"Send the NinjaHQ team a feature request from this gym: it is emailed to NinjaHQ, goes on NinjaHQ's backlog in its console, and the owner sees it under Request a feature in the back office. Use it whenever the owner asks for something this connector can't do (there is no tool for it, or a tool refused it): say so plainly (and, if the back office can do it, how: search_help), then ask \"Would you like me to send this to NinjaHQ as a feature request?\" Call it only after they say yes, with confirm: true. Write the request from what they asked for; never include a customer's personal details.","inputSchema":{"type":"object","properties":{"request":{"type":"string","description":"What the owner wanted to do, in their words, with enough detail for NinjaHQ to understand it (10 to 2000 characters)"},"area":{"type":"string","description":"The part of NinjaHQ it is about, e.g. Memberships, Competitions, Check-in, Website, AI assistant (optional)"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"}},"required":["request"],"additionalProperties":false},"readOnly":false,"dryRun":false,"confirm":true,"developer":true,"area":"help","url":"https://ninjahq.ai/developers/tools/help#request_feature"},{"name":"get_email_preferences","title":"See which emails a family gets","description":"Which types of email one family gets from the gym: competition essentials (always), competition updates, classes, camps and gym notices, follow-ups, and news and promotions; and whether their address bounced or marked an email as spam. Owners only.","inputSchema":{"type":"object","properties":{"email":{"type":"string","description":"The family's email address"}},"required":["email"],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"emails","url":"https://ninjahq.ai/developers/tools/emails#get_email_preferences"},{"name":"set_email_preferences","title":"Change which emails a family gets","description":"Turn types of email on or off for one family, only when the family asked the gym to (owners only; recorded with the owner's name). Competition essentials (run order, competition-day reminders), receipts and confirmations can't be turned off. News and promotions can only be turned on by the family themselves (a recorded yes), so this tool doesn't change news; the family uses \"Choose which emails you get\" at the bottom of any email.","inputSchema":{"type":"object","properties":{"email":{"type":"string","description":"The family's email address"},"competition_updates":{"type":"boolean","description":"Competition update emails for this family"},"classes_camps_and_gym_notices":{"type":"boolean","description":"Class, camp and gym notice emails for this family"},"follow_ups":{"type":"boolean","description":"Follow-up emails for this family"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["email"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"emails","url":"https://ninjahq.ai/developers/tools/emails#set_email_preferences"},{"name":"get_classes","title":"Classes families can book","description":"Every bookable class (Schedule > Classes & enrollment): name, type, days and times, ages, tuition and how it is charged, capacity and spots left, location, description, free trials, whether it is on the website, and where it came from. Also the gym's class types and locations. Numbers only, never who is enrolled.","inputSchema":{"type":"object","properties":{"include_hidden":{"type":"boolean","description":"true = also list hidden classes"}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#get_classes"},{"name":"add_class","title":"Add a class","description":"Add a bookable class (owners only): its days and times go on the weekly schedule and families can book it on the Book a class page. Ask the owner for the days and times, ages, tuition and capacity; never guess a price or a time. Use dry_run first to show them what will be added.","inputSchema":{"type":"object","properties":{"name":{"type":"string","description":"e.g. Ninja Basics (up to 80 characters)"},"days_and_times":{"type":"array","items":{"type":"string"},"description":"Each weekly meeting as words, e.g. [\"Monday 4:30 PM - 5:30 PM\", \"Wednesday 4:30 PM - 5:30 PM\"] or [\"Mon & Wed 4:30-5:30 PM\"]. Replaces all of the class's times"},"ages_from":{"type":"integer","description":"Youngest age, 0 to 99"},"ages_to":{"type":"integer","description":"Oldest age, 0 to 99; leave out for no upper age"},"tuition":{"type":"number","description":"Dollars, charged as 'charged' says"},"charged":{"type":"string","enum":["month","class","session"],"description":"month = monthly tuition (families enroll and are billed each month), class = a drop-in price per class, session = one price for a whole session"},"capacity":{"type":"integer","description":"Most athletes in the class, 1 to 500; 0 = no limit. Spots left = capacity minus everyone enrolled"},"type":{"type":"string","description":"The schedule type (its color): Class, Open gym, Competition team, Homeschool PE, Toddlers & minis or Other (get_classes lists the gym's types)"},"location":{"type":"string","description":"Which location, when the gym has several"},"description":{"type":"string","description":"What athletes do and who it is for, shown on the class's booking page (up to 1,500 characters)"},"free_trials":{"type":"boolean","description":"true = families can book a free trial class"},"on_website":{"type":"boolean","description":"false = hidden from the Book a class page and the weekly schedule (kept, not deleted)"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["name","days_and_times"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#add_class"},{"name":"update_class","title":"Change a class","description":"Change any detail of a bookable class (owners only): name, days and times, ages, tuition, how it is charged, capacity, type, location, description, free trials, or hide/show it. Send only what changes; everything else stays. Enrolled families keep their tuition. A class that came from iClassPro is replaced by the next iClassPro download.","inputSchema":{"type":"object","properties":{"class":{"type":"string","description":"The class's current name"},"new_name":{"type":"string","description":"The class's new name"},"days_and_times":{"type":"array","items":{"type":"string"},"description":"Each weekly meeting as words, e.g. [\"Monday 4:30 PM - 5:30 PM\", \"Wednesday 4:30 PM - 5:30 PM\"] or [\"Mon & Wed 4:30-5:30 PM\"]. Replaces all of the class's times"},"ages_from":{"type":"integer","description":"Youngest age, 0 to 99"},"ages_to":{"type":"integer","description":"Oldest age, 0 to 99; leave out for no upper age"},"tuition":{"type":"number","description":"Dollars, charged as 'charged' says"},"charged":{"type":"string","enum":["month","class","session"],"description":"month = monthly tuition (families enroll and are billed each month), class = a drop-in price per class, session = one price for a whole session"},"capacity":{"type":"integer","description":"Most athletes in the class, 1 to 500; 0 = no limit. Spots left = capacity minus everyone enrolled"},"type":{"type":"string","description":"The schedule type (its color): Class, Open gym, Competition team, Homeschool PE, Toddlers & minis or Other (get_classes lists the gym's types)"},"location":{"type":"string","description":"Which location, when the gym has several"},"description":{"type":"string","description":"What athletes do and who it is for, shown on the class's booking page (up to 1,500 characters)"},"free_trials":{"type":"boolean","description":"true = families can book a free trial class"},"on_website":{"type":"boolean","description":"false = hidden from the Book a class page and the weekly schedule (kept, not deleted)"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["class"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#update_class"},{"name":"remove_class","title":"Remove a class","description":"Remove a class from the website and the weekly schedule (owners only). A class families have booked is hidden instead of deleted, so their enrollments and history stay. Needs the owner's yes and confirm: true.","inputSchema":{"type":"object","properties":{"class":{"type":"string","description":"The class's id or exact name, from get_classes"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["class"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#remove_class"},{"name":"get_tuition_rules","title":"Tuition rules","description":"The rules for monthly class tuition (Settings > Classes and enrollment): one billing day with a prorated first month, the registration fee and how often it is charged, and the sibling discounts.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#get_tuition_rules"},{"name":"update_tuition_rules","title":"Change the tuition rules","description":"Change the monthly tuition rules (owners only): billing day and proration, registration fee, sibling discounts. Send only what changes. Changes apply to new enrollments.","inputSchema":{"type":"object","properties":{"bill_everyone_on_one_day":{"type":"boolean","description":"true = every monthly class is billed on the billing day, and the first month is prorated by the classes left before it"},"billing_day":{"type":"integer","description":"1 to 28"},"registration_fee":{"type":"number","description":"Dollars; 0 for none"},"registration_fee_charged":{"type":"string","enum":["yearly","once"],"description":"yearly = every 12 months per family; once = once per family, ever"},"second_child_discount_percent":{"type":"integer","description":"0 to 50"},"third_and_later_children_discount_percent":{"type":"integer","description":"0 to 50"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#update_tuition_rules"},{"name":"set_schedule_entry_description","title":"Describe a schedule entry","description":"Set the short description visitors see when they tap or hover an entry on the weekly schedule (Schedule > Schedule > What each entry is). Owners and managers.","inputSchema":{"type":"object","properties":{"entry":{"type":"string","description":"The entry's name as it shows on the schedule, e.g. Open Gym (get_schedule lists them)"},"description":{"type":"string","description":"What visitors see when they tap or hover the entry, up to 400 characters; empty or left out = use the default (the matching class's text, or a general line for its type)"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["entry"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#set_schedule_entry_description"},{"name":"get_game_switch","title":"Is the 404 game on?","description":"Whether NinjaHQ Full Send, the obstacle-course game on the website's page-not-found page and at /full-send, is on (Website > Redirects).","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"site","url":"https://ninjahq.ai/developers/tools/site#get_game_switch"},{"name":"set_game_switch","title":"Turn the 404 game on or off","description":"Turn NinjaHQ Full Send, the game on the website's page-not-found page, on or off (owners only). Off: no game, no game card or podium on the page-not-found page, /full-send is a page not found, and the privacy page stops listing the game. Players' saved scores stay on the shared leaderboards.","inputSchema":{"type":"object","properties":{"on":{"type":"boolean","description":"true shows NinjaHQ Full Send on the page-not-found page and at /full-send; false turns it off (the page then shows only its message and the main pages)"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["on"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"site","url":"https://ninjahq.ai/developers/tools/site#set_game_switch"},{"name":"get_website_words","title":"The website's main words","description":"The tagline, the home page headline and the line under it, the description search engines show, and where Book a class / Sign up buttons go (Settings > Words and Contact).","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":true,"area":"site","url":"https://ninjahq.ai/developers/tools/site#get_website_words"},{"name":"update_website_words","title":"Change the website's main words","description":"Change the website's main words (owners only): tagline, headline, the line under it, the search description, and where the booking buttons go. Send only what changes. Where Website > Pages edits the home page, its words there win; this changes what new sections start with and what other pages use.","inputSchema":{"type":"object","properties":{"tagline":{"type":"string","description":"The small line above the headline, up to 80 characters"},"headline":{"type":"string","description":"The home page's big headline, up to 120 characters"},"line_under_headline":{"type":"string","description":"Up to 400 characters"},"search_description":{"type":"string","description":"What Google shows under the site's name, up to 300 characters (about 155 show)"},"booking_link":{"type":"string","description":"Where Book a class and Sign up go: a page of this site like /book or /memberships, or another booking website's address"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":true,"area":"site","url":"https://ninjahq.ai/developers/tools/site#update_website_words"},{"name":"get_site_footer","title":"The website's footer","description":"The bottom of every page: the Visit us band (small label, heading, an extra button, the message button's words, the hours heading and note) and the footer under it (the words under the logo, the two link columns' headings and links, the name in the copyright line). Each shows what it is now and what the site shows when it's empty.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":true,"area":"site","url":"https://ninjahq.ai/developers/tools/site#get_site_footer"},{"name":"update_site_footer","title":"Change the website's footer","description":"Change the bottom of every page (owners and managers): the Visit us band and the footer's words and link columns. Send only what changes; an empty value puts back what the site shows by itself. It's on every page at once, like Website > Pages > any page > Site Footer.","inputSchema":{"type":"object","properties":{"small_label":{"type":"string","description":"Above the Visit us heading, up to 40 characters"},"heading":{"type":"string","description":"The Visit us heading, up to 80 characters"},"extra_button":{"type":"object","properties":{"label":{"type":"string","description":"The extra button's words in the Visit us band; empty removes the button"},"href":{"type":"string","description":"Where the button goes: a path like /parties or an https:// link"}},"description":"One extra button first in the band, like { label: 'Book a Free Trial', href: '/free-trial' }; {} for none"},"message_button":{"type":"string","description":"The words on the button to the contact form, up to 30 characters"},"hours_heading":{"type":"string","description":"Up to 40 characters"},"hours_note":{"type":"string","description":"A line under the hours, up to 160 characters"},"words_under_logo":{"type":"string","description":"Up to 160 characters; empty shows the tagline"},"column_1_heading":{"type":"string","description":"The first link column's heading"},"column_1_links":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","description":"The link's words"},"href":{"type":"string","description":"Where it goes: a path like /camps or an https:// link"}}},"description":"Up to 12 links, each { label, href } (href starts with / or https://); [] lists the site's pages by itself"},"column_2_heading":{"type":"string","description":"The second link column's heading"},"column_2_links":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","description":"The link's words"},"href":{"type":"string","description":"Where it goes: a path like /camps or an https:// link"}}},"description":"Up to 12 links, each { label, href } (href starts with / or https://); [] lists none"},"copyright_name":{"type":"string","description":"The name after © and the year, up to 80 characters"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":true,"area":"site","url":"https://ninjahq.ai/developers/tools/site#update_site_footer"},{"name":"get_redirects","title":"Redirects from the old website","description":"Every redirect from an old website address to a page of this site (Website > Redirects), and the pages it can point to.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":true,"area":"seo","url":"https://ninjahq.ai/developers/tools/seo#get_redirects"},{"name":"add_redirect","title":"Add a redirect","description":"Send an old website address to a page of this site (owners only), so old links and Google results keep working after the switch. Adding one for an address that already has a redirect changes where it goes.","inputSchema":{"type":"object","properties":{"old_address":{"type":"string","description":"The old page's address: /about-us, about-us or www.oldsite.com/about-us"},"goes_to":{"type":"string","description":"A page of this site, like /about or /schedule"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["old_address","goes_to"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":true,"area":"seo","url":"https://ninjahq.ai/developers/tools/seo#add_redirect"},{"name":"remove_redirect","title":"Remove a redirect","description":"Delete a redirect (owners only). The old address then shows the page-not-found page. Needs the owner's yes and confirm: true.","inputSchema":{"type":"object","properties":{"old_address":{"type":"string","description":"The redirect's old address, e.g. /old-camp-page, from get_redirects"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"}},"required":["old_address"],"additionalProperties":false},"readOnly":false,"dryRun":false,"confirm":true,"developer":true,"area":"seo","url":"https://ninjahq.ai/developers/tools/seo#remove_redirect"},{"name":"get_private_lessons","title":"Private lessons","description":"The private lessons the gym sells (Schedule > Private lessons): each lesson type with its coach, length, price in dollars, how families book it (pick an open time, pay first and set the time later, or either), whether it's on sale and how many open times it has; and how many lessons are waiting for a time, coming up and waiting to be marked done. No families' names.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#get_private_lessons"},{"name":"add_private_lesson_type","title":"Add or change a private lesson type","description":"Add a private lesson type (owners and managers) or change one (give its id): the coach, length, price and how families book it. With how = times or either, add its open times next with add_private_lesson_times.","inputSchema":{"type":"object","properties":{"title":{"type":"string","description":"What families see, e.g. Private Lesson or Competition Prep"},"coach":{"type":"string","description":"A coach's name from the Coaches page, or leave out for any coach"},"minutes":{"type":"integer","description":"Length, 10 to 240"},"price":{"type":"number","description":"Dollars"},"how":{"type":"string","enum":["times","arrange","either"],"description":"times = families pick one of the gym's open times; arrange = families pay first and the gym calls to set the time; either = both"},"about":{"type":"string","description":"Optional: who it's for and what to expect"},"on_sale":{"type":"boolean","description":"false = saved but not on the website"},"id":{"type":"string","description":"To change one: its id from get_private_lessons"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["title"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#add_private_lesson_type"},{"name":"add_private_lesson_times","title":"Add open private lesson times","description":"Publish open times families can pick for a private lesson type (owners, managers, or the coach it belongs to). A time already there is skipped.","inputSchema":{"type":"object","properties":{"lesson_type_id":{"type":"string","description":"The id from get_private_lessons"},"first_date":{"type":"string","description":"YYYY-MM-DD, today or later"},"start_times":{"type":"array","items":{"type":"string"},"description":"Start times that day, e.g. [\"16:00\", \"4:30 pm\"]"},"weeks":{"type":"integer","description":"Repeat on the same weekday for this many weeks, 1 to 12 (default 1)"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["lesson_type_id","first_date","start_times"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#add_private_lesson_times"},{"name":"get_tips","title":"Tips & tricks","description":"NinjaHQ's tips and tricks for the signed-in person: short ideas for features of the back office they haven't tried yet (new features first), each with the screen it's on and, often, a request they can make of you. Also says whether they get a tip on their dashboard and by email. Use it when someone asks what else NinjaHQ can do, or for a tip.","inputSchema":{"type":"object","properties":{"all":{"type":"boolean","description":"true = every tip for this person, seen or not; false (default) = the next three they haven't seen"}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"help","url":"https://ninjahq.ai/developers/tools/help#get_tips"},{"name":"set_tips","title":"Tips & tricks: on, off or seen","description":"Changes the signed-in person's own tips: turn the dashboard tip or the weekly tip email on or off, mark tips as seen, or start over. Only ever their own settings.","inputSchema":{"type":"object","properties":{"dashboard_tip":{"type":"boolean","description":"show a tip on my dashboard"},"weekly_email":{"type":"boolean","description":"email me one tip a week (Thursdays)"},"seen":{"type":"array","items":{"type":"string"},"description":"tip ids to mark as seen (from get_tips)"},"start_over":{"type":"boolean","description":"show every tip again"}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":false,"confirm":false,"developer":false,"area":"help","url":"https://ninjahq.ai/developers/tools/help#set_tips"},{"name":"get_dropin_rates","title":"Drop-in prices","description":"What one visit costs without a membership: for each location (or the gym), the open gym price for each kind of visitor (standard, college, age 5 and under, spectators) and any class with its own drop-in price. Also says whether families can pay for a drop-in online.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#get_dropin_rates"},{"name":"set_dropin_rates","title":"Change drop-in prices","description":"Set what a drop-in costs at one location (owners): the open gym price for each kind of visitor and any class with its own drop-in price. Families then pick the gym, who is coming and the day on the drop-in page and pay online. Send only the list that changes; the other stays.","inputSchema":{"type":"object","properties":{"location":{"type":"string","description":"The location's name or key. Leave out for a gym with one location"},"open_gym":{"type":"array","items":{"type":"object","properties":{"who":{"type":"string","description":"The kind of visitor, e.g. Standard, College student, Age 5 and under, Spectators"},"price":{"type":"number","description":"Dollars for one visit; 0 = free (shown, not sold)"},"note":{"type":"string","description":"Optional, e.g. Show your student ID"}},"required":["who","price"],"additionalProperties":false},"description":"Replaces this location's open gym prices; the first is the usual price. An empty list removes them"},"classes":{"type":"array","items":{"type":"object","properties":{"class":{"type":"string","description":"The class as named on the schedule"},"price":{"type":"number","description":"Dollars for one class"},"shown_as":{"type":"string","description":"Optional: the name families see"}},"required":["class","price"],"additionalProperties":false},"description":"Replaces the classes with their own drop-in price at this location. An empty list removes them"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#set_dropin_rates"},{"name":"get_time_zones","title":"Time zones","description":"The website's time zone and, for a brand with several gyms, each location's own time zone and what time it is there now. A location's zone decides its today: which days can be booked, when a closure or special hours begin and end.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"help","url":"https://ninjahq.ai/developers/tools/help#get_time_zones"},{"name":"set_time_zone","title":"Change a time zone","description":"Set the time zone of one location of a brand with several gyms, or of the website itself (owners). A location in another zone than the website gets its own calendar day and clock for bookings, drop-in days, closures and special hours.","inputSchema":{"type":"object","properties":{"time_zone":{"type":"string","description":"An IANA zone such as America/Denver, or Eastern, Central, Mountain, Pacific, Arizona, Alaska, Hawaii. For a location, \"website\" makes it follow the website's zone again"},"location":{"type":"string","description":"The location's name or key. Leave out to change the website's own time zone (the only one for a gym with one location)"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["time_zone"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"help","url":"https://ninjahq.ai/developers/tools/help#set_time_zone"},{"name":"get_report_costs","title":"Report costs","description":"The costs the Cost and Profit report uses besides coach pay: fallback coach rate, payroll taxes %, space cost per hour, party supplies per guest and per party, cost per camper, cost per athlete, league fee per athlete and card fees %. Read the profit numbers with get_report_summary report=profit.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"reports","url":"https://ninjahq.ai/developers/tools/reports#get_report_costs"},{"name":"set_report_costs","title":"Change report costs","description":"Set the costs the Cost and Profit report uses (owners). Give only the ones to change, in dollars or percent. Coach pay itself comes from each person's pay rate in Staff time & pay.","inputSchema":{"type":"object","properties":{"rate":{"type":"number","description":"Coach Pay When No Rate Is Set (dollars per hour). Used for a coach with no pay rate under Staff time & pay."},"burdenPct":{"type":"number","description":"Payroll Taxes and Benefits (percent). Added on top of pay, for example 10%. Leave at 0 to count wages only."},"room":{"type":"number","description":"Space Cost per Hour (dollars per hour). Rent, utilities and insurance for a month, divided by the hours you are open in a month."},"partyGuest":{"type":"number","description":"Party Supplies per Guest (dollars). Wristbands, pizza, drinks: what one more guest costs."},"partyFlat":{"type":"number","description":"Other Cost per Party (dollars). Cake, decorations, cleaning: the same for every party."},"camper":{"type":"number","description":"Cost per Camper (dollars). Snacks, a T-shirt, supplies for each child booked."},"athlete":{"type":"number","description":"Cost per Competition Athlete (dollars). Medals, wristbands, judges' supplies for each athlete."},"league":{"type":"number","description":"League Fee per Athlete (dollars). What you pay the league (for example WNL) for each athlete."},"cardPct":{"type":"number","description":"Card Fees (percent). The share of each sale your card processor keeps. About 3% for Stripe."},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"reports","url":"https://ninjahq.ai/developers/tools/reports#set_report_costs"},{"name":"get_screen_widgets","title":"Today and Front desk screens","description":"What the back office's Today screen and the Front desk screen show, in order, and every widget that could be added (id, title, what it shows, where it goes). Use before set_screen_widgets.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"widgets","url":"https://ninjahq.ai/developers/tools/widgets#get_screen_widgets"},{"name":"set_screen_widgets","title":"Change the Today or Front desk screen","description":"Sets which widgets the Today or Front desk screen shows and in what order (full width, left or right column). Owners and managers only. Read get_screen_widgets first and send the whole list. Ask before saving.","inputSchema":{"type":"object","properties":{"screen":{"type":"string","enum":["today","desk"],"description":"today = the back office's first screen; desk = the Front desk screen"},"widgets":{"type":"array","maxItems":30,"items":{"type":"object","properties":{"id":{"type":"string","description":"The widget's id, from get_screen_widgets"},"size":{"type":"string","enum":["full","left","right"],"description":"full width, or the left or right column"}},"required":["id"],"additionalProperties":false},"description":"The whole screen in order, top to bottom (ids from get_screen_widgets). Widgets left out are taken off."},"start_over":{"type":"boolean","description":"true = put the screen back the way it came (widgets is ignored)"},"dry_run":{"type":"boolean","description":"true = show the result without saving"}},"required":["screen"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"widgets","url":"https://ninjahq.ai/developers/tools/widgets#set_screen_widgets"},{"name":"get_menu","title":"The website's menu","description":"Without handle: the menu across the top of the website as it is now, whether it is the gym's own or the standard one, and every page it can link to (available_pages). The menu is a list of items in order, left to right. Each item is either a page, { \"label\": \"Classes\", \"path\": \"/classes\" }, or a dropdown, { \"label\": \"About\", \"children\": [{ \"label\": \"Coaches\", \"path\": \"/coaches\" }, { \"label\": \"Contact\", \"path\": \"/contact\" }] }. A path starts with \"/\" and must be one of the site's pages (get_menu lists them as available_pages); a dropdown has no path of its own and holds 2 to 10 pages (one page becomes a plain item). At most 12 items; on phones the menu opens as a list, and 5 to 7 items read best on a computer's single row. Labels: up to 24 characters, short words families use. Draft pages and pages not on the list are refused. Example: [{\"label\":\"Classes\",\"path\":\"/classes\"},{\"label\":\"Schedule\",\"path\":\"/schedule\"},{\"label\":\"Parties\",\"path\":\"/parties\"},{\"label\":\"About\",\"children\":[{\"label\":\"Coaches\",\"path\":\"/coaches\"},{\"label\":\"Contact\",\"path\":\"/contact\"}]}] With handle: one menu in full (list_menus lists them; \"main\" and \"footer\" start from what the site shows now).","inputSchema":{"type":"object","properties":{"handle":{"type":"string","description":"A menu's handle from list_menus (main, footer, ...) for its full shape: dropdowns, mega menus, badges. Leave out for the header menu in the simple shape."}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":true,"area":"site","url":"https://ninjahq.ai/developers/tools/site#get_menu"},{"name":"list_menus","title":"Every menu on the website","description":"Every menu the gym has (Website > Menus): its handle, name, top-row words and where it shows (header, phone menu, footer, top bar), which places still use NinjaHQ's standard menu, and the menu style (how dropdowns open, drill down or collapsible on phones, mega menu width, animation).","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":true,"area":"site","url":"https://ninjahq.ai/developers/tools/site#list_menus"},{"name":"save_menu","title":"Create or change a menu","description":"Create a menu or replace one menu's items (owners and the web developer). Read it first with get_menu { handle } and send every item that should stay. An item: { \"label\": \"Classes\", \"href\": \"/classes\", \"newTab\"?: true, \"badge\"?: { \"text\": \"New\", \"tone\": \"new|hot|sale|info\" }, \"hide\"?: \"desktop|mobile\", \"icon\"?: \"none\" or an icon for the phone menu (top row only; left out = one that fits the item's name): home, classes, schedule, pricing, parties, camps, competitions, coaches, shop, gift, waiver, photos, contact, location, about, account, news, star, heart, clock, timer, ticket, medal, flag, podium, play, cake, tent, fitness, school, question, mail, cart, shirt, signup, sparkle, lock, map, jobs, family, \"children\"?: [items] (a dropdown list, 3 levels at most) OR \"mega\"?: { \"width\": \"container|full|auto\", \"align\": \"left|center|right\", \"cols\": [{ \"span\": 1-3, \"blocks\": [{ \"type\": \"links\", \"title\"?, \"links\": [{ \"label\", \"href\" }] } | { \"type\": \"heading\", \"text\" } | { \"type\": \"text\", \"text\", \"mobile\"?: false } | { \"type\": \"image\", \"src\" (from list_pictures), \"alt\", \"href\"?, \"caption\"? } | { \"type\": \"button\", \"label\", \"href\", \"style\": \"primary|outline\" }] }] } (only on the top row, up to 6 columns) }. Links: a page (/classes), another website (https://...), tel: or mailto:. Pictures come from the gym's own library (list_pictures). Use dry_run first for big changes. History can undo it.","inputSchema":{"type":"object","properties":{"handle":{"type":"string","description":"The menu to change (from list_menus), or main / footer / top-bar to make the site's own from what it shows now. Leave out to create a new menu."},"name":{"type":"string","description":"The menu's name, like Main menu or Footer"},"items":{"type":"array","description":"The whole menu, top row in order (see the description for an item's shape)","items":{"type":"object"}},"shows_in":{"type":"array","items":{"type":"string","enum":["header","mobile","footer","topbar"]},"description":"Where the menu shows: header (computers), mobile (the phone menu; without it phones use the header menu), footer (link columns), topbar (the thin bar above the header, 5 links). Leave out to keep where it shows now."},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["name","items"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":true,"area":"site","url":"https://ninjahq.ai/developers/tools/site#save_menu"},{"name":"set_menu_style","title":"Change how the menus open and look","description":"Change the menu style for the whole website (owners and the web developer). Send only what changes. History can undo it.","inputSchema":{"type":"object","properties":{"trigger":{"type":"string","enum":["hover","click"],"description":"Dropdowns open when the pointer is over them, or when clicked"},"align":{"type":"string","enum":["center","left","right"],"description":"Where the top row's items line up on computers"},"mobile":{"type":"string","enum":["accordion","drilldown"],"description":"On phones, dropdowns fold open under the item (accordion, collapsible) or slide in as their own screen with Back (drilldown)"},"side":{"type":"string","enum":["right","left","full"],"description":"The phone menu slides in from the right, the left, or fills the screen"},"width":{"type":"string","enum":["container","full","auto"],"description":"Mega menus as wide as the page content, the full screen, or only as wide as they need (a menu can set its own)"},"icons":{"type":"string","enum":["on","off"],"description":"An icon in a tile beside each item in the phone menu (on by default). One item's icon is set on the item with save_menu"},"iconColor":{"type":"string","enum":["brand","colors"],"description":"The icon tiles' color: brand = the website's own color (the default), colors = a different color for each icon"},"fill":{"type":"string","enum":["on","off"],"description":"Every top menu item opens a mega menu filled in from the site: Coaches shows the coaches, others a line about the page, a button and one of the gym's photos (on by default); a mega menu the owner built always wins"},"animation":{"type":"string","enum":["fade","slide","none"],"description":"How dropdowns appear (people who ask for less motion get none)"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":true,"area":"site","url":"https://ninjahq.ai/developers/tools/site#set_menu_style"},{"name":"set_header_layout","title":"Change the header's layout","description":"Change how the top of every page is laid out (owners and the web developer): the standard three bars, or one row like the gym's own website, and whether the sale banner sits above or below the header. Send only what changes. History can undo it.","inputSchema":{"type":"object","properties":{"layout":{"type":"string","enum":["standard","single"],"description":"standard: a top bar (schedule, phone), the logo bar, then the menu bar under it. single: one dark row on computers, the logo at the left, the menu beside it and the location and Sign In at the right, like many gyms' own websites (phones keep the menu button)."},"banner":{"type":"string","enum":["above","below"],"description":"Where the sale banner (Marketing > Promotions) shows: above the header, like many gyms' own announcement bars, or below it (the default). Send only to change it."},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":true,"area":"site","url":"https://ninjahq.ai/developers/tools/site#set_header_layout"},{"name":"set_footer_style","title":"Change how the footer looks","description":"Change how the footer at the bottom of every page looks (owners and the web developer), to match the gym's own website: the Visit us band, addresses under the locations, the copyright line's colour and lines under the headings. Send only what changes; History can undo it.","inputSchema":{"type":"object","properties":{"visit_band":{"type":"string","enum":["show","hide"],"description":"The Visit us band above the footer (hide it when the pages end with their own call to action)"},"addresses":{"type":"boolean","description":"Each location's street under its name in the footer (brands with several locations)"},"bottom_bar":{"type":"string","enum":["standard","accent"],"description":"The copyright line: standard (light) or in the website's accent colour"},"heading_lines":{"type":"boolean","description":"A short line in the accent colour under each footer column heading"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":true,"area":"site","url":"https://ninjahq.ai/developers/tools/site#set_footer_style"},{"name":"delete_menu","title":"Delete a menu","description":"Delete one menu (owners and the web developer). Wherever it showed, the website goes back to NinjaHQ's standard menu. Ask first; History can undo it.","inputSchema":{"type":"object","properties":{"handle":{"type":"string","description":"The menu's handle from list_menus"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["handle"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":true,"area":"site","url":"https://ninjahq.ai/developers/tools/site#delete_menu"},{"name":"set_menu","title":"Change the website's menu","description":"Replace the website's whole menu (owners and the web developer). Call get_menu first and send every item that should stay. The menu is a list of items in order, left to right. Each item is either a page, { \"label\": \"Classes\", \"path\": \"/classes\" }, or a dropdown, { \"label\": \"About\", \"children\": [{ \"label\": \"Coaches\", \"path\": \"/coaches\" }, { \"label\": \"Contact\", \"path\": \"/contact\" }] }. A path starts with \"/\" and must be one of the site's pages (get_menu lists them as available_pages); a dropdown has no path of its own and holds 2 to 10 pages (one page becomes a plain item). At most 12 items; on phones the menu opens as a list, and 5 to 7 items read best on a computer's single row. Labels: up to 24 characters, short words families use. Draft pages and pages not on the list are refused. Example: [{\"label\":\"Classes\",\"path\":\"/classes\"},{\"label\":\"Schedule\",\"path\":\"/schedule\"},{\"label\":\"Parties\",\"path\":\"/parties\"},{\"label\":\"About\",\"children\":[{\"label\":\"Coaches\",\"path\":\"/coaches\"},{\"label\":\"Contact\",\"path\":\"/contact\"}]}] The menu keeps page and team entries in step with the site afterwards, like the back office's Website > Menu.","inputSchema":{"type":"object","properties":{"items":{"type":"array","description":"The whole new menu, in order (see the description for the shape)","items":{"type":"object","properties":{"label":{"type":"string","description":"The menu's words for the item"},"path":{"type":"string","description":"The page it opens, e.g. /classes; leave out for a heading that only opens its children"},"children":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"path":{"type":"string"}}},"description":"A drop-down under this item: [{ label, path }]"}}}},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["items"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":true,"area":"site","url":"https://ninjahq.ai/developers/tools/site#set_menu"},{"name":"reset_menu","title":"Go back to the standard menu","description":"Drop the gym's own menu and go back to the standard one (the usual pages, plus Teams and the extra pages by themselves). Owners and the web developer. Ask first; History can undo it.","inputSchema":{"type":"object","properties":{"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":true,"area":"site","url":"https://ninjahq.ai/developers/tools/site#reset_menu"},{"name":"set_logo","title":"Change the logo","description":"Change the logo at the top of every page and in emails (owners and the web developer), or with on_dark: true the version for dark backgrounds (without one, the footer shows the logo in white). A PNG with a see-through background looks best, at least 300 pixels wide; SVG isn't accepted, so export a PNG. Only use a picture the gym owns or has the right to use (its own photos and logo, or ones it licensed); never one copied from someone else's website. The current logo is in get_overview.","inputSchema":{"type":"object","properties":{"image":{"type":"object","description":"A picture attached in this chat (ChatGPT hands it over as a file).","properties":{"download_url":{"type":"string","description":"The attached file's download link, as the chat app hands it over"},"file_id":{"type":"string","description":"The attached file's id in the chat app"},"mime_type":{"type":"string","description":"The file's type, e.g. image/jpeg or image/png"},"file_name":{"type":"string","description":"The file's name as the owner attached it"}},"required":["download_url","file_id"]},"image_url":{"type":"string","description":"Instead of image: an https link straight to the logo file (PNG, WebP or JPEG)"},"image_base64":{"type":"string","description":"Instead of image: the PNG, WebP or JPEG file, base64-encoded (a data: URL is fine)"},"on_dark":{"type":"boolean","description":"true = this is the light or white version for dark backgrounds (the footer); the main logo stays"},"also_on_dark":{"type":"boolean","description":"true = the main logo also works on dark backgrounds as it is"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":true,"area":"site","url":"https://ninjahq.ai/developers/tools/site#set_logo"},{"name":"set_favicon","title":"Change the browser-tab icon","description":"Change the small icon in the browser tab and on phones' home screens (owners and the web developer). Square works best (at least 192 × 192); a wide picture is fitted into a square with see-through edges. Only use a picture the gym owns or has the right to use (its own photos and logo, or ones it licensed); never one copied from someone else's website.","inputSchema":{"type":"object","properties":{"image":{"type":"object","description":"A picture attached in this chat (ChatGPT hands it over as a file).","properties":{"download_url":{"type":"string","description":"The attached file's download link, as the chat app hands it over"},"file_id":{"type":"string","description":"The attached file's id in the chat app"},"mime_type":{"type":"string","description":"The file's type, e.g. image/jpeg or image/png"},"file_name":{"type":"string","description":"The file's name as the owner attached it"}},"required":["download_url","file_id"]},"image_url":{"type":"string","description":"Instead of image: an https link straight to the icon file"},"image_base64":{"type":"string","description":"Instead of image: the PNG, WebP or JPEG file, base64-encoded"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":true,"area":"site","url":"https://ninjahq.ai/developers/tools/site#set_favicon"},{"name":"import_photo_from_url","title":"Add photos from links","description":"Add pictures from https links when they can't be attached in the chat: the website downloads each one (public web addresses only, 10 seconds and 4 MB at most, it must be an image) and prepares it exactly like upload_photo (straightened, color-corrected, resized, camera and location data removed, duplicates found). Up to 20 links in one call with urls; each gets its own result. Only use a picture the gym owns or has the right to use (its own photos and logo, or ones it licensed); never one copied from someone else's website. Owners and the web developer.","inputSchema":{"type":"object","properties":{"url":{"type":"string","description":"One https link straight to a picture file"},"urls":{"type":"array","description":"Instead of url: up to 20 links, each a string or { url, description }","items":{"type":"object","properties":{"url":{"type":"string","description":"The picture's https:// address"},"description":{"type":"string","description":"One plain sentence about what the photo shows, for screen readers"}}}},"purpose":{"type":"string","enum":["gallery","coach_action","coach_headshot","team","home_hero","classes_page","pricing_page","competitions_page","party_room","event_flyer","avatar","page","logo","logo_on_dark","favicon"],"description":"Where they go, as for upload_photo (default gallery); logo, logo_on_dark and favicon set the site's logo or icon (one link)"},"coach":{"type":"string","description":"The coach's name, for coach_headshot and coach_action"},"event":{"type":"string","description":"The special event's title, for event_flyer"},"description":{"type":"string","description":"One plain sentence about what the photo shows, when you know (one link). Without one the photo gets a placeholder; then look at it with photos_to_describe and save a description with update_photo."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":false,"confirm":false,"developer":true,"area":"photos","url":"https://ninjahq.ai/developers/tools/photos#import_photo_from_url"},{"name":"unpublish_page","title":"Take a page off the website","description":"Take a published Page Builder page off the website (owners and managers), the same as Take Down in Website > Pages. The draft and every version are kept, so publish_page puts it back. A built-in page (Classes, Pricing...) taken down shows the site's own version of that page again. Needs the owner's yes and confirm: true.","inputSchema":{"type":"object","properties":{"page":{"type":"string","description":"The page's address (like /winter-camp) or its id from list_pages"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["page"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":true,"area":"pages","url":"https://ninjahq.ai/developers/tools/pages#unpublish_page"},{"name":"set_site_personality","title":"Start the design from a personality","description":"Start the website's draft design from one of the ready-made personalities (owners and managers), the same as Website > Pages > Design > Start From a Personality: colors, corners, buttons and cards change; the site's fonts, its own CSS and NinjaHQ's part stay. Only the draft changes: check a preview, then publish_design puts it live after the owner says yes. get_design_system lists the personalities.","inputSchema":{"type":"object","properties":{"personality":{"type":"string","description":"A personality's key or name from get_design_system (personalities)"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["personality"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":true,"area":"pages","url":"https://ninjahq.ai/developers/tools/pages#set_site_personality"},{"name":"scan_old_website","title":"Find the old website's pages","description":"Read the gym's old website (its sitemap and links) and add a redirect for each old page to the best matching page of this site (owners only), the same as Website > Redirects > Find my pages. Addresses that already have a redirect keep the page the owner chose. Takes up to a minute. Then get_redirects shows them; rematch_redirects, confirm_redirects or add_redirect fix any.","inputSchema":{"type":"object","properties":{"old_website":{"type":"string","description":"The gym's current (old) website address, like www.yourgym.com"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["old_website"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"seo","url":"https://ninjahq.ai/developers/tools/seo#scan_old_website"},{"name":"rematch_redirects","title":"Match the scanned redirects again","description":"Suggest the best page again for every redirect the scan made that the owner hasn't chosen by hand (owners only), the same as Match again on Website > Redirects. Useful after adding pages. Redirects the owner set stay.","inputSchema":{"type":"object","properties":{"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"seo","url":"https://ninjahq.ai/developers/tools/seo#rematch_redirects"},{"name":"confirm_redirects","title":"Confirm every matched redirect","description":"Mark every redirect the scan matched (and the owner hasn't looked at) as checked (owners only), the same as Confirm all on Website > Redirects. Ones with no match or marked (check) are left for the owner to choose.","inputSchema":{"type":"object","properties":{"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"seo","url":"https://ninjahq.ai/developers/tools/seo#confirm_redirects"},{"name":"clear_scanned_redirects","title":"Delete the scanned redirects","description":"Delete every redirect the old-website scan made (owners only), the same as the Delete button on Website > Redirects. Redirects the owner added by hand stay. Those old addresses then show the page-not-found page until scanned again. Needs the owner's yes and confirm: true.","inputSchema":{"type":"object","properties":{"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"seo","url":"https://ninjahq.ai/developers/tools/seo#clear_scanned_redirects"},{"name":"get_missing_addresses","title":"Addresses people asked for that don't exist","description":"The addresses on the gym's website that visitors (not search robots) asked for and got the page-not-found page, busiest first, with how many visits, when last, which website linked there and the page suggested for it (Website > Redirects). add_redirect sends one to a page; ignore_missing_address takes it off the list.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"seo","url":"https://ninjahq.ai/developers/tools/seo#get_missing_addresses"},{"name":"ignore_missing_address","title":"Ignore an address that doesn't exist","description":"Take an address visitors asked for off the list of missing pages without a redirect (owners only), the same as the ✕ on Website > Redirects. Visitors still see the page-not-found page there.","inputSchema":{"type":"object","properties":{"address":{"type":"string","description":"The address from get_missing_addresses, like /old-page"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["address"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"seo","url":"https://ninjahq.ai/developers/tools/seo#ignore_missing_address"},{"name":"get_search_tracking","title":"Searches tracked on Google and AI","description":"What Marketing > Local search checks (owners only): the searches tracked on Google and Google Maps, the map grid, the questions asked of ChatGPT, Gemini and Claude, whether it checks every month by itself, ideas found for searches to track, the last checks, and when the pages were last optimized. get_search_dashboard shows how the gym ranks.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"seo","url":"https://ninjahq.ai/developers/tools/seo#get_search_tracking"},{"name":"set_search_tracking","title":"Change the tracked searches","description":"Change what Marketing > Local search checks (owners only): the searches tracked, the map grid, the AI questions and whether it checks every month by itself. Send only what changes; the rest stays. The next check uses them (run_search_check, or the monthly one).","inputSchema":{"type":"object","properties":{"searches":{"type":"array","items":{"type":"string"},"description":"The whole list of searches to track (replaces it), up to 25, like ninja gym near me"},"add_searches":{"type":"array","items":{"type":"string"},"description":"Searches to start tracking, e.g. ninja gym near me"},"remove_searches":{"type":"array","items":{"type":"string"},"description":"Tracked searches to stop tracking"},"map_grid":{"type":"integer","enum":[3,5,7],"description":"Spots each way around the gym the map is checked from"},"miles_apart":{"type":"number","description":"0.5 to 5"},"every_month_by_itself":{"type":"boolean","description":"true runs the check by itself every month"},"ask_ai_assistants":{"type":"boolean","description":"Also ask ChatGPT, Gemini and Claude the questions"},"ai_questions":{"type":"array","items":{"type":"string"},"description":"The questions to ask the AI assistants, the way families talk (10 to 300 characters each); an empty list goes back to the usual ones"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"seo","url":"https://ninjahq.ai/developers/tools/seo#set_search_tracking"},{"name":"run_search_check","title":"Check where the gym shows up now","description":"Start a check now of where the gym shows up on Google, Google Maps (from every spot of the map grid) and in the AI assistants' answers for the tracked searches (owners only), the same as Check where I show up now on Marketing > Local search. Once a day; the results arrive within a few minutes (get_search_dashboard).","inputSchema":{"type":"object","properties":{"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"seo","url":"https://ninjahq.ai/developers/tools/seo#run_search_check"},{"name":"optimize_website_for_search","title":"Optimize the website for search","description":"Rewrite each page's Google title and description from the searches families make, and the FAQ answers from the gym's own facts (owners only), the same as Optimize my website now on Marketing > Local search. Questions it can't answer truthfully go to the owner's Questions page. It reads Google first: about 30 seconds, and at most 3 runs a day through the assistant (dry_run counts too). dry_run shows the new titles without saving; every change is in History.","inputSchema":{"type":"object","properties":{"keep_optimized":{"type":"boolean","description":"true = redo it by itself after every monthly check (default: as it is now)"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"seo","url":"https://ninjahq.ai/developers/tools/seo#optimize_website_for_search"},{"name":"take_search_baseline","title":"Take the before snapshot","description":"Before the new website goes live, take the before snapshot of where the gym shows up on Google, Maps and the AI assistants, so the gym can see what changed after launch (owners only), the same as Take your before snapshot on Marketing > Search vs competitors. Results arrive within a few minutes. Only once, and only before launch.","inputSchema":{"type":"object","properties":{"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"seo","url":"https://ninjahq.ai/developers/tools/seo#take_search_baseline"},{"name":"get_ab_tests","title":"A/B tests","description":"The website's A/B tests (Marketing > Website traffic > A/B tests): what can be tested (the home page headline and the line under it), the wording on the site now, the new wording being tried, and the results: visits that saw each and how many went on to book or buy, with a verdict once each has 100 visits.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"seo","url":"https://ninjahq.ai/developers/tools/seo#get_ab_tests"},{"name":"start_ab_test","title":"Start an A/B test","description":"Start an A/B test (owners only): half of the visitors see the new wording on the home page, the other half the current one, and get_ab_tests shows which leads to more bookings. Starting again replaces a test of the same thing. stop_ab_test ends it.","inputSchema":{"type":"object","properties":{"what":{"type":"string","enum":["home_headline","home_sub"],"description":"home_headline = the home page's headline; home_sub = the line under it"},"new_wording":{"type":"string","description":"The new words that half of the visitors see"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["what","new_wording"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"seo","url":"https://ninjahq.ai/developers/tools/seo#start_ab_test"},{"name":"stop_ab_test","title":"Stop an A/B test","description":"End a running A/B test (owners only): keep the current wording, or make the new wording the site's own for everyone. Look at get_ab_tests first. Needs the owner's yes and confirm: true.","inputSchema":{"type":"object","properties":{"what":{"type":"string","enum":["home_headline","home_sub"],"description":"Which test to end: the home page's headline or the line under it"},"keep":{"type":"string","enum":["current","new"],"description":"current = everyone sees the wording the site had (default); new = the new wording becomes the site's wording for everyone"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["what"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"seo","url":"https://ninjahq.ai/developers/tools/seo#stop_ab_test"},{"name":"get_success_story","title":"The gym's success story","description":"The gym's success story on Insights > Growth (owners only): the measured gains since the gym moved to NinjaHQ (what NinjaHQ would share), the owner's own words and name, and whether NinjaHQ may share it on ninjahq.ai and in its sales materials.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"site","url":"https://ninjahq.ai/developers/tools/site#get_success_story"},{"name":"set_success_story","title":"Write or share the success story","description":"Save the owner's words for the success story on Insights > Growth, or say whether NinjaHQ may share it (owners only). Write only the owner's own words, never invent a quote. Changing whether it is shared needs the owner's own yes and confirm: true.","inputSchema":{"type":"object","properties":{"in_your_words":{"type":"string","description":"What changed for the gym, in the owner's own words (up to 600 characters); \"\" removes it"},"name_and_title":{"type":"string","description":"Like Jordan Brooks, Owner"},"ninjahq_may_share":{"type":"boolean","description":"true = NinjaHQ may share the gym's name, the measured gains and these words on ninjahq.ai and in its sales materials; false = stop sharing"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"site","url":"https://ninjahq.ai/developers/tools/site#set_success_story"},{"name":"get_review_settings","title":"Google review requests after parties","description":"How the gym asks families for a Google review after a party (Events > Reviews and party photos): whether it asks, how many hours after the party it goes by itself, how many times at most and the days between, whether owners and hosts are reminded to upload photos, whether the newest Google reviews show on the website, and the review link. No families' details.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"seo","url":"https://ninjahq.ai/developers/tools/seo#get_review_settings"},{"name":"set_review_settings","title":"Change the review request settings","description":"Change how the gym asks families for a Google review after a party (owners and managers), as on Events > Reviews and party photos. Send only what changes. Switching something off needs the owner's yes and confirm: true. Switching review requests on is left to the back office, because it starts emails to families.","inputSchema":{"type":"object","properties":{"ask_for_reviews":{"type":"boolean","description":"false = stop asking families for a Google review after parties (they still get the thank-you and photos). Switching it back on is done in the back office."},"send_after_hours":{"type":"integer","enum":[12,24,48,72],"description":"How many hours after the party the review request goes out"},"ask_at_most":{"type":"integer","enum":[1,2,3],"description":"1 = once, 2 = one reminder, 3 = two reminders"},"reminder_days":{"type":"integer","enum":[3,4,5,7],"description":"Days between the request and each reminder (how many go out: ask_at_most)"},"photo_reminders":{"type":"boolean","description":"Remind the owners and the party's host to upload photos after each party"},"show_on_website":{"type":"boolean","description":"Show the newest Google reviews on the home and parties pages"},"google_review_link":{"type":"string","description":"The review link Google gives (https://g.page/r/... or https://search.google.com/...), until Google is connected"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"seo","url":"https://ninjahq.ai/developers/tools/seo#set_review_settings"},{"name":"sync_from_google","title":"Read Google reviews and Search Console now","description":"Read the newest from Google now instead of waiting for the nightly update (owners only): the Google Business Profile's reviews (Marketing > Google, Read reviews now) and Search Console's searches and clicks (Search vs competitors, Update now). It only reads from Google into the gym's own numbers. Google has to be connected in the back office first.","inputSchema":{"type":"object","properties":{"what":{"type":"string","enum":["reviews","search_console","both"],"description":"reviews = the Google Business Profile's reviews; search_console = Google searches and clicks; both (default)"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"seo","url":"https://ninjahq.ai/developers/tools/seo#sync_from_google"},{"name":"get_website_review","title":"Website review: everything Analytics measured","description":"Everything the website's analytics measured in one call, to recommend what to change on the website: visits, visitors and key actions against the period before, the ranked What to improve list, funnels toward bookings (with the period before), menu use, pages people leave at once, heatmap summaries per page and screen size, forms, speed, problem pages, missing pages, videos, A/B tests, and a playbook of which tool makes each kind of change. Start here for 'how is my website doing' or 'what should I change'; drill in with get_page_report, get_page_heatmap, get_form_insights, get_website_problems and get_website_audience. Totals only: no visitor is identifiable.","inputSchema":{"type":"object","properties":{"days":{"type":"integer","description":"How many days to look at, 7 to 90 (default 28)"}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":true,"area":"insights","url":"https://ninjahq.ai/developers/tools/insights#get_website_review"},{"name":"get_page_report","title":"One page in depth","description":"Everything about one page of the website: views (and the period before), visits, time on page, visits that started or ended there, scroll depth, how many views reached each section and for how long, taps per screen size and what was tapped, people who left within 7 seconds and where they came from, speed, frustration taps and errors, forms on the page, and the What to improve tips for it. Use it to suggest what to move, shorten, reword or add on that page. Totals only.","inputSchema":{"type":"object","properties":{"page":{"type":"string","description":"A page path, e.g. / or /parties or /classes/ninja-kids (default: the home page)"},"days":{"type":"integer","description":"How many days to look at, 7 to 90 (default 28)"}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":true,"area":"insights","url":"https://ninjahq.ai/developers/tools/insights#get_page_report"},{"name":"get_page_heatmap","title":"Page heatmap with tap spots","description":"The full heatmap of one page on one screen size (Marketing > Website traffic > Heatmap): taps by part of the page, every element tapped with taps per 100 views and the spots inside it where people tapped, and which pages and screen sizes have taps. Use it to see whether people find the booking buttons, tap things that aren't links, or ignore whole parts of a page. Never a recording of anyone's screen.","inputSchema":{"type":"object","properties":{"page":{"type":"string","description":"A page path, e.g. / or /parties or /classes/ninja-kids (default: the home page)"},"screen":{"type":"string","enum":["phone","tablet","desktop"],"description":"Screen size (default phone)"},"days":{"type":"integer","description":"How many days to look at, 7 to 90 (default 28)"}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":true,"area":"insights","url":"https://ninjahq.ai/developers/tools/insights#get_page_heatmap"},{"name":"get_form_insights","title":"Forms field by field","description":"Every form on the website (contact, party request, sign-ups, waivers, registrations): started, sent and the percent sent against the period before, and per field how many touched and filled it, errors, average seconds, how many left at that field and how many changed it again, with the module's advice. Field names only, never what anyone typed.","inputSchema":{"type":"object","properties":{"days":{"type":"integer","description":"How many days to look at, 7 to 90 (default 28)"}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":true,"area":"insights","url":"https://ninjahq.ai/developers/tools/insights#get_form_insights"},{"name":"get_website_problems","title":"Website problems and speed","description":"What goes wrong for visitors: taps that do nothing, taps again and again, taps followed by an error (page and element), script errors, real-visitor speed overall, per page and per kind of page (main content, tap response, layout jumps, with the slow element and likely cause), and missing pages people asked for with their visit counts. Says which ones NinjaHQ fixes (code) and which the owner can (redirects, words, buttons).","inputSchema":{"type":"object","properties":{"days":{"type":"integer","description":"How many days to look at, 7 to 90 (default 28)"}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":true,"area":"insights","url":"https://ninjahq.ai/developers/tools/insights#get_website_problems"},{"name":"get_website_audience","title":"Who visits and when","description":"Who visits the website and when: visits by weekday and hour in the gym's time zone with the busiest hours, phones vs tablets vs computers, browsers (including the Instagram and Facebook apps), systems, languages, countries, states, cities (approximate), channels, sources, tagged links and landing pages, each with the percent of visits that took a key action (booked, called, signed up). Counts only, no visitor identifiable.","inputSchema":{"type":"object","properties":{"days":{"type":"integer","description":"How many days to look at, 7 to 90 (default 28)"}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":true,"area":"insights","url":"https://ninjahq.ai/developers/tools/insights#get_website_audience"},{"name":"get_shop_settings","title":"Shop settings","description":"The website shop's settings: whether the Shop page is on, gear offered at competition registration and its discount, pickup at the gym and its note, shipping and its price, free shipping over an amount, the order number prefix, and which shipping update emails customers get. Settings only: never orders or buyers.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"shop","url":"https://ninjahq.ai/developers/tools/shop#get_shop_settings"},{"name":"update_shop_settings","title":"Change the shop settings","description":"Change the website shop's settings (owners and managers): the Shop page on or off, gear at competition registration and its discount, pickup and its note, shipping and its price, free shipping over an amount, the order number prefix, and the automatic shipping update emails. Send only what changes. Switching the Shop page, gear at registration, pickup, shipping or a shipping email off needs confirm: true after the owner says yes. At least one of pickup or shipping stays on.","inputSchema":{"type":"object","properties":{"shop_page_on_website":{"type":"boolean","description":"true shows the Shop page on the website"},"gear_offered_at_competition_registration":{"type":"boolean","description":"true offers gear while families register for a competition"},"registration_discount_per_item":{"type":"number","description":"Dollars off each product bought with a competition registration; 0 = none"},"pickup_at_the_gym":{"type":"boolean","description":"true lets customers pick orders up at the gym"},"pickup_note":{"type":"string","description":"Shown at checkout and in the receipt, e.g. At the front desk (up to 160 characters)"},"shipping":{"type":"boolean","description":"Orders can be shipped (US addresses)"},"shipping_price_per_order":{"type":"number","description":"Dollars"},"free_shipping_over":{"type":"number","description":"Dollars; 0 = no free shipping"},"order_number_prefix":{"type":"string","description":"Up to 8 letters or digits, e.g. WNA; empty for none"},"out_for_delivery_email":{"type":"boolean","description":"true emails the customer when an order is out for delivery"},"delivered_email":{"type":"boolean","description":"true emails the customer when an order is delivered"},"delivery_problem_email":{"type":"boolean","description":"true emails the customer when a delivery has a problem"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"shop","url":"https://ninjahq.ai/developers/tools/shop#update_shop_settings"},{"name":"get_vendors","title":"Vendors","description":"The vendors whose products the gym sells for them (Money > Vendors; owners only): each vendor's name, the email their monthly statement goes to, their share of each sale, the card fee they carry, and which products they own. Not sales, amounts owed or payouts.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"shop","url":"https://ninjahq.ai/developers/tools/shop#get_vendors"},{"name":"save_vendor","title":"Add or change a vendor","description":"Add a vendor, or change one's name, statement email, share of each sale or card fee (owners only; Money > Vendors). Ask the owner for the share and the fee; never guess them. A changed share applies to sales from now on. This never pays anyone: payouts are marked in the back office.","inputSchema":{"type":"object","properties":{"vendor":{"type":"string","description":"The vendor's name (an existing one to change it, or a new one to add it)"},"new_name":{"type":"string","description":"The vendor's new name"},"statement_email":{"type":"string","description":"Where their monthly statement is emailed (on the 1st, copied to the owners); empty for none"},"their_share_percent":{"type":"number","description":"Their share of each sale: 100 = all of it, 80 = the gym keeps 20%"},"card_fee_they_carry_percent":{"type":"number","description":"0 to 20; taken off card sales only; 0 = the gym absorbs card fees"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["vendor"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"shop","url":"https://ninjahq.ai/developers/tools/shop#save_vendor"},{"name":"get_product_photos","title":"A product's photos","description":"One product's photos in order (photo 1 is the main one shown in the shop), each with its description and a link to see it, and whether the product page shows a size guide. Use the photo numbers with set_product_main_photo or remove_product_photo.","inputSchema":{"type":"object","properties":{"product":{"type":"string","description":"The product's name"}},"required":["product"],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"shop","url":"https://ninjahq.ai/developers/tools/shop#get_product_photos"},{"name":"set_product_main_photo","title":"Choose a product's main photo","description":"Make one of a product's photos the main one: it shows first in the shop and on the product page (owners and managers). The other photos keep their order.","inputSchema":{"type":"object","properties":{"product":{"type":"string","description":"The product's id or exact name, from get_products"},"photo":{"type":"integer","description":"The photo's number from get_product_photos"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["product","photo"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"shop","url":"https://ninjahq.ai/developers/tools/shop#set_product_main_photo"},{"name":"remove_product_photo","title":"Remove a product photo","description":"Take one photo off a product (owners and managers). Show the owner which photo it is (its see_it link) and ask; then send confirm: true. The picture stays in the gym's photo library.","inputSchema":{"type":"object","properties":{"product":{"type":"string","description":"The product's id or exact name, from get_products"},"photo":{"type":"integer","description":"The photo's number from get_product_photos"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["product","photo"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"shop","url":"https://ninjahq.ai/developers/tools/shop#remove_product_photo"},{"name":"remove_size_guide","title":"Take a product's size guide off","description":"Take the size guide (how to measure and each size's measurements) off a product's page (owners and managers). NinjaHQ can add it again later; it can't be added from here. Ask the owner, then send confirm: true.","inputSchema":{"type":"object","properties":{"product":{"type":"string","description":"The product's id or exact name, from get_products"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["product"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"shop","url":"https://ninjahq.ai/developers/tools/shop#remove_size_guide"},{"name":"get_waiver_templates","title":"The waivers families sign","description":"The gym's waivers (People > Waivers > Waivers & settings): each one's name, whether it is live (families can sign it) or a draft, its version, how many have signed it and its languages. With waiver: that waiver's full text (introduction and sections), questions, who signs, ages, how long it is valid, video and other settings, and its Spanish or French translation. The template only: never signed waivers or who signed.","inputSchema":{"type":"object","properties":{"waiver":{"type":"string","description":"Optional: one waiver's name, to get its full text, questions and settings"}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"waivers","url":"https://ninjahq.ai/developers/tools/waivers#get_waiver_templates"},{"name":"add_waiver_template","title":"Add another waiver","description":"Add another waiver, for example one for camps, parties or competitions (owners and managers). It starts as a DRAFT that families can't sign, copied from the sample waiver or from one of the gym's waivers. Change its text with update_waiver_template, then the owner reviews it (with their attorney) and publishes it with set_waiver_live.","inputSchema":{"type":"object","properties":{"title":{"type":"string","description":"e.g. Summer camp waiver (up to 120 characters)"},"start_from":{"type":"string","description":"The name of an existing waiver to copy; empty = NinjaHQ's sample waiver"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["title"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"waivers","url":"https://ninjahq.ai/developers/tools/waivers#add_waiver_template"},{"name":"update_waiver_template","title":"Change a waiver's text or settings","description":"Change a waiver template: its title, introduction, sections of legal text, extra questions, who signs, ages, how long it is valid, the safety video and the other settings (owners and managers). This is the LEGAL TEXT families sign: never write or reword it on your own initiative; use the owner's words. Always call with dry_run: true first, show the owner the exact new wording (new_wording) word for word, and get a clear yes. On a live waiver the save becomes a new version that every family signs from then on (waivers already signed keep their version), so it needs confirm: true. Remind the owner to have their attorney review legal changes. Send only what changes.","inputSchema":{"type":"object","properties":{"waiver":{"type":"string","description":"The waiver's current name"},"new_title":{"type":"string","description":"The waiver's new title"},"introduction":{"type":"string","description":"The words above the waiver's sections. A blank line starts a new paragraph."},"sections":{"type":"array","items":{"type":"object","properties":{"heading":{"type":"string","description":"The section's heading"},"text":{"type":"string","description":"The section's words. A blank line starts a new paragraph; lines starting with \"- \" become a list."},"initials_required":{"type":"boolean","description":"true = each signer initials this section"}},"required":["heading","text"],"additionalProperties":false},"description":"The whole list of sections in order; replaces them all. Usually use section_changes or add_sections instead"},"section_changes":{"type":"array","items":{"type":"object","properties":{"section":{"type":"string","description":"The section's current heading"},"heading":{"type":"string","description":"The heading of the section to change (as it is now)"},"text":{"type":"string","description":"The section's new words"},"initials_required":{"type":"boolean","description":"true = each signer initials this section"},"remove":{"type":"boolean","description":"true removes this section"}},"required":["section"],"additionalProperties":false},"description":"Change or remove single sections"},"add_sections":{"type":"array","items":{"type":"object","properties":{"heading":{"type":"string","description":"The new section's heading"},"text":{"type":"string","description":"The section's words. A blank line starts a new paragraph; lines starting with \"- \" become a list."},"initials_required":{"type":"boolean","description":"true = each signer initials this section"}},"required":["heading","text"],"additionalProperties":false},"description":"New sections added at the end"},"questions":{"type":"array","items":{"type":"object","properties":{"question":{"type":"string","description":"The question as signers see it"},"answer_type":{"type":"string","enum":["short_answer","long_answer","choose_one","yes_no","checkbox","date"],"description":"How it is answered"},"asked":{"type":"string","enum":["once","each_person"],"description":"Once per waiver, or once for each person signed for"},"required":{"type":"boolean","description":"true = it must be answered"},"choices":{"type":"array","items":{"type":"string"},"description":"For choose_one"},"flag_answer":{"type":"string","description":"Staff are alerted when someone gives this answer, e.g. yes"},"ask_details_on_yes":{"type":"boolean","description":"For a yes/no question: a yes asks for details"}},"required":["question"],"additionalProperties":false},"description":"The whole list of extra questions in order; replaces them all ([] = none)"},"who_signs":{"type":"string","enum":["adults_and_children","adults_only","children_only"],"description":"Who the waiver is for"},"adult_age":{"type":"integer","description":"18 to 21; younger participants need a parent or guardian to sign"},"minimum_age":{"type":"integer","description":"0 = none"},"children_per_waiver":{"type":"integer","description":"1 to 12"},"valid_for_months":{"type":"integer","description":"1 to 12"},"safety_video":{"type":"string","description":"A YouTube link; empty for none"},"video_must_be_watched":{"type":"boolean","description":"true = the safety video must be watched before signing"},"emergency_contact":{"type":"boolean","description":"Ask for an emergency contact"},"phone_required":{"type":"boolean","description":"true = signers must give a mobile phone"},"email_gym_on_flagged_answer":{"type":"boolean","description":"true emails the gym when a signer gives a question's flagged answer"},"signers_confirm_email":{"type":"boolean","description":"true = signers confirm their email address before signing"},"kiosk_photo_of_signer":{"type":"boolean","description":"true takes a photo of the signer on the front desk kiosk"},"marketing_checkbox":{"type":"string","description":"The words of an optional, always unticked news checkbox; empty for none"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["waiver"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"waivers","url":"https://ninjahq.ai/developers/tools/waivers#update_waiver_template"},{"name":"set_waiver_translation","title":"Translate a waiver","description":"Add or change a waiver's Spanish or French text, or switch a language off (owners and managers). The form's own words (buttons, labels, emails) are already translated; this is the waiver's legal text. Use a translation the owner gives or approves: always call with dry_run: true first, show the owner the exact wording, and get a clear yes. On a live waiver the save becomes a new version families sign, so it needs confirm: true; switching a language off also needs confirm: true. Send only what changes.","inputSchema":{"type":"object","properties":{"waiver":{"type":"string","description":"The waiver template's id or exact title, from get_waiver_templates"},"language":{"type":"string","enum":["spanish","french"],"description":"Which translation"},"title":{"type":"string","description":"The waiver's title in that language (needed to switch the language on)"},"introduction":{"type":"string","description":"The introduction in that language"},"sections":{"type":"array","items":{"type":"object","properties":{"section":{"type":"string","description":"The section's English heading"},"heading":{"type":"string","description":"The section's heading in that language"},"text":{"type":"string","description":"The section's words in that language"}},"required":["section"],"additionalProperties":false},"description":"The sections in that language: [{ section, heading, text }]"},"questions":{"type":"array","items":{"type":"object","properties":{"question":{"type":"string","description":"The English question"},"label":{"type":"string","description":"The question's words in that language"},"choices":{"type":"array","items":{"type":"string"},"description":"Same order as the English choices"}},"required":["question"],"additionalProperties":false},"description":"The extra questions in that language: [{ question, label }]"},"marketing_checkbox":{"type":"string","description":"The news sign-up box's words in that language"},"remove":{"type":"boolean","description":"true = switch this language off for the waiver"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["waiver","language"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"waivers","url":"https://ninjahq.ai/developers/tools/waivers#set_waiver_translation"},{"name":"set_waiver_live","title":"Publish a waiver or take it offline","description":"Publish a waiver so families can sign it (on the website at /waiver and on the front desk kiosk), or take it offline so they can't (owners and managers). Before publishing, the owner should have their attorney review the text for their state; ask them and get a clear yes. Both ways need confirm: true.","inputSchema":{"type":"object","properties":{"waiver":{"type":"string","description":"The waiver template's id or exact title, from get_waiver_templates"},"live":{"type":"boolean","description":"true = publish (families can sign it at /waiver and on the kiosk); false = take it offline"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["waiver","live"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"waivers","url":"https://ninjahq.ai/developers/tools/waivers#set_waiver_live"},{"name":"delete_waiver_template","title":"Delete a waiver nobody signed","description":"Delete a waiver that nobody has signed yet, with all its versions (owners and managers). A waiver someone signed can't be deleted: take it offline with set_waiver_live instead. Ask the owner, then send confirm: true.","inputSchema":{"type":"object","properties":{"waiver":{"type":"string","description":"The waiver template's id or exact title, from get_waiver_templates"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["waiver"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"waivers","url":"https://ninjahq.ai/developers/tools/waivers#delete_waiver_template"},{"name":"get_automatic_emails","title":"The emails the website sends automatically","description":"Every automatic email the website sends customers (Marketing > Email templates): its name, when it is sent, who gets it, whether it is on, whether the gym changed its words, and whether it can be switched off on its own; the on/off groups (trial, party, camp, waitlist, waiver renewal and class pack emails); and the gym's own saved templates. Nothing is sent from here.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"emails","url":"https://ninjahq.ai/developers/tools/emails#get_automatic_emails"},{"name":"get_email_template_versions","title":"An email's earlier versions","description":"The words an automatic email (or a saved template) goes out with now, and its last 20 saved versions by date, each with its subject and first words. Use the version number with restore_email_template_version.","inputSchema":{"type":"object","properties":{"email":{"type":"string","description":"The email's name from get_automatic_emails, or a saved template's name"}},"required":["email"],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"emails","url":"https://ninjahq.ai/developers/tools/emails#get_email_template_versions"},{"name":"set_automatic_emails","title":"Turn a group of automatic emails on or off","description":"Turn a whole group of automatic customer emails on or off (owners and managers): trial and drop-in reminders with the after-trial invitation, party reminders and thank-you, waitlist spot offers, camp reminders, waiver renewal reminders, or class pack emails. Turning one off needs confirm: true after the owner says yes. This never sends anything itself.","inputSchema":{"type":"object","properties":{"group":{"type":"string","enum":["trial_and_drop_in_reminders","party_reminders","waitlist_offers","camp_reminders","waiver_renewals","class_packs"],"description":"Which group of automatic emails"},"on":{"type":"boolean","description":"true switches the whole group on, false off"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["group","on"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"emails","url":"https://ninjahq.ai/developers/tools/emails#set_automatic_emails"},{"name":"set_email_on","title":"Turn one automatic email on or off","description":"Stop one automatic email on its own, or start it again (owners and managers), for the emails that can be switched off alone (reminders, follow-ups and thank-yous: can_switch_off_alone in get_automatic_emails). Receipts and confirmations can't be. Turning one off needs confirm: true after the owner says yes.","inputSchema":{"type":"object","properties":{"email":{"type":"string","description":"The email's name from get_automatic_emails"},"on":{"type":"boolean","description":"true starts the email again, false stops it"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["email","on"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"emails","url":"https://ninjahq.ai/developers/tools/emails#set_email_on"},{"name":"reset_email_template","title":"Put an email back to the standard words","description":"Put an automatic email back to NinjaHQ's standard words, undoing the gym's own words (owners and managers); its earlier versions stay under get_email_template_versions. An email switched off on its own is on again afterwards. For one of the gym's saved templates, this deletes it. Ask the owner, then send confirm: true.","inputSchema":{"type":"object","properties":{"email":{"type":"string","description":"The email's name, or a saved template's name to delete it"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["email"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"emails","url":"https://ninjahq.ai/developers/tools/emails#reset_email_template"},{"name":"restore_email_template_version","title":"Bring back an earlier version of an email","description":"Bring back one of an email's earlier saved versions (owners and managers): from then on the email goes out with those words. The words it has now are kept as a version too, so this can be undone the same way.","inputSchema":{"type":"object","properties":{"email":{"type":"string","description":"The email's key, from get_automatic_emails"},"version":{"type":"integer","description":"The version number from get_email_template_versions"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["email","version"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"emails","url":"https://ninjahq.ai/developers/tools/emails#restore_email_template_version"},{"name":"get_email_settings","title":"Email settings","description":"The gym's email settings: whether \"Email me news\" starts ticked for US visitors (US gyms only), the time camp reminders go out the day before, which groups of automatic emails are on, and whether owners get emails about customers' expiring or replaced cards.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"emails","url":"https://ninjahq.ai/developers/tools/emails#get_email_settings"},{"name":"set_email_settings","title":"Change the email settings","description":"Change when camp reminders go out the day before, and (US gyms only) whether \"Email me news\" starts ticked for US visitors (owners and managers). To turn reminder emails on or off, use set_automatic_emails. Nothing is sent from here.","inputSchema":{"type":"object","properties":{"news_box_ticked_for_us_visitors":{"type":"boolean","description":"US gyms only: \"Email me news\" starts ticked on the website's forms for US visitors (US law allows it; visitors from other countries always see it unticked)"},"camp_reminder_hour":{"type":"integer","description":"8 to 21 (24-hour clock): when camp reminders go out the day before, e.g. 17 = 5 PM"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"emails","url":"https://ninjahq.ai/developers/tools/emails#set_email_settings"},{"name":"set_card_alert_emails","title":"Card alert emails to owners","description":"Turn on or off the emails owners get when a customer's saved card is about to expire, has expired or was replaced by the bank (owners and managers; Money > Cards to update). They go to the gym's owners only, never to customers. The list and check-in still show the cards either way. Turning them off needs confirm: true.","inputSchema":{"type":"object","properties":{"on":{"type":"boolean","description":"true sends owners these card emails, false stops them"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["on"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"emails","url":"https://ninjahq.ai/developers/tools/emails#set_card_alert_emails"},{"name":"get_phone_calls","title":"How the gym's phone line answers","description":"How calls to the gym's NinjaHQ phone number are answered (owners only; Settings > Phone & texting): the gym's number, how many cell phones ring and in which order, whether the call is announced first, whether calls outside opening hours go to voicemail, and the voicemail greeting. Staff's own cell numbers and addresses are not shown.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"emails","url":"https://ninjahq.ai/developers/tools/emails#get_phone_calls"},{"name":"set_phone_calls","title":"Change how the phone line answers","description":"Change how calls to the gym's NinjaHQ number are answered (owners only): the voicemail greeting, whether the cell phones ring all at once or one after another, the announcement before connecting, and after-hours voicemail. The cell phones that ring and the voicemail email addresses stay as they are (back office only). Calls are never recorded.","inputSchema":{"type":"object","properties":{"voicemail_greeting":{"type":"string","description":"What callers hear before leaving a voicemail (up to 500 characters); empty = the standard greeting"},"ring":{"type":"string","enum":["all_at_once","one_after_another"],"description":"Ring every phone at once, or one after another"},"announce_call_first":{"type":"boolean","description":"Say \"Call for <gym>. Press 1 to answer\" first, so a phone's own voicemail never takes the call"},"after_hours_straight_to_voicemail":{"type":"boolean","description":"Outside the website's opening hours, calls go straight to voicemail"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"emails","url":"https://ninjahq.ai/developers/tools/emails#set_phone_calls"},{"name":"remove_competition","title":"Delete a competition","description":"Delete a competition nobody has registered or volunteered for, e.g. one made by mistake (owners and managers). A competition with any registration stays: hide it instead with update_competition (show_on_website: false). Ask the owner to confirm, then send confirm: true. History in the back office can bring it back.","inputSchema":{"type":"object","properties":{"competition":{"type":"string","description":"The competition's name (add its date in brackets, e.g. Fall Classic (2026-03-06), when two have the same name)"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["competition"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"competitions","url":"https://ninjahq.ai/developers/tools/competitions#remove_competition"},{"name":"reopen_website_question","title":"Reopen one of NinjaHQ's questions","description":"Put an answered question from NinjaHQ back on the open list, to change the answer (owners and managers). Then answer it again with answer_website_question.","inputSchema":{"type":"object","properties":{"question_id":{"type":"string","description":"From get_website_questions (show: answered)"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["question_id"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"site","url":"https://ninjahq.ai/developers/tools/site#reopen_website_question"},{"name":"get_question_helpers","title":"Who helps answer NinjaHQ's questions","description":"The gym's coaches and staff (names and roles) and the question topics each one helps answer. Each person is emailed only their topics' questions. Owners only.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"site","url":"https://ninjahq.ai/developers/tools/site#get_question_helpers"},{"name":"set_question_helpers","title":"Choose the topics a person helps answer","description":"Choose which of NinjaHQ's question topics a coach or staff member helps answer (owners only). They are then emailed just those questions and can answer them. Taking every topic away needs confirm: true.","inputSchema":{"type":"object","properties":{"person":{"type":"string","description":"The coach's or staff member's name (or email), from get_question_helpers"},"topics":{"type":"array","items":{"type":"string"},"description":"Every topic they help with, from get_question_helpers; an empty list = none"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["person","topics"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"site","url":"https://ninjahq.ai/developers/tools/site#set_question_helpers"},{"name":"get_athlete_info_followups","title":"Athlete info follow-up settings","description":"Whether families are emailed automatically before every competition when their athlete's details (home gym, picture, ninja name, Instagram) are missing, and when: the first ask, the last call and the hour they go. Settings only: families and athletes stay in the back office.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"competitions","url":"https://ninjahq.ai/developers/tools/competitions#get_athlete_info_followups"},{"name":"set_athlete_info_followups","title":"Change the athlete info follow-ups","description":"Switch the automatic athlete info follow-up emails on or off and set when they go (owners and managers). Switching them on means families are emailed automatically, and switching them off stops that, so both need the owner's yes and confirm: true. Send only what changes.","inputSchema":{"type":"object","properties":{"automatic":{"type":"boolean","description":"true = email families automatically before every competition when details are missing"},"first_ask_days_before":{"type":"integer","description":"5 to 30 days before the competition"},"last_call_days_before":{"type":"integer","description":"2 to 7 days before (after the first ask)"},"send_at_hour":{"type":"integer","description":"9 to 20 (the gym's local hour, 24-hour clock)"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"competitions","url":"https://ninjahq.ai/developers/tools/competitions#set_athlete_info_followups"},{"name":"get_sports_and_teams","title":"Sports and teams","description":"The Teams page: each sport (with the classes in it), the competitive teams (sport, where their training times come from, tagline, about, highlights, how to join) and the page's headings. Teams only: athletes and team lists stay in the back office.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"competitions","url":"https://ninjahq.ai/developers/tools/competitions#get_sports_and_teams"},{"name":"save_team","title":"Add or change a team","description":"Add a competitive team to the Teams page, or change one's name, sport, training times entry, tagline, about, highlights or how to join (owners only). Send only what changes. Training times always come from the weekly schedule.","inputSchema":{"type":"object","properties":{"team":{"type":"string","description":"The team's current name, to change one; leave out to add a team"},"name":{"type":"string","description":"e.g. Ninja Pro Team (up to 60 characters)"},"sport":{"type":"string","description":"A sport's name from get_sports_and_teams, or \"none\""},"schedule_entry":{"type":"string","description":"The weekly schedule entry its training times come from (a name from get_sports_and_teams); empty = the entry with the team's name"},"tagline":{"type":"string","description":"One line under the name (up to 120 characters)"},"about":{"type":"string","description":"Up to 500 characters"},"highlights":{"type":"array","items":{"type":"string"},"description":"Up to 8 short lines, e.g. Trains four days a week"},"how_to_join":{"type":"string","description":"e.g. Tryouts in August (up to 240 characters)"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"competitions","url":"https://ninjahq.ai/developers/tools/competitions#save_team"},{"name":"remove_team","title":"Take a team off the Teams page","description":"Take a team off the Teams page (owners only). Its classes and the families' team email list stay. Ask the owner to confirm, then send confirm: true. History can bring it back.","inputSchema":{"type":"object","properties":{"team":{"type":"string","description":"The team's id or exact name, from get_sports_and_teams"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["team"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"competitions","url":"https://ninjahq.ai/developers/tools/competitions#remove_team"},{"name":"save_sport","title":"Add or change a sport","description":"Add a sport (ninja, parkour, chase tag...) or change one's name, short name or description, and say which classes belong to it (owners only). Only needed when the gym trains more than one sport; sports group the classes on the Classes page.","inputSchema":{"type":"object","properties":{"sport":{"type":"string","description":"The sport's current name, to change one; leave out to add a sport"},"name":{"type":"string","description":"e.g. Parkour (up to 40 characters)"},"short_name":{"type":"string","description":"Up to 20 characters"},"about":{"type":"string","description":"One or two sentences for the home page and the Classes page (up to 300 characters)"},"classes":{"type":"array","items":{"type":"string"},"description":"Class names (from get_sports_and_teams) to put in this sport; classes left out keep their sport"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"competitions","url":"https://ninjahq.ai/developers/tools/competitions#save_sport"},{"name":"remove_sport","title":"Remove a sport","description":"Remove a sport (owners only). Its classes and teams stay, with no sport. Ask the owner to confirm, then send confirm: true.","inputSchema":{"type":"object","properties":{"sport":{"type":"string","description":"The sport's id or exact name, from get_sports_and_teams"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["sport"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"competitions","url":"https://ninjahq.ai/developers/tools/competitions#remove_sport"},{"name":"set_teams_page_words","title":"Change the Teams page headings","description":"Change the Teams page's headline, intro and note, and the heading above the sports on the home page (owners only). Send only what changes.","inputSchema":{"type":"object","properties":{"teams_headline":{"type":"string","description":"e.g. Our competitive teams (up to 100 characters)"},"teams_intro":{"type":"string","description":"One or two sentences above the teams (up to 300)"},"teams_note":{"type":"string","description":"A note under the teams (up to 240); empty for none"},"sports_heading":{"type":"string","description":"The heading above the sports on the home page, e.g. Three sports, one gym (up to 80)"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"competitions","url":"https://ninjahq.ai/developers/tools/competitions#set_teams_page_words"},{"name":"get_community","title":"Community page","description":"What the gym shares on its Community page: adaptive classes, scholarships (each with a note), the gear board (obstacles and equipment to sell, give, lend or find), whether it is listed on ninjahq.ai/community, and whether its referral thank-you month goes to the Ninja Community Fund. Athlete stories are counted only; they stay in the back office.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"community","url":"https://ninjahq.ai/developers/tools/community#get_community"},{"name":"update_community","title":"Change what the gym offers on its Community page","description":"Change the Community page's offers (adaptive classes, scholarships and their notes), the listing on ninjahq.ai/community and the Community Fund choice (owners and managers). Send only what changes. Switching an offer or the listing off needs confirm: true.","inputSchema":{"type":"object","properties":{"adaptive_classes":{"type":"boolean","description":"true = the gym offers adaptive classes or welcomes adaptive athletes"},"adaptive_note":{"type":"string","description":"How it works at the gym (up to 300 characters)"},"scholarships":{"type":"boolean","description":"true = the gym offers scholarship spots"},"scholarship_note":{"type":"string","description":"How a family asks (up to 300 characters)"},"listed_on_ninjahq_community":{"type":"boolean","description":"true = the gym's name, city, offers, gear posts and stories show on ninjahq.ai/community"},"thank_you_month_to_community_fund":{"type":"boolean","description":"true = give the referral thank-you month to the Ninja Community Fund"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"community","url":"https://ninjahq.ai/developers/tools/community#update_community"},{"name":"save_gear_post","title":"Add or change a gear board post","description":"Add a post to the Community page's gear board (obstacles and equipment to sell, give away, lend, or wanted), or change one (owners and managers). Other gyms reach the gym through its Contact page. Up to 12 posts.","inputSchema":{"type":"object","properties":{"post":{"type":"string","description":"The post's current title, to change one; leave out to add a post"},"title":{"type":"string","description":"What it is, e.g. 8 ft warped wall (up to 80 characters)"},"kind":{"type":"string","enum":["sell","give","lend","wanted"],"description":"sell = for sale, give = free to a good home, lend, wanted = the gym is looking for it"},"price_or_terms":{"type":"string","description":"e.g. $400, pick up only (up to 40 characters)"},"details":{"type":"string","description":"Condition, size, where (up to 400 characters)"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"community","url":"https://ninjahq.ai/developers/tools/community#save_gear_post"},{"name":"remove_gear_post","title":"Remove a gear board post","description":"Take a post off the Community page's gear board, e.g. when it is sold or found (owners and managers). Ask the owner to confirm, then send confirm: true.","inputSchema":{"type":"object","properties":{"post":{"type":"string","description":"The post's title"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["post"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"community","url":"https://ninjahq.ai/developers/tools/community#remove_gear_post"},{"name":"get_homeschool_groups","title":"Homeschool groups","description":"The homeschool ORGANIZATIONS near the gym the owner keeps track of (co-ops, Classical Conversations communities, support groups, hybrid schools, library and church programs): kind, where and when they meet, the area, their website and public contact form, and where the outreach stands. Never families or children.","inputSchema":{"type":"object","properties":{"outreach":{"type":"string","enum":["all","new","contacted","talking","partner","no"],"description":"Only groups at this outreach step (default all)"}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"community","url":"https://ninjahq.ai/developers/tools/community#get_homeschool_groups"},{"name":"save_homeschool_group","title":"Add or change a homeschool group","description":"Add a homeschool organization to the gym's outreach list, or change one's details or outreach step (owners and managers). Organizations only: email addresses and phone numbers are refused; link the group's public contact form instead. Send only what changes.","inputSchema":{"type":"object","properties":{"group":{"type":"string","description":"The group's current name, to change one; leave out to add a group"},"name":{"type":"string","description":"The organization's name (up to 120 characters)"},"kind":{"type":"string","enum":["coop","cc","support","hybrid","library","online","other"],"description":"coop, cc (Classical Conversations), support, hybrid, library (library or church program), online, other"},"meets_at":{"type":"string","description":"Where it meets (up to 160)"},"when":{"type":"string","description":"When it meets, e.g. Tuesdays 9-12 (up to 80)"},"area":{"type":"string","description":"The area it serves (up to 120)"},"website":{"type":"string","description":"Its website link"},"contact_form":{"type":"string","description":"Its PUBLIC contact form link (never a person's email or phone)"},"found_at":{"type":"string","description":"A link to where the gym found it"},"outreach":{"type":"string","enum":["new","contacted","talking","partner","no"],"description":"new (not contacted), contacted, talking, partner, no (not interested)"},"note":{"type":"string","description":"Up to 500 characters; no names, emails or phone numbers"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"community","url":"https://ninjahq.ai/developers/tools/community#save_homeschool_group"},{"name":"remove_homeschool_group","title":"Remove a homeschool group","description":"Take a homeschool group off the outreach list (owners only). Ask the owner to confirm, then send confirm: true. History can bring it back.","inputSchema":{"type":"object","properties":{"group":{"type":"string","description":"The group's id or exact name, from get_homeschool_groups"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["group"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"community","url":"https://ninjahq.ai/developers/tools/community#remove_homeschool_group"},{"name":"get_school_calendars","title":"School districts and their days off","description":"The school districts near the gym (from the U.S. Department of Education's public school directory, within the search radius) with each one's school days off (breaks, holidays, no-school days, early release, first and last days, summer) as they show on the back office Calendar, to plan camps and extra coaches.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"community","url":"https://ninjahq.ai/developers/tools/community#get_school_calendars"},{"name":"set_school_district_dates","title":"Set a school district's days off","description":"Type or correct a nearby school district's days off from its published calendar (owners only). The list replaces the district's dates, so send every date; dropping dates that are there now needs confirm: true. The Calendar then shows them and points out camp days.","inputSchema":{"type":"object","properties":{"district":{"type":"string","description":"The district's name from get_school_calendars"},"days_off":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string","description":"YYYY-MM-DD"},"end":{"type":"string","description":"YYYY-MM-DD for a break of several days; leave out for one day"},"name":{"type":"string","description":"e.g. Thanksgiving break (up to 60 characters)"},"kind":{"type":"string","enum":["break","holiday","noschool","early","first","last","summer"],"description":"break, holiday (one day), noschool (staff or digital learning day), early (early release), first / last (school days), summer"}},"required":["start"],"additionalProperties":false},"description":"Every day off for the school year: this replaces the district's list"},"school_year":{"type":"string","description":"e.g. 2026-2027"},"calendar_link":{"type":"string","description":"The district's published calendar (https://...)"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["district","days_off"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"community","url":"https://ninjahq.ai/developers/tools/community#set_school_district_dates"},{"name":"find_nearby_schools","title":"Find the school districts near the gym","description":"Search the U.S. Department of Education's public school directory again for the school districts near the gym (owners only), optionally with a new radius. Days off already typed for a district are kept. Needs the gym's location in Settings.","inputSchema":{"type":"object","properties":{"radius_miles":{"type":"integer","description":"3 to 40 miles around the gym; leave out to search the current radius again"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"community","url":"https://ninjahq.ai/developers/tools/community#find_nearby_schools"},{"name":"get_school_partners","title":"School partners","description":"The gym's partner schools (PTA fundraisers for school-break camps): each school's status, whether its PTA accepted the terms, visits to and sign-ups from its family page, new families and the donations owed and paid, plus the gym's donation (a percentage of the first camp or a flat amount per new family). Never families' names. Owners only.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"community","url":"https://ninjahq.ai/developers/tools/community#get_school_partners"},{"name":"save_school_partner","title":"Add or change a partner school","description":"Add a nearby school as a partner (its PTA page and family page are made at once), or change a partner's contact, color or status (owners only). Only the school's public PTA or office contact, never a family's. Pausing or ending a partnership needs confirm: true. Sending the invitation email is done by the owner in the back office.","inputSchema":{"type":"object","properties":{"school":{"type":"string","description":"The partner school's current name, to change one; leave out to add a school"},"name":{"type":"string","description":"A new school's name (up to 120 characters)"},"contact_name":{"type":"string","description":"The PTA or school contact's name as the school lists it (up to 80)"},"contact_role":{"type":"string","description":"e.g. PTA President (up to 60)"},"contact_email":{"type":"string","description":"The school's PUBLIC PTA or office address, never a student's or parent's"},"color":{"type":"string","description":"The school's color for its pages, like #1d4ed8"},"status":{"type":"string","enum":["draft","invited","active","paused","ended"],"description":"draft (not contacted), invited, active (partner), paused, ended"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"community","url":"https://ninjahq.ai/developers/tools/community#save_school_partner"},{"name":"set_school_donation","title":"Set the donation to partner schools","description":"Set what the gym donates to a partner school's PTA for each new family who signs up for a camp through the school's page, once per family (owners only). Ask the owner for the amount; never guess it. It only sets the promise on the schools' pages: no money moves through NinjaHQ.","inputSchema":{"type":"object","properties":{"how":{"type":"string","enum":["percent","flat"],"description":"percent = a percentage of a new family's first camp (before tax); flat = a set amount per new family"},"percent":{"type":"number","description":"0 to 100"},"flat_amount":{"type":"number","description":"Dollars per new family, 0 to 500"},"paid_out":{"type":"string","description":"When the gym pays the PTA, e.g. after each school break (up to 60 characters)"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"community","url":"https://ninjahq.ai/developers/tools/community#set_school_donation"},{"name":"get_social_posts","title":"Posts from Facebook and Instagram","description":"The gym's own recent Facebook and Instagram posts and what each one could add to the website: a closure, a schedule change, a special event (title, date, time, price, ages), photos or a video, and whether it was added. Also whether closures and photos are added by themselves. Only the gym's posts: comments and messages from people are not shown.","inputSchema":{"type":"object","properties":{"show":{"type":"string","enum":["new","done","ignored","all"],"description":"new = waiting for a choice (default), done = used, ignored = skipped"}},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"emails","url":"https://ninjahq.ai/developers/tools/emails#get_social_posts"},{"name":"use_social_post","title":"Put a social post on the website","description":"Add what one of the gym's own posts announces to the website (owners and managers): a closure or schedule change on the schedule, a special event on Special events, its photos on the Photos page, or its video. Check the date, time and price with the owner first; never guess them.","inputSchema":{"type":"object","properties":{"post_id":{"type":"string","description":"From get_social_posts"},"add":{"type":"string","enum":["closure","change","event","photos","video"],"description":"What to add: closure (the gym is closed), change (a one-day schedule change), event (Special events), photos (to the Photos page), video (a click-to-play clip on the Photos page)"},"index":{"type":"integer","description":"Which suggestion of that kind (from get_social_posts), default 0"},"title":{"type":"string","description":"For an event or a video: the title (up to 80 characters)"},"date":{"type":"string","description":"YYYY-MM-DD, to correct the date read from the post"},"end":{"type":"string","description":"YYYY-MM-DD, the last day"},"time":{"type":"string","description":"For an event, e.g. 6-9 PM"},"price":{"type":"string","description":"For an event, e.g. $35"},"ages":{"type":"string","description":"For an event, e.g. Ages 5-12"},"description":{"type":"string","description":"For an event: the words families see (up to 600 characters)"},"use_picture_as_flyer":{"type":"boolean","description":"For an event: true (default) = the post's first picture becomes its flyer"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["post_id","add"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"emails","url":"https://ninjahq.ai/developers/tools/emails#use_social_post"},{"name":"skip_social_post","title":"Skip a social post","description":"Mark one of the gym's posts as skipped, so it leaves the waiting list without changing the website (owners and managers).","inputSchema":{"type":"object","properties":{"post_id":{"type":"string","description":"The post's id, from get_social_posts"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["post_id"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"emails","url":"https://ninjahq.ai/developers/tools/emails#skip_social_post"},{"name":"refresh_social","title":"Check Facebook and Instagram for new posts","description":"Check the gym's connected Facebook Page and Instagram now for new posts (and new comments for the Social inbox), instead of waiting up to 15 minutes (owners and managers). It only reads the gym's own accounts: nothing is posted or replied. Says how many are new; comments themselves are answered in the back office.","inputSchema":{"type":"object","properties":{"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"emails","url":"https://ninjahq.ai/developers/tools/emails#refresh_social"},{"name":"set_social_auto","title":"Let social posts update the website by themselves","description":"Choose whether closures and photos from the gym's own posts go on the website by themselves or wait for a tap (owners only). Special events always wait. Switching one back to ask needs confirm: true.","inputSchema":{"type":"object","properties":{"closures":{"type":"string","enum":["auto","ask"],"description":"auto = closures announced in a post go on the schedule by themselves; ask = wait for a tap"},"photos":{"type":"string","enum":["auto","ask"],"description":"auto = a post's photos go on the Photos page by themselves"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"emails","url":"https://ninjahq.ai/developers/tools/emails#set_social_auto"},{"name":"get_volunteer_plan","title":"A competition's volunteer plan","description":"A competition's volunteer sign-up: whether it is open, the waiver and reminder settings, the note, the roles (jobs) and the shifts with how many people each role needs and how many have signed up. Numbers only: volunteers' names and contacts stay in the back office.","inputSchema":{"type":"object","properties":{"competition":{"type":"string","description":"The competition's name (add its date in brackets, e.g. Fall Classic (2026-03-06), when two have the same name)"}},"required":["competition"],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"competitions","url":"https://ninjahq.ai/developers/tools/competitions#get_volunteer_plan"},{"name":"set_volunteer_settings","title":"Open or close volunteer sign-up","description":"Open or close a competition's volunteer sign-up page and set the waiver, the reminders and the note (owners and managers). Opening it does not email anyone; asking families to volunteer is done in the back office. Closing sign-up or turning reminders off needs confirm: true.","inputSchema":{"type":"object","properties":{"competition":{"type":"string","description":"The competition's name (add its date in brackets, e.g. Fall Classic (2026-03-06), when two have the same name)"},"sign_up_open":{"type":"boolean","description":"true = families can pick shifts on the competition's volunteer page"},"volunteers_sign_waiver":{"type":"boolean","description":"true = volunteers need a signed waiver in their own name"},"reminders":{"type":"boolean","description":"true = volunteers get a reminder email before their shift"},"note":{"type":"string","description":"A note on the sign-up page, e.g. Free snacks for volunteers (up to 400 characters)"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["competition"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"competitions","url":"https://ninjahq.ai/developers/tools/competitions#set_volunteer_settings"},{"name":"set_volunteer_roles","title":"Set a competition's volunteer roles","description":"Set the volunteer jobs for a competition (obstacle reset, athlete staging, crowd control, check-in...): name, one line about it, where, and how early it starts (owners and managers). Send the whole list; a role with people signed up can't be removed, and removing any role needs confirm: true. Then set how many each shift needs with set_volunteer_shifts.","inputSchema":{"type":"object","properties":{"competition":{"type":"string","description":"The competition's name (add its date in brackets, e.g. Fall Classic (2026-03-06), when two have the same name)"},"roles":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"e.g. Obstacle reset (up to 40 characters)"},"current_name":{"type":"string","description":"Only to rename a role: its name now"},"about":{"type":"string","description":"One line volunteers see (up to 240 characters)"},"where":{"type":"string","description":"Where in the gym, e.g. Main floor"},"starts_minutes_early":{"type":"integer","description":"0 to 180: how many minutes before each shift this job starts (check-in might start 45 minutes early)"},"until_competition_starts":{"type":"boolean","description":"true = the job ends when the competition starts (check-in)"}},"required":["name"],"additionalProperties":false},"description":"Every role (job), in order: this is the whole list. Roles are matched by name (or current_name to rename one)."},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["competition","roles"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"competitions","url":"https://ninjahq.ai/developers/tools/competitions#set_volunteer_roles"},{"name":"set_volunteer_shifts","title":"Set a competition's volunteer shifts","description":"Set a competition's volunteer shifts (owners and managers): day, start and end, a label, and how many people each role needs in it (0 = not needed then). Send the whole list, keeping existing shifts by their shift_id from get_volunteer_plan. A shift with people signed up can't be removed; removing any shift needs confirm: true.","inputSchema":{"type":"object","properties":{"competition":{"type":"string","description":"The competition's name (add its date in brackets, e.g. Fall Classic (2026-03-06), when two have the same name)"},"shifts":{"type":"array","items":{"type":"object","properties":{"shift_id":{"type":"string","description":"From get_volunteer_plan, to keep an existing shift (its sign-ups stay with it); leave out for a new shift"},"day":{"type":"string","description":"YYYY-MM-DD: one of the competition's days or the day before or after"},"start":{"type":"string","description":"e.g. 8:00 AM or 08:00"},"end":{"type":"string","description":"e.g. 12:00 PM or 12:00"},"label":{"type":"string","description":"e.g. Morning (up to 60 characters)"},"needs":{"type":"object","additionalProperties":{"type":"integer"},"description":"How many people each role needs in this shift, by role name, e.g. { \"Obstacle reset\": 4 }. Roles left out keep their number (0 for a new shift)."}},"required":["day","start","end"],"additionalProperties":false},"description":"Every shift: this is the whole list. Keep a shift by sending its shift_id."},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["competition","shifts"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"competitions","url":"https://ninjahq.ai/developers/tools/competitions#set_volunteer_shifts"},{"name":"copy_volunteer_shifts","title":"Copy a day's volunteer shifts","description":"Copy one day's volunteer shifts to another day of the competition, or to the other competition of the same weekend (owners and managers). The shifts already on the day copied to are replaced, so that needs confirm: true; a day with people signed up is left alone.","inputSchema":{"type":"object","properties":{"competition":{"type":"string","description":"The competition's name (add its date in brackets, e.g. Fall Classic (2026-03-06), when two have the same name)"},"from_day":{"type":"string","description":"YYYY-MM-DD: the day to copy"},"to_day":{"type":"string","description":"YYYY-MM-DD: the day to copy to"},"to_competition":{"type":"string","description":"Only to copy to the other competition of the same weekend: its name"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["competition","from_day","to_day"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"competitions","url":"https://ninjahq.ai/developers/tools/competitions#copy_volunteer_shifts"},{"name":"reset_volunteer_shifts","title":"Start the volunteer shifts again","description":"Put a competition's volunteer roles and shifts back to the standard ones made from its wave times (owners and managers). Only before anyone signs up. Ask the owner to confirm, then send confirm: true.","inputSchema":{"type":"object","properties":{"competition":{"type":"string","description":"The competition's name (add its date in brackets, e.g. Fall Classic (2026-03-06), when two have the same name)"},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["competition"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"competitions","url":"https://ninjahq.ai/developers/tools/competitions#reset_volunteer_shifts"},{"name":"update_camp","title":"Change a camp's details","description":"Change an existing camp (owners and managers), as Edit Camp does in Schedule > Camps: name, dates, camp days, days off, ages, description, location, each session's times and room, prices and flex passes, and the private camp price. Only what the owner mentions changes. Families booked already keep their days; a new price is for new bookings. Use dry_run first and show the changes. To open or close booking use set_camp_status.","inputSchema":{"type":"object","properties":{"camp":{"type":"string","description":"The camp's name or its id from list_camps"},"name":{"type":"string","description":"The name families see"},"kind":{"type":"string","enum":["summer","break","afterschool","private"],"description":"summer, school break, after school or private (a group books the whole camp)"},"start":{"type":"string","description":"First day, YYYY-MM-DD"},"end":{"type":"string","description":"Last day, YYYY-MM-DD"},"weekdays":{"type":"array","items":{"type":"integer","minimum":0,"maximum":6},"description":"Camp days of the week, 0 = Sunday"},"days_off":{"type":"array","items":{"type":"string"},"description":"The whole list of holidays with no camp, YYYY-MM-DD"},"ages":{"type":"string","description":"The ages it is for, as families see it, e.g. 6-12"},"about":{"type":"string","description":"A short description for the camp's page"},"location":{"type":"string","description":"A location key or name, for a business with several"},"sessions":{"type":"object","additionalProperties":false,"properties":{"am":{"type":"object","additionalProperties":false,"properties":{"on":{"type":"boolean"},"label":{"type":"string","description":"The name families see, e.g. Morning"},"start":{"type":"string","description":"e.g. 9:00 or 9:00 AM"},"end":{"type":"string"},"room":{"type":"integer","minimum":0,"description":"Room for this many campers (0 = no limit)"}},"description":"Morning session: { on, start, end, room } with times as HH:MM, 24-hour"},"pm":{"type":"object","additionalProperties":false,"properties":{"on":{"type":"boolean"},"label":{"type":"string","description":"The name families see, e.g. Morning"},"start":{"type":"string","description":"e.g. 9:00 or 9:00 AM"},"end":{"type":"string"},"room":{"type":"integer","minimum":0,"description":"Room for this many campers (0 = no limit)"}},"description":"Afternoon session: { on, start, end, room } with times as HH:MM, 24-hour"},"full":{"type":"object","additionalProperties":false,"properties":{"on":{"type":"boolean"},"label":{"type":"string","description":"The name families see, e.g. Morning"},"start":{"type":"string","description":"e.g. 9:00 or 9:00 AM"},"end":{"type":"string"},"room":{"type":"integer","minimum":0,"description":"Room for this many campers (0 = no limit)"}},"description":"Full-day session: { on, start, end, room } with times as HH:MM, 24-hour"}},"description":"am = Morning, pm = Afternoon, full = Full Day; only what changes"},"prices":{"type":"object","additionalProperties":false,"properties":{"weekFull":{"type":["number","null"],"minimum":0,"description":"Price of a full week of full days, in dollars"},"weekHalf":{"type":["number","null"],"minimum":0,"description":"Price of a full week of half days, in dollars"},"dayFull":{"type":["number","null"],"minimum":0,"description":"Price of one full day, in dollars"},"dayHalf":{"type":["number","null"],"minimum":0,"description":"Price of one half day, in dollars"},"flex5Full":{"type":["number","null"],"minimum":0,"description":"Price of a flex pass for any 5 full days, in dollars"},"flex10Full":{"type":["number","null"],"minimum":0,"description":"Price of a flex pass for any 10 full days, in dollars"},"flex5Half":{"type":["number","null"],"minimum":0,"description":"Price of a flex pass for any 5 half days, in dollars"},"flex10Half":{"type":["number","null"],"minimum":0,"description":"Price of a flex pass for any 10 half days, in dollars"}},"description":"Dollars; null = stop selling that one; only what changes"},"private_camp":{"type":"boolean","description":"Offer private camp requests"},"private_day_price":{"type":"number","minimum":0,"description":"A private camp's price for a full day, in dollars"},"private_half_day_price":{"type":["number","null"],"minimum":0,"description":"A private camp's price for a half day, in dollars"},"private_group_size":{"type":"integer","minimum":1,"description":"How many campers a private camp price includes"},"private_extra_camper_price":{"type":["number","null"],"minimum":0,"description":"The price for each camper over the group size, in dollars"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["camp"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"camps-parties","url":"https://ninjahq.ai/developers/tools/camps-parties#update_camp"},{"name":"set_camp_status","title":"Open or close a camp for booking","description":"Open a camp for booking on the website, close booking, or put it back to draft (owners and managers), as the camp's page in Schedule > Camps does. Closing or putting an open camp back to draft stops new bookings and needs confirm: true after the owner says yes. Nobody is emailed.","inputSchema":{"type":"object","properties":{"camp":{"type":"string","description":"The camp's name or its id from list_camps"},"status":{"type":"string","enum":["open","closed","draft"],"description":"open = families can book on the website; closed = no new bookings (campers booked keep their days); draft = hidden from the website while it's set up"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"}},"required":["camp","status"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"camps-parties","url":"https://ninjahq.ai/developers/tools/camps-parties#set_camp_status"},{"name":"set_camp_request_status","title":"Mark a private camp request","description":"Mark a private camp request booked or declined (or back to new) after the gym has talked with the group (owners and managers), as Schedule > Camps > Private requests does. It only changes the mark: nobody is emailed, nothing is booked or charged.","inputSchema":{"type":"object","properties":{"request_id":{"type":"string","description":"The id from list_private_camp_requests"},"status":{"type":"string","enum":["new","booked","declined"],"description":"booked, declined, or new to clear the mark"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["request_id","status"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"camps-parties","url":"https://ninjahq.ai/developers/tools/camps-parties#set_camp_request_status"},{"name":"update_work_shift","title":"Change a shift on the staff schedule","description":"Change a shift on People > Staff schedule (owners and managers): who, the day, times, location, job, note or the gratuity rate. Only what the owner mentions changes. The shift becomes a draft again: nobody is told until someone presses Publish for the week in the back office (that sends each person their shifts).","inputSchema":{"type":"object","properties":{"shift_id":{"type":"string","description":"The id from get_work_schedule"},"person":{"type":["string","null"],"description":"The staff member's full name; null = make it an open shift"},"day":{"type":"string","description":"YYYY-MM-DD"},"start":{"type":"string","description":"e.g. 9:00 or 4:30 PM"},"end":{"type":"string","description":"e.g. 5:00 or 9:30 PM"},"location":{"type":"string","description":"Location name or key (brands with several locations)"},"job":{"type":"string","description":"e.g. Front desk, Coach, Party host"},"note":{"type":"string","description":"A short note on the shift"},"gratuity_rate":{"type":"boolean","description":"Paid at the gratuity (tipped work) rate, as for parties"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["shift_id"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"staff","url":"https://ninjahq.ai/developers/tools/staff#update_work_shift"},{"name":"remove_work_shift","title":"Remove a shift from the staff schedule","description":"Remove a shift from People > Staff schedule (owners and managers). A draft shift is deleted; a published one is marked removed, and the person hears about it only when someone publishes the week in the back office. Needs confirm: true after the owner says yes.","inputSchema":{"type":"object","properties":{"shift_id":{"type":"string","description":"The id from get_work_schedule"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"}},"required":["shift_id"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"staff","url":"https://ninjahq.ai/developers/tools/staff#remove_work_shift"},{"name":"copy_last_week_shifts","title":"Copy last week's shifts","description":"Copy the week before's shifts into a week on People > Staff schedule (owners and managers), as Copy last week does. Shifts already there are skipped. The copies are drafts: nobody is told until the week is published in the back office.","inputSchema":{"type":"object","properties":{"week":{"type":"string","description":"Any day of the week to fill, YYYY-MM-DD"},"location":{"type":"string","description":"Location name or key (brands with several locations; default the first one you work at)"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["week"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"staff","url":"https://ninjahq.ai/developers/tools/staff#copy_last_week_shifts"},{"name":"fill_shifts_from_classes","title":"Add shifts for the week's classes and parties","description":"Add a draft shift for each class and booked party in a week whose coach is a staff member and has no shift yet (owners and managers), as Shifts for classes and parties does on People > Staff schedule. Party shifts use the gratuity rate. Nothing is published or sent.","inputSchema":{"type":"object","properties":{"week":{"type":"string","description":"Any day of the week, YYYY-MM-DD"},"location":{"type":"string","description":"Location name or key (brands with several locations)"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."}},"required":["week"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":false,"developer":false,"area":"staff","url":"https://ninjahq.ai/developers/tools/staff#fill_shifts_from_classes"},{"name":"remove_private_lesson_type","title":"Remove a private lesson type","description":"Remove a private lesson type from Schedule > Private lessons and the website (owners and managers); its open times go too. Lessons families already bought stay on the list. To only hide it for a while, use add_private_lesson_type with its id and on_sale: false instead. Needs confirm: true after the owner says yes.","inputSchema":{"type":"object","properties":{"lesson_type_id":{"type":"string","description":"The id from get_private_lessons"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"}},"required":["lesson_type_id"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#remove_private_lesson_type"},{"name":"remove_private_lesson_time","title":"Remove an open private lesson time","description":"Take one open time off a private lesson type (owners, managers or the lesson's own coach), so families can't pick it. A time a family has booked can't be removed here. Needs confirm: true after the owner says yes.","inputSchema":{"type":"object","properties":{"lesson_type_id":{"type":"string","description":"The id from get_private_lessons"},"date":{"type":"string","description":"YYYY-MM-DD"},"start_time":{"type":"string","description":"e.g. 16:00 or 4:30 PM"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"}},"required":["lesson_type_id","date","start_time"],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"schedule","url":"https://ninjahq.ai/developers/tools/schedule#remove_private_lesson_time"},{"name":"get_time_clock_settings","title":"Time clock settings","description":"The time clock's settings on People > Timesheets (owners): whether staff can clock in, smart reminders, how close counts as at the gym, when clock-in is refused, and the reminder and automatic clock-out hours. Never anyone's hours or pay.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"staff","url":"https://ninjahq.ai/developers/tools/staff#get_time_clock_settings"},{"name":"set_time_clock_settings","title":"Change the time clock settings","description":"Change the time clock settings on People > Timesheets (owners only), as its Time clock settings box does. Only what the owner mentions changes. Turning the clock or the smart reminders off needs confirm: true after the owner says yes. Setting the gym's location needs a phone at the gym, so it stays in the back office.","inputSchema":{"type":"object","properties":{"clock_in_on":{"type":"boolean","description":"Staff can clock in and out"},"smart_reminders":{"type":"boolean","description":"A notification when someone is due to clock in or forgot to clock out"},"at_gym_within_meters":{"type":"integer","minimum":50,"maximum":1000,"description":"Counts as at the gym within this distance (150 suits most buildings)"},"refuse_beyond_meters":{"type":"integer","minimum":500,"maximum":50000,"description":"Clock-in is refused farther than this; in between it's allowed with a note and flagged"},"remind_to_clock_out_after_hours":{"type":"integer","minimum":2,"maximum":20,"description":"Remind someone to clock out after this many hours on the clock (2 to 20)"},"clock_out_automatically_after_hours":{"type":"integer","minimum":3,"maximum":24,"description":"Clock someone out by themselves after this many hours (3 to 24)"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"staff","url":"https://ninjahq.ai/developers/tools/staff#set_time_clock_settings"},{"name":"get_membership_rules","title":"Membership rules and terms","description":"The membership rules on Money > Memberships > Plans & rules (owners): the introduction on the Memberships page, the exact membership terms families agree to before paying, whether members can cancel online in My account, and whether members get an emailed receipt for each payment.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"memberships","url":"https://ninjahq.ai/developers/tools/memberships#get_membership_rules"},{"name":"set_membership_rules","title":"Change the membership rules and terms","description":"Change the membership rules on Money > Memberships > Plans & rules (owners only). The terms are legal text families agree to before paying: always show the owner the exact new wording first (call with dry_run) and suggest their attorney reviews it; a terms change needs confirm: true. Turning off online cancel needs confirm: true and a warning to the owner first: several states (California among them) require an online way to cancel anything sold online, and a membership bought online can always be cancelled online anyway. Turning receipts off needs confirm: true. Only what the owner mentions changes.","inputSchema":{"type":"object","properties":{"introduction":{"type":"string","description":"A line or two at the top of the Memberships page (300 characters at most; empty = none)"},"terms":{"type":"string","description":"The whole new membership terms, word for word (3000 characters at most; empty = back to the standard text)"},"members_can_cancel_online":{"type":"boolean","description":"Members can cancel in My account (the membership runs to the end of the paid period)"},"email_receipts":{"type":"boolean","description":"Email members a receipt for each payment"},"dry_run":{"type":"boolean","description":"true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet."},"confirm":{"type":"boolean","description":"Must be true, after the owner has said yes"}},"required":[],"additionalProperties":false},"readOnly":false,"dryRun":true,"confirm":true,"developer":false,"area":"memberships","url":"https://ninjahq.ai/developers/tools/memberships#set_membership_rules"},{"name":"list_videos","title":"The website's own videos","description":"The videos the gym uploaded to its website (at most 10, up to 2 minutes each), newest first: video_id, title, length, captions (speech: \"none\" no talking, \"open\" words already on the video, \"file\" a caption file), and the pages that use it. To show one in a Video section, pass its whole \"file\" object as the section's file setting (add_section or update_section, type \"video\") and leave the YouTube link (video) empty. New videos are added in the page editor: Website > Pages, edit a page, a Video section, Upload a Video, Choose a Video, Upload a New One (a phone or computer; the video is made smaller there first).","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":false,"area":"pages","url":"https://ninjahq.ai/developers/tools/pages#list_videos"},{"name":"update_video","title":"Rename, re-caption or delete a website video","description":"Change one of the website's own videos (list_videos gives the ids). rename: a new title for the library (pages keep their section's own title). captions: say whether there is talking and, if so, give the captions as .srt or .vtt text. delete: removes the video for good, only after the owner says yes (confirm: true), and only when no page uses it (take it out of those Video sections first).","inputSchema":{"type":"object","properties":{"video_id":{"type":"string","description":"The video's id, from list_videos"},"action":{"type":"string","enum":["rename","captions","delete"],"description":"rename, captions (add or change them) or delete"},"title":{"type":"string","description":"rename: the new title (the play button says it)"},"speech":{"type":"string","enum":["none","open","file"],"description":"captions: none = no talking, open = the words are already on the video, file = captions given in caption_text"},"caption_text":{"type":"string","description":"captions with speech file: the text of an .srt or .vtt caption file (times and words)"},"confirm":{"type":"boolean","description":"delete: must be true, after the owner has said yes"}},"required":["video_id","action"],"additionalProperties":false},"readOnly":false,"dryRun":false,"confirm":true,"developer":false,"area":"pages","url":"https://ninjahq.ai/developers/tools/pages#update_video"},{"name":"get_developer_guide","title":"The developer guide","description":"The guide for web developers and their AI agents on this website, in Markdown: access, the safe way to work (site versions and preview links), the design system and CSS rules, pages and sections, pictures, the menu, video, redirects, email designs, the checks before and after publishing, and every tool. Call it first when you're building or designing the site.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":true,"area":"help","url":"https://ninjahq.ai/developers/tools/help#get_developer_guide"},{"name":"search_help","title":"Search the NinjaHQ help center","description":"Search NinjaHQ's help center (knowledge base) for how to do something or how a feature works. Use it BEFORE explaining how NinjaHQ works, answering \"how do I...\" or \"where is...\" questions, or guessing at menu names: the articles are the source of truth. Returns article titles, short answers and links; call get_help_article for the full steps.","inputSchema":{"type":"object","properties":{"query":{"type":"string","description":"What the person wants to do or know, in their words, e.g. \"refund a party deposit\""},"limit":{"type":"integer","minimum":1,"maximum":10,"description":"How many articles to return at most"}},"required":["query"],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":true,"area":"help","url":"https://ninjahq.ai/developers/tools/help#search_help"},{"name":"get_help_article","title":"Read a help article","description":"The full help article: where it is in the menu, who can do it, numbered steps, tips and common questions, with its link. Pass the slug from search_help or list_help_topics. Quote the steps and give the person the link.","inputSchema":{"type":"object","properties":{"slug":{"type":"string","description":"The article's slug, e.g. refund-a-payment"}},"required":["slug"],"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":true,"area":"help","url":"https://ninjahq.ai/developers/tools/help#get_help_article"},{"name":"list_help_topics","title":"Help center topics","description":"Every help topic and the articles in it (titles and slugs), to see what NinjaHQ can do or to browse when a search finds nothing.","inputSchema":{"type":"object","properties":{"topic":{"type":"string","description":"Only this topic (its id or name), optional"}},"additionalProperties":false},"readOnly":true,"dryRun":false,"confirm":false,"developer":true,"area":"help","url":"https://ninjahq.ai/developers/tools/help#list_help_topics"}],"pageBuilder":{"module":"page-builder 1.38.0","sections":[{"type":"hero","label":"Hero","category":"Intro","variants":["split","full","stacked","editorial","banner"],"fields":{"eyebrow":{"type":"text","label":"Eyebrow","max":40},"heading":{"type":"text","label":"Heading","max":100,"required":true},"text":{"type":"md","label":"Text","max":500},"image":{"type":"image","label":"Picture"},"size":{"type":"select","label":"Height (Banner and Full Photo)","options":["medium","short","tall"]}},"blocks":{"type":"button","max":3}},{"type":"text","label":"Text","category":"Content","variants":["plain","centered","columns"],"fields":{"eyebrow":{"type":"text","label":"Eyebrow","max":40},"heading":{"type":"text","label":"Heading","max":100},"text":{"type":"md","label":"Text","max":6000,"required":true}},"blocks":{"type":"button","max":4}},{"type":"split","label":"Picture and Text","category":"Content","variants":["image-left","image-right","overlap"],"fields":{"eyebrow":{"type":"text","label":"Eyebrow","max":40},"heading":{"type":"text","label":"Heading","max":100,"required":true},"text":{"type":"md","label":"Text","max":2000},"image":{"type":"image","label":"Picture","required":true}},"blocks":{"type":"button","max":2}},{"type":"columns","label":"Columns","category":"Content","variants":["halves","wide-left","wide-right","thirds","narrow-left","narrow-right"],"note":"Columns side by side on computers, one under another on phones. Each column can hold a heading, text, a picture or a video, and buttons.","fields":{"eyebrow":{"type":"text","label":"Eyebrow","max":40},"heading":{"type":"text","label":"Heading","max":100},"intro":{"type":"md","label":"Intro","max":600},"boxed":{"type":"bool","label":"Each Column on a Card"},"center":{"type":"bool","label":"Center the Words"}},"blocks":{"type":"column","min":1,"max":6}},{"type":"cards","label":"Cards","category":"Content","variants":["grid","list","compact","overlay","showcase"],"fields":{"eyebrow":{"type":"text","label":"Eyebrow","max":40},"heading":{"type":"text","label":"Heading","max":100},"intro":{"type":"md","label":"Intro","max":600},"columns":{"type":"select","label":"Columns","options":["3","2","4"]}},"blocks":{"type":"card","min":1,"max":24}},{"type":"list","label":"Icon List","category":"Content","variants":["plain","columns","boxes"],"fields":{"eyebrow":{"type":"text","label":"Eyebrow","max":40},"heading":{"type":"text","label":"Heading","max":100},"intro":{"type":"md","label":"Intro","max":600}},"blocks":{"type":"item","min":1,"max":30}},{"type":"stats","label":"Numbers","category":"Proof","variants":["band","tiles"],"fields":{"heading":{"type":"text","label":"Heading","max":100}},"blocks":{"type":"stat","min":1,"max":6}},{"type":"quotes","label":"Quotes","category":"Proof","variants":["grid","single","wall","carousel"],"fields":{"eyebrow":{"type":"text","label":"Eyebrow","max":40},"heading":{"type":"text","label":"Heading","max":100}},"blocks":{"type":"quote","min":1,"max":24}},{"type":"faq","label":"Questions","category":"Content","variants":["accordion","columns","toggles"],"fields":{"eyebrow":{"type":"text","label":"Eyebrow","max":40},"heading":{"type":"text","label":"Heading","max":100},"intro":{"type":"md","label":"Intro","max":600},"open":{"type":"bool","label":"Start With the First One Open"}},"blocks":{"type":"qa","min":1,"max":30}},{"type":"cta","label":"Call to Action","category":"Action","variants":["band","card","split"],"fields":{"heading":{"type":"text","label":"Heading","max":100,"required":true},"text":{"type":"md","label":"Text","max":500},"image":{"type":"image","label":"Picture"}},"blocks":{"type":"button","min":1,"max":2}},{"type":"gallery","label":"Gallery","category":"Pictures","variants":["grid","mosaic","strip"],"fields":{"eyebrow":{"type":"text","label":"Eyebrow","max":40},"heading":{"type":"text","label":"Heading","max":100},"intro":{"type":"md","label":"Intro","max":600},"zoom":{"type":"bool","label":"Open Pictures Large When Tapped"}},"blocks":{"type":"image","min":1,"max":24}},{"type":"logos","label":"Logos","category":"Proof","variants":["row","grid"],"fields":{"heading":{"type":"text","label":"Heading","max":100}},"blocks":{"type":"logo","min":1,"max":24}},{"type":"steps","label":"Steps","category":"Content","variants":["numbered","timeline"],"fields":{"eyebrow":{"type":"text","label":"Eyebrow","max":40},"heading":{"type":"text","label":"Heading","max":100},"intro":{"type":"md","label":"Intro","max":600}},"blocks":{"type":"step","min":1,"max":10}},{"type":"pricing","label":"Pricing","category":"Action","variants":["cards","table"],"fields":{"eyebrow":{"type":"text","label":"Eyebrow","max":40},"heading":{"type":"text","label":"Heading","max":100},"intro":{"type":"md","label":"Intro","max":600}},"blocks":{"type":"plan","min":1,"max":6}},{"type":"video","label":"Video","category":"Pictures","variants":["wide","video-left","video-right"],"note":"A video you upload, played from your own website, or a YouTube video. Nothing plays or loads until a visitor presses play; the poster is a picture from your own library.","fields":{"eyebrow":{"type":"text","label":"Eyebrow","max":40},"heading":{"type":"text","label":"Heading","max":100},"text":{"type":"md","label":"Text","max":2000},"file":{"type":"videofile","label":"Uploaded Video"},"video":{"type":"youtube","label":"YouTube Link"},"title":{"type":"text","label":"Video Title","max":100,"required":true},"poster":{"type":"image","label":"Poster Picture"}},"blocks":{"type":"button","max":2}},{"type":"jump","label":"Jump Links","category":"Intro","variants":["buttons","bar"],"note":"Buttons that jump to sections further down this page. Give each section an Anchor in its settings (like parties), then link to it as #parties.","fields":{"eyebrow":{"type":"text","label":"Eyebrow","max":40},"heading":{"type":"text","label":"Heading","max":100}},"blocks":{"type":"button","min":1,"max":10}},{"type":"shared","label":"Shared Sections","category":"Reusable","variants":["default"],"note":"Shows the sections of one of your Shared Sections pages here. Change them on that page and every page that shows them changes too.","fields":{"page":{"type":"text","label":"Shared Sections Page (its address, like /shared/footer-band)","max":80}},"blocks":null}],"blocks":[{"type":"button","label":"Button","fields":{"label":{"type":"text","label":"Label","max":40,"required":true},"href":{"type":"link","label":"Link","required":true},"style":{"type":"select","label":"Style","options":["primary","secondary"]}}},{"type":"card","label":"Card","fields":{"title":{"type":"text","label":"Title","max":80,"required":true},"text":{"type":"md","label":"Text","max":600},"image":{"type":"image","label":"Picture"},"icon":{"type":"select","label":"Icon (instead of a picture)","options":["check","clock","pin","phone","mail","calendar","star","heart","info","trophy","people","arrow","cart","card","gift"]},"badge":{"type":"text","label":"Badge","max":24},"price":{"type":"text","label":"Price","max":24},"href":{"type":"link","label":"Link"},"label":{"type":"text","label":"Link Label","max":40},"href2":{"type":"link","label":"Second Link"},"label2":{"type":"text","label":"Second Link Label","max":40},"hover":{"type":"text","label":"Words on Hover","max":160},"whole":{"type":"bool","label":"Click Anywhere on the Card"}}},{"type":"stat","label":"Number","fields":{"value":{"type":"text","label":"Number","max":12,"required":true},"label":{"type":"text","label":"Label","max":60,"required":true}}},{"type":"quote","label":"Quote","fields":{"text":{"type":"md","label":"Quote","max":600,"required":true},"name":{"type":"text","label":"Name","max":60,"required":true},"role":{"type":"text","label":"Role","max":80},"stars":{"type":"select","label":"Stars","options":["5","4","3","2","1"]}}},{"type":"qa","label":"Question","fields":{"q":{"type":"text","label":"Question","max":160,"required":true},"a":{"type":"md","label":"Answer","max":6000,"required":true},"video":{"type":"youtube","label":"YouTube Video"},"file":{"type":"videofile","label":"Uploaded Video"},"label":{"type":"text","label":"Button Label","max":40},"href":{"type":"link","label":"Button Link"}}},{"type":"column","label":"Column","fields":{"heading":{"type":"text","label":"Heading","max":100},"text":{"type":"md","label":"Text","max":4000},"image":{"type":"image","label":"Picture"},"video":{"type":"youtube","label":"YouTube Video"},"file":{"type":"videofile","label":"Uploaded Video"},"title":{"type":"text","label":"Video Title","max":100},"label":{"type":"text","label":"Button Label","max":40},"href":{"type":"link","label":"Button Link"},"label2":{"type":"text","label":"Second Button Label","max":40},"href2":{"type":"link","label":"Second Button Link"},"picLink":{"type":"bool","label":"Picture Opens the Button's Link"}}},{"type":"item","label":"Line","fields":{"icon":{"type":"select","label":"Icon","options":["check","clock","pin","phone","mail","calendar","star","heart","info","trophy","people","arrow","cart","card","gift","number"]},"text":{"type":"md","label":"Text","max":400,"required":true}}},{"type":"image","label":"Picture","fields":{"image":{"type":"image","label":"Picture","required":true},"caption":{"type":"text","label":"Caption","max":140}}},{"type":"logo","label":"Logo","fields":{"image":{"type":"image","label":"Logo","required":true},"href":{"type":"link","label":"Link"}}},{"type":"step","label":"Step","fields":{"title":{"type":"text","label":"Title","max":80,"required":true},"text":{"type":"md","label":"Text","max":600},"when":{"type":"text","label":"When","max":30}}},{"type":"plan","label":"Plan","fields":{"name":{"type":"text","label":"Name","max":60,"required":true},"price":{"type":"text","label":"Price","max":24,"required":true},"per":{"type":"text","label":"Per","max":24},"text":{"type":"md","label":"What's Included","max":800},"href":{"type":"link","label":"Link"},"label":{"type":"text","label":"Button Label","max":40},"featured":{"type":"bool","label":"Highlight This Plan"}}}],"design":{"roles":["bg","surface","text","muted","accent","accentText","border"],"choices":{"radius":["sharp","soft","round"],"buttons":["solid","outline","pill","underline"],"cards":["flat","outlined","raised","tinted"],"photos":["square","rounded","arch"],"dividers":["none","angle","wave","curve"],"spacing":["compact","normal","airy"],"width":["narrow","normal","wide","full"],"headingCase":["none","upper"],"motion":["none","subtle"]},"fonts":{"poppins":"Poppins (geometric sans)","system":"System sans","humanist":"Humanist sans","rounded":"Rounded sans","condensed":"Condensed sans","serif":"Classic serif","didone":"High-contrast serif","slab":"Slab serif","mono":"Monospace"},"personalities":{"bold-athletic":"Bold Athletic","clean-studio":"Clean Studio","playful-kids":"Playful Kids","editorial":"Editorial","premium-dark":"Premium Dark","retro-gym":"Retro Gym"},"defaultPersonality":"clean-studio","cssRules":"Plain CSS only: no @import, @charset or @namespace; no < or backslashes; url() only for the site's own files under /media/ and /fonts/ (nothing from other websites); nothing that runs code (expression(), javascript:, behavior, -moz-binding); no image-set() or element(); braces must balance and comments must be closed."}}}