Tool reference · 12 tools

Help, overview and requests

The gym at a glance, the NinjaHQ Help Center, the developer guide and feature requests.

Ask it in plain words

  • "What can you do on my gym's website?"
  • "How do I refund a class? Use the Help Center."
  • "Send NinjaHQ a feature request for a referral program."

Worked examples: Answer a how-to question.

get_overview

About this gym's website ReadsWeb developer

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.

Takes no parameters.

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

get_menu_sections

Menu sections Reads

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.

Takes no parameters.

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

request_feature

Send NinjaHQ a feature request ChangesconfirmWeb developer

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.

ParameterTypeDescription
request requiredstringWhat the owner wanted to do, in their words, with enough detail for NinjaHQ to understand it (10 to 2000 characters)
areastringThe part of NinjaHQ it is about, e.g. Memberships, Competitions, Check-in, Website, AI assistant (optional)
confirmbooleanMust be true, after the owner has said yes
Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "request_feature",
    "arguments": {
      "request": "<request>",
      "confirm": true
    }
  }
}

get_tips

Tips & tricks Reads

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.

ParameterTypeDescription
allbooleantrue = every tip for this person, seen or not; false (default) = the next three they haven't seen
Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_tips",
    "arguments": {}
  }
}

set_tips

Tips & tricks: on, off or seen Changes

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.

ParameterTypeDescription
dashboard_tipbooleanshow a tip on my dashboard
weekly_emailbooleanemail me one tip a week (Thursdays)
seenarray of stringtip ids to mark as seen (from get_tips)
start_overbooleanshow every tip again
Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "set_tips",
    "arguments": {}
  }
}

get_time_zones

Time zones Reads

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.

Takes no parameters.

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

set_time_zone

Change a time zone Changesdry_run

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.

ParameterTypeDescription
time_zone requiredstringAn 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
locationstringThe 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_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_time_zone",
    "arguments": {
      "time_zone": "<time_zone>",
      "dry_run": true
    }
  }
}

get_developer_guide

The developer guide ReadsWeb developer

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.

Takes no parameters.

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

search_help

Search the NinjaHQ help center ReadsWeb developer

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.

ParameterTypeDescription
query requiredstringWhat the person wants to do or know, in their words, e.g. "refund a party deposit"
limitintegerHow many articles to return at most
Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "search_help",
    "arguments": {
      "query": "<query>"
    }
  }
}

get_help_article

Read a help article ReadsWeb developer

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.

ParameterTypeDescription
slug requiredstringThe article's slug, e.g. refund-a-payment
Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_help_article",
    "arguments": {
      "slug": "<slug>"
    }
  }
}

list_help_topics

Help center topics ReadsWeb developer

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.

ParameterTypeDescription
topicstringOnly this topic (its id or name), optional
Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_help_topics",
    "arguments": {}
  }
}

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