Tool reference · 13 tools

Community, schools and homeschool

The Community page and gear board, homeschool groups, nearby schools and their break calendars, and school partners.

Ask it in plain words

  • "Find schools within 5 miles and their winter break dates."
  • "Add the Oak Hill PTA as a school partner."

get_community

Community page Reads

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.

Takes no parameters.

Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_community",
    "arguments": {}
  }
}

update_community

Change what the gym offers on its Community page Changesdry_runconfirm

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.

ParameterTypeDescription
adaptive_classesbooleantrue = the gym offers adaptive classes or welcomes adaptive athletes
adaptive_notestringHow it works at the gym (up to 300 characters)
scholarshipsbooleantrue = the gym offers scholarship spots
scholarship_notestringHow a family asks (up to 300 characters)
listed_on_ninjahq_communitybooleantrue = the gym's name, city, offers, gear posts and stories show on ninjahq.ai/community
thank_you_month_to_community_fundbooleantrue = give the referral thank-you month to the Ninja Community Fund
confirmbooleanMust be true, after the owner has said yes
dry_runbooleantrue = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "update_community",
    "arguments": {
      "dry_run": true
    }
  }
}

save_gear_post

Add or change a gear board post Changesdry_run

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.

ParameterTypeDescription
poststringThe post's current title, to change one; leave out to add a post
titlestringWhat it is, e.g. 8 ft warped wall (up to 80 characters)
kindstring: sell | give | lend | wantedsell = for sale, give = free to a good home, lend, wanted = the gym is looking for it
price_or_termsstringe.g. $400, pick up only (up to 40 characters)
detailsstringCondition, size, where (up to 400 characters)
dry_runbooleantrue = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "save_gear_post",
    "arguments": {
      "dry_run": true
    }
  }
}

remove_gear_post

Remove a gear board post Changesdry_runconfirm

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.

ParameterTypeDescription
post requiredstringThe post's title
confirmbooleanMust be true, after the owner has said yes
dry_runbooleantrue = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "remove_gear_post",
    "arguments": {
      "post": "<post>",
      "dry_run": true
    }
  }
}

get_homeschool_groups

Homeschool groups Reads

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.

ParameterTypeDescription
outreachstring: all | new | contacted | talking | partner | noOnly groups at this outreach step (default all)
Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_homeschool_groups",
    "arguments": {}
  }
}

save_homeschool_group

Add or change a homeschool group Changesdry_run

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.

ParameterTypeDescription
groupstringThe group's current name, to change one; leave out to add a group
namestringThe organization's name (up to 120 characters)
kindstring: coop | cc | support | hybrid | library | online | othercoop, cc (Classical Conversations), support, hybrid, library (library or church program), online, other
meets_atstringWhere it meets (up to 160)
whenstringWhen it meets, e.g. Tuesdays 9-12 (up to 80)
areastringThe area it serves (up to 120)
websitestringIts website link
contact_formstringIts PUBLIC contact form link (never a person's email or phone)
found_atstringA link to where the gym found it
outreachstring: new | contacted | talking | partner | nonew (not contacted), contacted, talking, partner, no (not interested)
notestringUp to 500 characters; no names, emails or phone numbers
dry_runbooleantrue = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "save_homeschool_group",
    "arguments": {
      "dry_run": true
    }
  }
}

remove_homeschool_group

Remove a homeschool group Changesdry_runconfirm

Take a homeschool group off the outreach list (owners only). Ask the owner to confirm, then send confirm: true. History can bring it back.

ParameterTypeDescription
group requiredstringThe group's id or exact name, from get_homeschool_groups
confirmbooleanMust be true, after the owner has said yes
dry_runbooleantrue = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "remove_homeschool_group",
    "arguments": {
      "group": "<group>",
      "dry_run": true
    }
  }
}

get_school_calendars

School districts and their days off Reads

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.

Takes no parameters.

Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_school_calendars",
    "arguments": {}
  }
}

set_school_district_dates

Set a school district's days off Changesdry_runconfirm

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.

ParameterTypeDescription
district requiredstringThe district's name from get_school_calendars
days_off requiredarray of objectEvery day off for the school year: this replaces the district's list
days_off[].start requiredstringYYYY-MM-DD
days_off[].endstringYYYY-MM-DD for a break of several days; leave out for one day
days_off[].namestringe.g. Thanksgiving break (up to 60 characters)
days_off[].kindstring: break | holiday | noschool | early | first | last | summerbreak, holiday (one day), noschool (staff or digital learning day), early (early release), first / last (school days), summer
school_yearstringe.g. 2026-2027
calendar_linkstringThe district's published calendar (https://...)
confirmbooleanMust be true, after the owner has said yes
dry_runbooleantrue = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "set_school_district_dates",
    "arguments": {
      "district": "<district>",
      "days_off": [],
      "dry_run": true
    }
  }
}

find_nearby_schools

Find the school districts near the gym Changesdry_run

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.

ParameterTypeDescription
radius_milesinteger3 to 40 miles around the gym; leave out to search the current radius again
dry_runbooleantrue = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "find_nearby_schools",
    "arguments": {
      "dry_run": true
    }
  }
}

get_school_partners

School partners Reads

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.

Takes no parameters.

Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_school_partners",
    "arguments": {}
  }
}

save_school_partner

Add or change a partner school Changesdry_runconfirm

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.

ParameterTypeDescription
schoolstringThe partner school's current name, to change one; leave out to add a school
namestringA new school's name (up to 120 characters)
contact_namestringThe PTA or school contact's name as the school lists it (up to 80)
contact_rolestringe.g. PTA President (up to 60)
contact_emailstringThe school's PUBLIC PTA or office address, never a student's or parent's
colorstringThe school's color for its pages, like #1d4ed8
statusstring: draft | invited | active | paused | endeddraft (not contacted), invited, active (partner), paused, ended
confirmbooleanMust be true, after the owner has said yes
dry_runbooleantrue = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "save_school_partner",
    "arguments": {
      "dry_run": true
    }
  }
}

set_school_donation

Set the donation to partner schools Changesdry_run

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.

ParameterTypeDescription
howstring: percent | flatpercent = a percentage of a new family's first camp (before tax); flat = a set amount per new family
percentnumber0 to 100
flat_amountnumberDollars per new family, 0 to 500
paid_outstringWhen the gym pays the PTA, e.g. after each school break (up to 60 characters)
dry_runbooleantrue = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "set_school_donation",
    "arguments": {
      "dry_run": true
    }
  }
}

All 318 tools

Ask NinjaHQ

Answers from our Help Center and website

Ask anything about NinjaHQ, or try:

AI answers from NinjaHQ's own pages and can make mistakes. Your questions are sent to Anthropic, the AI company, to answer; NinjaHQ doesn't keep them. Privacy