Tool reference · 31 tools

Website words, menus, footer and logo

The website's main words and booking link, every menu (header, footer, mega menus), the footer, logo and browser icon, contact details, hours, the hiring page and the success story.

Ask it in plain words

  • "Put Camps in the menu between Classes and Parties."
  • "Change our phone number and Saturday hours."
  • "Use this logo on the dark footer."

Worked examples: Change the menu.

update_hours

Opening hours for a day Changesdry_run

Change the regular opening hours shown in the footer and on the contact page for one day of the week.

ParameterTypeDescription
day requiredstringDay of the week
openstringOpening time, e.g. 11 AM
closestringClosing time, e.g. 8 PM
closedbooleantrue if the gym is closed that day every week
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_hours",
    "arguments": {
      "day": "<day>",
      "dry_run": true
    }
  }
}

get_hiring_page

Hiring page (Join our team) Reads

The website's Join our team page: whether it is shown, its intro and the open positions. Never job applications or applicants.

Takes no parameters.

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

update_hiring_page

Change the hiring page Changesdry_runconfirm

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.

ParameterTypeDescription
show_pagebooleanfalse = hide the Join our team page
introstringUp to 600 characters; empty = the page writes its own
positionsarray of objectThe 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
positions[].title requiredstringe.g. Ninja Coach
positions[].typestring: part-time | full-time | seasonal | contractThe kind of job
positions[].descriptionstringWhat the job is (up to 600 characters)
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_hiring_page",
    "arguments": {
      "dry_run": true
    }
  }
}

get_website_questions

NinjaHQ's questions about the gym Reads

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.

ParameterTypeDescription
showstring: open | answered | allDefault open
Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_website_questions",
    "arguments": {}
  }
}

answer_website_question

Answer one of NinjaHQ's questions Changesdry_run

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.

ParameterTypeDescription
question_id requiredstringFrom get_website_questions
answer requiredstringThe owner's answer in their own words (up to 2,000 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": "answer_website_question",
    "arguments": {
      "question_id": "<question_id>",
      "answer": "<answer>",
      "dry_run": true
    }
  }
}

get_cole_questions

Cole's questions about the website ReadsWeb developer

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.

Takes no parameters.

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

answer_cole_question

Answer one of Cole's questions ChangesWeb developer

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.

ParameterTypeDescription
question_id requiredstringFrom get_cole_questions
answer requiredstringThe answer's id (answer) from get_cole_questions
textstringFor an answer with needs_text: the person's own words (a photo's description, shorter words)
Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "answer_cole_question",
    "arguments": {
      "question_id": "<question_id>",
      "answer": "<answer>"
    }
  }
}

get_contact_details

Contact details Reads

How families reach the gym, as the website shows it: phone, contact email, address and social media links.

Takes no parameters.

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

update_contact_details

Change contact details Changesdry_run

Change the phone number, contact email, address or social media links shown on the website (owners only). Send only what changes.

ParameterTypeDescription
phonestringe.g. (404) 555-0123
contact_emailstringWhere website messages go
streetstringStreet address, e.g. 123 Main St, Suite 4
citystringCity
statestringe.g. GA
zipstringZIP or postal code
instagramstringA link or @handle; empty to remove
facebookstringA link or page name; empty to remove
youtubestringA link or @handle; empty to remove
tiktokstringA link or @handle; empty to remove
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_contact_details",
    "arguments": {
      "dry_run": true
    }
  }
}

get_game_switch

Is the 404 game on? Reads

Whether NinjaHQ Full Send, the obstacle-course game on the website's page-not-found page and at /full-send, is on (Website > Redirects).

Takes no parameters.

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

set_game_switch

Turn the 404 game on or off Changesdry_run

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.

ParameterTypeDescription
on requiredbooleantrue 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_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_game_switch",
    "arguments": {
      "on": true,
      "dry_run": true
    }
  }
}

get_website_words

The website's main words ReadsWeb developer

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).

Takes no parameters.

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

update_website_words

Change the website's main words Changesdry_runWeb developer

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.

ParameterTypeDescription
taglinestringThe small line above the headline, up to 80 characters
headlinestringThe home page's big headline, up to 120 characters
line_under_headlinestringUp to 400 characters
search_descriptionstringWhat Google shows under the site's name, up to 300 characters (about 155 show)
booking_linkstringWhere Book a class and Sign up go: a page of this site like /book or /memberships, or another booking website's address
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_website_words",
    "arguments": {
      "dry_run": true
    }
  }
}

get_menu

The website's menu ReadsWeb developer

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).

ParameterTypeDescription
handlestringA 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.
Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_menu",
    "arguments": {}
  }
}

list_menus

Every menu on the website ReadsWeb developer

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).

Takes no parameters.

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

save_menu

Create or change a menu Changesdry_runWeb developer

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.

ParameterTypeDescription
handlestringThe 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 requiredstringThe menu's name, like Main menu or Footer
items requiredarray of objectThe whole menu, top row in order (see the description for an item's shape)
shows_inarray of header | mobile | footer | topbarWhere 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_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_menu",
    "arguments": {
      "name": "<name>",
      "items": [],
      "dry_run": true
    }
  }
}

set_menu_style

Change how the menus open and look Changesdry_runWeb developer

Change the menu style for the whole website (owners and the web developer). Send only what changes. History can undo it.

ParameterTypeDescription
triggerstring: hover | clickDropdowns open when the pointer is over them, or when clicked
alignstring: center | left | rightWhere the top row's items line up on computers
mobilestring: accordion | drilldownOn phones, dropdowns fold open under the item (accordion, collapsible) or slide in as their own screen with Back (drilldown)
sidestring: right | left | fullThe phone menu slides in from the right, the left, or fills the screen
widthstring: container | full | autoMega menus as wide as the page content, the full screen, or only as wide as they need (a menu can set its own)
iconsstring: on | offAn 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
iconColorstring: brand | colorsThe icon tiles' color: brand = the website's own color (the default), colors = a different color for each icon
fillstring: on | offEvery 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
animationstring: fade | slide | noneHow dropdowns appear (people who ask for less motion get none)
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_menu_style",
    "arguments": {
      "dry_run": true
    }
  }
}

set_header_layout

Change the header's layout Changesdry_runWeb developer

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.

ParameterTypeDescription
layoutstring: standard | singlestandard: 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).
bannerstring: above | belowWhere 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_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_header_layout",
    "arguments": {
      "dry_run": true
    }
  }
}

delete_menu

Delete a menu Changesdry_runWeb developer

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.

ParameterTypeDescription
handle requiredstringThe menu's handle from list_menus
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": "delete_menu",
    "arguments": {
      "handle": "<handle>",
      "dry_run": true
    }
  }
}

set_menu

Change the website's menu Changesdry_runWeb developer

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.

ParameterTypeDescription
items requiredarray of objectThe whole new menu, in order (see the description for the shape)
items[].labelstringThe menu's words for the item
items[].pathstringThe page it opens, e.g. /classes; leave out for a heading that only opens its children
items[].childrenarray of objectA drop-down under this item: [{ label, path }]
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_menu",
    "arguments": {
      "items": [],
      "dry_run": true
    }
  }
}

reset_menu

Go back to the standard menu Changesdry_runWeb developer

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.

ParameterTypeDescription
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": "reset_menu",
    "arguments": {
      "dry_run": true
    }
  }
}

set_favicon

Change the browser-tab icon Changesdry_runWeb developer

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.

ParameterTypeDescription
imageobjectA picture attached in this chat (ChatGPT hands it over as a file).
image.download_url requiredstringThe attached file's download link, as the chat app hands it over
image.file_id requiredstringThe attached file's id in the chat app
image.mime_typestringThe file's type, e.g. image/jpeg or image/png
image.file_namestringThe file's name as the owner attached it
image_urlstringInstead of image: an https link straight to the icon file
image_base64stringInstead of image: the PNG, WebP or JPEG file, base64-encoded
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_favicon",
    "arguments": {
      "dry_run": true
    }
  }
}

get_success_story

The gym's success story Reads

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.

Takes no parameters.

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

set_success_story

Write or share the success story Changesdry_runconfirm

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.

ParameterTypeDescription
in_your_wordsstringWhat changed for the gym, in the owner's own words (up to 600 characters); "" removes it
name_and_titlestringLike Jordan Brooks, Owner
ninjahq_may_sharebooleantrue = NinjaHQ may share the gym's name, the measured gains and these words on ninjahq.ai and in its sales materials; false = stop sharing
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_success_story",
    "arguments": {
      "dry_run": true
    }
  }
}

reopen_website_question

Reopen one of NinjaHQ's questions Changesdry_run

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.

ParameterTypeDescription
question_id requiredstringFrom get_website_questions (show: answered)
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": "reopen_website_question",
    "arguments": {
      "question_id": "<question_id>",
      "dry_run": true
    }
  }
}

get_question_helpers

Who helps answer NinjaHQ's questions Reads

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.

Takes no parameters.

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

set_question_helpers

Choose the topics a person helps answer Changesdry_runconfirm

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.

ParameterTypeDescription
person requiredstringThe coach's or staff member's name (or email), from get_question_helpers
topics requiredarray of stringEvery topic they help with, from get_question_helpers; an empty list = none
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_question_helpers",
    "arguments": {
      "person": "<person>",
      "topics": [],
      "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