Tool reference · 6 tools

Waivers

Waiver templates, translations and which waiver is live.

Ask it in plain words

  • "Add a Spanish translation of our waiver."
  • "Make the field trip waiver live."

get_waiver_templates

The waivers families sign Reads

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.

ParameterTypeDescription
waiverstringOptional: one waiver's name, to get its full text, questions and settings
Call shape
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_waiver_templates",
    "arguments": {}
  }
}

add_waiver_template

Add another waiver Changesdry_run

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.

ParameterTypeDescription
title requiredstringe.g. Summer camp waiver (up to 120 characters)
start_fromstringThe name of an existing waiver to copy; empty = NinjaHQ's sample waiver
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": "add_waiver_template",
    "arguments": {
      "title": "<title>",
      "dry_run": true
    }
  }
}

update_waiver_template

Change a waiver's text or settings Changesdry_runconfirm

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.

ParameterTypeDescription
waiver requiredstringThe waiver's current name
new_titlestringThe waiver's new title
introductionstringThe words above the waiver's sections. A blank line starts a new paragraph.
sectionsarray of objectThe whole list of sections in order; replaces them all. Usually use section_changes or add_sections instead
sections[].heading requiredstringThe section's heading
sections[].text requiredstringThe section's words. A blank line starts a new paragraph; lines starting with "- " become a list.
sections[].initials_requiredbooleantrue = each signer initials this section
section_changesarray of objectChange or remove single sections
section_changes[].section requiredstringThe section's current heading
section_changes[].headingstringThe heading of the section to change (as it is now)
section_changes[].textstringThe section's new words
section_changes[].initials_requiredbooleantrue = each signer initials this section
section_changes[].removebooleantrue removes this section
add_sectionsarray of objectNew sections added at the end
add_sections[].heading requiredstringThe new section's heading
add_sections[].text requiredstringThe section's words. A blank line starts a new paragraph; lines starting with "- " become a list.
add_sections[].initials_requiredbooleantrue = each signer initials this section
questionsarray of objectThe whole list of extra questions in order; replaces them all ([] = none)
questions[].question requiredstringThe question as signers see it
questions[].answer_typestring: short_answer | long_answer | choose_one | yes_no | checkbox | dateHow it is answered
questions[].askedstring: once | each_personOnce per waiver, or once for each person signed for
questions[].requiredbooleantrue = it must be answered
questions[].choicesarray of stringFor choose_one
questions[].flag_answerstringStaff are alerted when someone gives this answer, e.g. yes
questions[].ask_details_on_yesbooleanFor a yes/no question: a yes asks for details
who_signsstring: adults_and_children | adults_only | children_onlyWho the waiver is for
adult_ageinteger18 to 21; younger participants need a parent or guardian to sign
minimum_ageinteger0 = none
children_per_waiverinteger1 to 12
valid_for_monthsinteger1 to 12
safety_videostringA YouTube link; empty for none
video_must_be_watchedbooleantrue = the safety video must be watched before signing
emergency_contactbooleanAsk for an emergency contact
phone_requiredbooleantrue = signers must give a mobile phone
email_gym_on_flagged_answerbooleantrue emails the gym when a signer gives a question's flagged answer
signers_confirm_emailbooleantrue = signers confirm their email address before signing
kiosk_photo_of_signerbooleantrue takes a photo of the signer on the front desk kiosk
marketing_checkboxstringThe words of an optional, always unticked news checkbox; empty for 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": "update_waiver_template",
    "arguments": {
      "waiver": "<waiver>",
      "dry_run": true
    }
  }
}

set_waiver_translation

Translate a waiver Changesdry_runconfirm

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.

ParameterTypeDescription
waiver requiredstringThe waiver template's id or exact title, from get_waiver_templates
language requiredstring: spanish | frenchWhich translation
titlestringThe waiver's title in that language (needed to switch the language on)
introductionstringThe introduction in that language
sectionsarray of objectThe sections in that language: [{ section, heading, text }]
sections[].section requiredstringThe section's English heading
sections[].headingstringThe section's heading in that language
sections[].textstringThe section's words in that language
questionsarray of objectThe extra questions in that language: [{ question, label }]
questions[].question requiredstringThe English question
questions[].labelstringThe question's words in that language
questions[].choicesarray of stringSame order as the English choices
marketing_checkboxstringThe news sign-up box's words in that language
removebooleantrue = switch this language off for the waiver
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_waiver_translation",
    "arguments": {
      "waiver": "<waiver>",
      "language": "spanish",
      "dry_run": true
    }
  }
}

set_waiver_live

Publish a waiver or take it offline Changesdry_runconfirm

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.

ParameterTypeDescription
waiver requiredstringThe waiver template's id or exact title, from get_waiver_templates
live requiredbooleantrue = publish (families can sign it at /waiver and on the kiosk); false = take it offline
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_waiver_live",
    "arguments": {
      "waiver": "<waiver>",
      "live": true,
      "dry_run": true
    }
  }
}

delete_waiver_template

Delete a waiver nobody signed Changesdry_runconfirm

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.

ParameterTypeDescription
waiver requiredstringThe waiver template's id or exact title, from get_waiver_templates
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": "delete_waiver_template",
    "arguments": {
      "waiver": "<waiver>",
      "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