Server definition
- Hash
- sha256:b90cfc596f9a5e963bd595b6567ea7e73e89ac97aaf6c5f666bd3ca735025f02
- What it is
- What a remote MCP server returned when asked what it offers: 65 tools
The blob, as servednamed by its sha256
{
"instructions": "Goal: find_coaching_brain; 1:1: find_personal_coach. Coaches: meet_the_coaches, ask_coach. Food: fuel_my_training_week. Your own coach: talk_to_my_coach. Program: search_phorme_programs. Sport: preview_sport_week. Race: find_races, plan_for_race. Workout: preview_workout_import, find_exercise_swap. Log: get_training_history, get_lift_progress, get_planned_sessions. Show warnings; confirm writes; share links, then render_training_import. Use only tool output; invent no ids, dates, loads. No prices.",
"tools": [
{
"description": "Use this when an owner wants to accept or decline one ask held for the plan at their place, by its hold_id. Read the ask back to the owner first, and set confirmation to true only after they said yes. Accept books the member in (a paid class is held while they pay on Phorme's own page; a full class puts them on the waitlist), or sends a 1:1 request on to the place's email. Decline ends it, with the owner's short note when they gave one. Either way the member hears. Accepting needs the gym plan at that place; the result then gives plan_url instead. It takes no payment. It needs a connected Phorme account that owns the place.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"answer": {
"enum": [
"accept",
"decline"
],
"type": "string"
},
"confirmation": {
"const": true,
"description": "Set to true only after the owner said yes to this answer.",
"type": "boolean"
},
"hold_id": {
"description": "The hold_id from list_held_requests.",
"format": "uuid",
"type": "string"
},
"note": {
"description": "For decline: a short note to the member, in the owner's words.",
"maxLength": 200,
"type": "string"
}
},
"required": [
"hold_id",
"answer",
"confirmation"
],
"type": "object"
},
"name": "answer_held_request",
"outputSchema": {
"properties": {
"hold": {
"description": "id, outcome (released, declined or expired) and booking_status.",
"type": [
"object",
"null"
]
},
"next": {
"type": "string"
},
"plan_url": {
"type": [
"string",
"null"
]
}
},
"required": [
"hold",
"next"
],
"type": "object"
}
},
{
"description": "Use this when the user wants one Phorme coach's take on a training or food question, for example \"ask Miles how easy my easy runs should be\" or \"what would Nutmeg have me eat before a long run\". It returns that coach's answer in its own voice, from its method, in about 120 words. It knows nothing about the user beyond the question and changes nothing. Do not use it for pain, injury or medical questions.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"coach": {
"description": "The coach to ask, by name or the coach id from meet_the_coaches, for example \"miles\".",
"maxLength": 40,
"type": "string"
},
"question": {
"description": "The user's question in their words.",
"maxLength": 300,
"minLength": 5,
"type": "string"
}
},
"required": [
"coach",
"question"
],
"type": "object"
},
"name": "ask_coach",
"outputSchema": {
"properties": {
"answer": {
"description": "The coach's answer. Show it as that coach's words.",
"type": [
"string",
"null"
]
},
"coach": {
"description": "coach, name and animal of the coach who answered.",
"type": [
"object",
"null"
]
},
"limits": {
"description": "What this answer does not cover. Tell the user.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"coach",
"answer",
"limits"
],
"type": "object"
}
},
{
"description": "Use this when a Phorme coach wants to hear how their AI coach answers one question, to check it sounds like them. It returns the answer and the coach's own passages it drew on, and changes nothing. Each answer runs Phorme's model under a spending cap; once the cap is reached it says so. It needs a connected Phorme account that owns the brain.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"brain_id": {
"description": "The brain id of the coach's own build, for example \"cameron\".",
"maxLength": 80,
"type": "string"
},
"question": {
"maxLength": 300,
"minLength": 5,
"type": "string"
}
},
"required": [
"brain_id",
"question"
],
"type": "object"
},
"name": "ask_my_coach",
"outputSchema": {
"properties": {
"answer": {
"type": "string"
},
"brain_id": {
"type": "string"
},
"question": {
"type": "string"
},
"sources": {
"items": {
"type": "string"
},
"type": "array"
},
"spent_usd": {
"type": [
"number",
"null"
]
}
},
"required": [
"answer"
],
"type": "object"
}
},
{
"description": "Use this when a signed-in user wants a place in one class at a Phorme gym or studio. Confirm the class, the day and time, and the gym with the user first, and set confirmation to true only after they said yes. It books the class for the connected Phorme account: booked when there is a spot, on the waitlist when it is full, a spot held for 15 minutes when the class is paid, or a request the gym is told about when the gym has not opened booking on Phorme yet. A paid class is finished from the gym's page on phor.me. This tool takes no payment, gives no payment link, names no amount and never sells a subscription or membership. Booking the same class again returns the same booking. It needs a connected Phorme account with the training:write permission.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"class_id": {
"description": "The class_id of the class, from find_gym_class.",
"format": "uuid",
"type": "string"
},
"confirmation": {
"const": true,
"description": "Set to true only after the user said yes to this class, day, time and gym.",
"type": "boolean"
},
"place_id": {
"description": "The place_id of its gym or studio, from the same find_gym_class result.",
"maxLength": 80,
"type": "string"
}
},
"required": [
"class_id",
"confirmation"
],
"type": "object"
},
"name": "book_gym_class",
"outputSchema": {
"properties": {
"book_url": {
"description": "The class page on phor.me.",
"type": [
"string",
"null"
]
},
"booking_id": {
"description": "The booking, for cancel_gym_booking.",
"type": [
"string",
"null"
]
},
"class": {
"description": "title, starts (local time at the gym) and minutes.",
"type": [
"object",
"null"
]
},
"next": {
"description": "What to tell the user next.",
"type": "string"
},
"place": {
"description": "name, city and page_url of the gym or studio.",
"type": [
"object",
"null"
]
},
"status": {
"description": "booked: the user is in. waitlisted: the class is full; Phorme moves them up if a spot opens. pending_payment: the class is paid and the spot is held 15 minutes; they finish booking it from place.page_url. requested: the gym is told they asked; held up to 7 days, not a booking yet. book_on_phorme: nothing was booked; give them book_url.",
"enum": [
"booked",
"waitlisted",
"pending_payment",
"requested",
"book_on_phorme"
],
"type": "string"
}
},
"required": [
"status",
"booking_id",
"book_url",
"next"
],
"type": "object"
}
},
{
"description": "Use this when a signed-in user wants to give up a class they booked, are on the waitlist for, or asked a gym for on Phorme. Confirm which class with the user first, and set confirmation to true only after they said yes. It cancels that booking for the connected Phorme account and frees the spot for the next person on the waitlist. It takes the booking id, or the class id of the booked class. Sales are final, so a paid class is not refunded. It needs a connected Phorme account with the training:write permission.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"booking_id": {
"description": "The booking_id from book_gym_class. Give this or class_id.",
"format": "uuid",
"type": "string"
},
"class_id": {
"description": "The class_id of the booked class, when the booking_id is not known.",
"format": "uuid",
"type": "string"
},
"confirmation": {
"const": true,
"description": "Set to true only after the user said yes to cancelling this class.",
"type": "boolean"
}
},
"required": [
"confirmation"
],
"type": "object"
},
"name": "cancel_gym_booking",
"outputSchema": {
"properties": {
"booking_id": {
"type": [
"string",
"null"
]
},
"cancelled": {
"type": "boolean"
},
"next": {
"description": "What to tell the user next.",
"type": "string"
}
},
"required": [
"cancelled",
"next"
],
"type": "object"
}
},
{
"description": "Use this when the owner or manager of a gym, studio, sports clinic or race asks whether ChatGPT knows their place or race or recommends it, for example \"does ChatGPT recommend my gym?\", \"what does AI say about my physio clinic in Austin?\" or \"does ChatGPT know our triathlon?\". It asks OpenAI's model with web search two questions a customer or athlete would ask: about the place or race, and for the best of its kind in its city. It returns whether it was found, whether it was named among the best and who was named instead, which of five facts a customer needs were stated (where, hours, classes or treatments, prices, how to book; for a race: where it starts, race date, course, entry fee, how to register), the pages it cited, and a link to the full result. Prices are reported only as stated or not, and a fact counts as stated only when the answer gave it. It also returns a free next step: a link to claim the place on Phorme (for a race, the race organiser page). It takes up to a minute, reuses a check of the same place from the last week, and saves the result as a share page; it changes nothing about the place on Phorme. It is for owners and managers, not for rating a place for someone choosing where to go.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"city": {
"description": "The city it is in (for a race, where it is held).",
"maxLength": 60,
"minLength": 2,
"type": "string"
},
"kind": {
"description": "What kind of place it is, as a customer would search. Defaults to gyms.",
"enum": [
"gyms",
"strength gyms",
"CrossFit gyms",
"HYROX gyms",
"yoga studios",
"pilates studios",
"boxing gyms",
"cycling studios",
"climbing gyms",
"physical therapy clinics",
"sports medicine clinics",
"chiropractors",
"sports massage therapists",
"recovery studios",
"triathlons",
"marathons",
"half marathons",
"HYROX races",
"trail races"
],
"type": "string"
},
"place": {
"description": "The gym, clinic or race's name, as the owner or organiser wrote it.",
"maxLength": 80,
"minLength": 2,
"type": "string"
}
},
"required": [
"place",
"city"
],
"type": "object"
},
"name": "check_place_in_ai",
"outputSchema": {
"properties": {
"checked_at": {
"type": "string"
},
"city": {
"type": "string"
},
"facts": {
"description": "Each fact a customer needs: fact, stated, value (null for prices).",
"type": "array"
},
"facts_stated": {
"type": "string"
},
"identified": {
"description": "Whether ChatGPT found this specific place.",
"type": "boolean"
},
"kind": {
"type": "string"
},
"limits": {
"description": "What this check does not show. Tell the user.",
"items": {
"type": "string"
},
"type": "array"
},
"named_in_best_of_city": {
"description": "Whether it was named when asked for the best of its kind in the city.",
"type": "boolean"
},
"named_instead": {
"description": "Places named instead, when it was not.",
"items": {
"type": "string"
},
"type": "array"
},
"next_step": {
"description": "What the next step does, in one line.",
"type": "string"
},
"next_step_url": {
"description": "Free next step: claim the place on Phorme (a race: the organiser page). It names no price.",
"type": "string"
},
"place": {
"type": "string"
},
"result_url": {
"description": "The full result on gyms.phor.me. Share it.",
"type": "string"
},
"sources": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"identified",
"named_in_best_of_city",
"facts",
"result_url",
"limits"
],
"type": "object"
}
},
{
"description": "Use this when an owner says a gym Phorme already lists is theirs and nobody runs it on Phorme yet, for example \"that gym is mine\". Confirm the place with the owner first, and set confirmation to true only after they said yes. It never hands the place over by itself: Phorme sends a six digit code to the email or phone the place has on file, not to the person asking. Whoever reads that inbox or phone gives them the code, and entering it makes them the owner. A place with neither on file waits for Phorme's team. It takes no payment. It needs a connected Phorme account.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"confirmation": {
"const": true,
"description": "Set to true only after the owner said yes to claiming this place.",
"type": "boolean"
},
"place_id": {
"description": "The place_id of the listed place, from find_gym_class.",
"maxLength": 80,
"type": "string"
},
"via": {
"description": "Where the code goes, when the place has both on file. Default email.",
"enum": [
"email",
"phone"
],
"type": "string"
}
},
"required": [
"place_id",
"confirmation"
],
"type": "object"
},
"name": "claim_place",
"outputSchema": {
"properties": {
"claim": {
"description": "claim_id, place_id, place_name, status (code_sent or review), channel, sent_to (masked), expires_at.",
"type": "object"
},
"next": {
"type": "string"
}
},
"required": [
"claim",
"next"
],
"type": "object"
}
},
{
"description": "Use this when a Phorme coach wants to review one of their 1:1 clients before a check-in or before writing their training. It returns the client's goal, week, movements they never do, training maxes, the next 14 days of their plan, sessions done in the last 28 days with their numbers, sleep, HRV, resting heart rate, steps and bodyweight, food targets against what they logged, and pain notes. Never their chats with the AI. The client's data is for coaching that client only; never share it elsewhere. It reads only and needs a client_id from coach_clients.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"brain_id": {
"description": "The brain id of the coach's own build, for example \"cameron\".",
"maxLength": 80,
"type": "string"
},
"client_id": {
"description": "The client_id of one of the coach's 1:1 clients, from coach_clients.",
"maxLength": 36,
"type": "string"
}
},
"required": [
"brain_id",
"client_id"
],
"type": "object"
},
"name": "coach_client_brief",
"outputSchema": {
"properties": {
"body": {
"type": "object"
},
"brain_id": {
"type": "string"
},
"client_id": {
"type": "string"
},
"done_28d": {
"type": "array"
},
"food": {
"type": "object"
},
"goal": {
"type": [
"string",
"null"
]
},
"maxes": {
"type": "array"
},
"never": {
"type": "array"
},
"pain": {
"type": "array"
},
"plan_14d": {
"type": "array"
},
"schedule": {}
},
"required": [
"client_id"
],
"type": "object"
}
},
{
"description": "Use this when a Phorme coach wants to send one of their 1:1 clients a check-in, a form note (optionally with a video link) or a message. It posts to the client's coach thread in the app as the coach and sends them a notification. Send the coach's own words; never write as the coach without their yes. Set confirmation to true only after the coach approved exactly this text.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"brain_id": {
"description": "The brain id of the coach's own build, for example \"cameron\".",
"maxLength": 80,
"type": "string"
},
"client_id": {
"description": "The client_id of one of the coach's 1:1 clients, from coach_clients.",
"maxLength": 36,
"type": "string"
},
"confirmation": {
"const": true,
"description": "True only after the coach approved this text.",
"type": "boolean"
},
"kind": {
"enum": [
"checkin",
"form",
"message"
],
"type": "string"
},
"text": {
"maxLength": 4000,
"minLength": 1,
"type": "string"
},
"video_url": {
"description": "An https link to a form video, for a form note.",
"maxLength": 500,
"type": "string"
}
},
"required": [
"brain_id",
"client_id",
"kind",
"text",
"confirmation"
],
"type": "object"
},
"name": "coach_client_post",
"outputSchema": {
"properties": {
"brain_id": {
"type": "string"
},
"client_id": {
"type": "string"
},
"kind": {
"type": "string"
},
"posted": {
"type": "boolean"
}
},
"required": [
"posted"
],
"type": "object"
}
},
{
"description": "Use this after a Phorme coach has reviewed one of their 1:1 clients, to record today as the review and, if the coach set one, the date of the next check-in. It changes only the coach's own check-in dates for that client. Call it only after the coach said the review is done.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"brain_id": {
"description": "The brain id of the coach's own build, for example \"cameron\".",
"maxLength": 80,
"type": "string"
},
"client_id": {
"description": "The client_id of one of the coach's 1:1 clients, from coach_clients.",
"maxLength": 36,
"type": "string"
},
"next_check_in": {
"description": "The next check-in, YYYY-MM-DD.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
}
},
"required": [
"brain_id",
"client_id"
],
"type": "object"
},
"name": "coach_client_reviewed",
"outputSchema": {
"properties": {
"brain_id": {
"type": "string"
},
"client_id": {
"type": "string"
},
"next_check_in": {
"type": [
"string",
"null"
]
},
"reviewed_on": {
"type": [
"string",
"null"
]
}
},
"type": "object"
}
},
{
"description": "Use this when a Phorme coach has written a workout for one of their 1:1 clients and wants it on the client's plan. It writes it as a real session on that day, marked from the coach, with loads filled from the client's maxes where the coach gave none; the client can undo it in the app. replace true rewrites the workout the coach already put on that day. Send the workout exactly as the coach wrote it. Set confirmation to true only after the coach said yes to this workout for this client.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"brain_id": {
"description": "The brain id of the coach's own build, for example \"cameron\".",
"maxLength": 80,
"type": "string"
},
"client_id": {
"description": "The client_id of one of the coach's 1:1 clients, from coach_clients.",
"maxLength": 36,
"type": "string"
},
"confirmation": {
"const": true,
"description": "True only after the coach said yes to this workout for this client.",
"type": "boolean"
},
"date": {
"description": "The day, YYYY-MM-DD. Today when left out.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
},
"exercises": {
"items": {
"additionalProperties": false,
"properties": {
"group": {
"description": "The same label on two movements makes them a superset.",
"maxLength": 12,
"type": "string"
},
"load_lb": {
"maximum": 2000,
"minimum": 0,
"type": "number"
},
"meters": {
"description": "A carry, sled or run by distance, instead of reps.",
"maximum": 10000,
"minimum": 5,
"type": "integer"
},
"name": {
"maxLength": 60,
"minLength": 1,
"type": "string"
},
"note": {
"description": "A tempo, drop set or cue, on the last set.",
"maxLength": 140,
"type": "string"
},
"reps": {
"maximum": 50,
"minimum": 1,
"type": "integer"
},
"reps_to": {
"description": "The top of a rep range.",
"maximum": 60,
"minimum": 1,
"type": "integer"
},
"rest_s": {
"maximum": 300,
"minimum": 0,
"type": "integer"
},
"seconds": {
"description": "A hold or timed set, instead of reps.",
"maximum": 600,
"minimum": 10,
"type": "integer"
},
"sets": {
"maximum": 10,
"minimum": 1,
"type": "integer"
}
},
"required": [
"name",
"sets"
],
"type": "object"
},
"maxItems": 20,
"minItems": 1,
"type": "array"
},
"replace": {
"description": "True to rewrite the workout the coach already put on that day.",
"type": "boolean"
},
"title": {
"description": "A short name, for example \"Lower A\".",
"maxLength": 80,
"minLength": 2,
"type": "string"
}
},
"required": [
"brain_id",
"client_id",
"title",
"exercises",
"confirmation"
],
"type": "object"
},
"name": "coach_client_workout",
"outputSchema": {
"properties": {
"brain_id": {
"type": "string"
},
"client_id": {
"type": "string"
},
"date": {
"type": [
"string",
"null"
]
},
"next": {
"type": "string"
},
"result": {},
"title": {
"type": "string"
},
"written": {
"type": "boolean"
}
},
"required": [
"written"
],
"type": "object"
}
},
{
"description": "Use this when a Phorme coach (or their agent) asks about their 1:1 clients: who they are, when each is due a check-in, when the coach last reviewed them, when they last trained, sessions kept over 28 days, and flags such as missed sessions or pain reported. Only the coach's own paying 1:1 clients are listed; a client who paid but has not opened the app yet shows in_app false. It reads only. It needs a connected Phorme account that owns the brain.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"brain_id": {
"description": "The brain id of the coach's own build, for example \"cameron\".",
"maxLength": 80,
"type": "string"
}
},
"required": [
"brain_id"
],
"type": "object"
},
"name": "coach_clients",
"outputSchema": {
"properties": {
"brain_id": {
"type": "string"
},
"clients": {
"description": "Each client: client_id, name, in_app, paid_until, started_on, next_check_in, reviewed_on, last_trained, kept_28d (\"done of due\") and flags.",
"type": "array"
}
},
"required": [
"clients"
],
"type": "object"
}
},
{
"description": "Use this when a coach has another coach's Phorme code and wants to start their own coaching brain from it, for example \"start my brain from K7Q2-XR4D\". Sent with the code alone, it shows whose brain it is and whether its coach lets other coaches copy it, and changes nothing. Sent with a name and confirmation, it makes a new draft brain from it with its rules and programs, which the coach then makes their own; the coach who made it keeps 10% of what the copy earns. It needs a connected Phorme account; set confirmation to true only after the coach said yes and chose the name.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"code": {
"description": "The code as the coach gave it, for example \"K7Q2-XR4D\", or its phor.me/c/ link.",
"maxLength": 80,
"type": "string"
},
"confirmation": {
"const": true,
"description": "True only after the coach confirmed the copy and its name.",
"type": "boolean"
},
"name": {
"description": "The name the coach chose for their copy. Needed to copy.",
"maxLength": 40,
"minLength": 2,
"type": "string"
}
},
"required": [
"code"
],
"type": "object"
},
"name": "copy_coach_from_code",
"outputSchema": {
"properties": {
"brain": {
"type": "object"
},
"console_url": {
"type": "string"
},
"copied": {
"type": "boolean"
},
"found": {
"type": "boolean"
},
"next": {
"type": "string"
},
"requires_confirmation": {
"type": "boolean"
}
},
"required": [
"copied"
],
"type": "object"
}
},
{
"description": "Use this when a Phorme coach reads an answer their AI coach gave and says how they would say it instead. It keeps the coach's version; every later answer that finds this question leads with it. Send the question, the answer unchanged and the coach's own fix. Set confirmation to true only after the coach approved the fix as written.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"answer": {
"maxLength": 6000,
"minLength": 1,
"type": "string"
},
"brain_id": {
"description": "The brain id of the coach's own build, for example \"cameron\".",
"maxLength": 80,
"type": "string"
},
"confirmation": {
"const": true,
"description": "True only after the coach approved this fix.",
"type": "boolean"
},
"fix": {
"description": "How the coach would say it, in their own words.",
"maxLength": 4000,
"minLength": 10,
"type": "string"
},
"question": {
"maxLength": 300,
"minLength": 5,
"type": "string"
}
},
"required": [
"brain_id",
"question",
"answer",
"fix",
"confirmation"
],
"type": "object"
},
"name": "correct_my_coach",
"outputSchema": {
"properties": {
"brain_id": {
"type": "string"
},
"corrections": {
"type": [
"integer",
"null"
]
},
"kept": {
"type": "boolean"
},
"next": {
"type": "string"
}
},
"required": [
"kept"
],
"type": "object"
}
},
{
"description": "Use this when an owner on the gym plan wants to see who is covered or asked to be at one place, or to invite, approve or remove one member, for example \"invite my member Sam to train free\". action list reads who is listed and changes nothing. For invite (by the member's phone), approve (a member who asked) and remove, read it back to the owner first, and set confirmation to true only after they said yes. An invite sends the phone a text to join; the member hears once when they are covered or removed. Cover counts only while the gym plan covers the place, up to its cap; past it, new members pay as normal. It takes no payment here. It needs a connected Phorme account that owns the place.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"action": {
"enum": [
"list",
"invite",
"approve",
"remove"
],
"type": "string"
},
"confirmation": {
"const": true,
"description": "Set to true only after the owner said yes to this change to who is covered.",
"type": "boolean"
},
"member_id": {
"description": "For approve and remove: the member_id from action list.",
"format": "uuid",
"type": "string"
},
"phone": {
"description": "For invite: the member's phone with its country code, for example +15125550100.",
"maxLength": 30,
"type": "string"
},
"place_id": {
"description": "The place_id of one of the owner's places, from get_gym_report or create_or_claim_place.",
"maxLength": 80,
"type": "string"
}
},
"required": [
"place_id",
"action"
],
"type": "object"
},
"name": "cover_member",
"outputSchema": {
"properties": {
"cover": {
"description": "on, plan, state (active, needs_plan or off), cap, covered, asked, invited and left.",
"type": [
"object",
"null"
]
},
"member": {
"description": "The member changed, as in members.",
"type": [
"object",
"null"
]
},
"members": {
"description": "For list: member_id, label (a name, or the phone's last four), status (asked, invited, covered), counts, asked_at, invited_at, covered_at.",
"type": "array"
},
"next": {
"type": "string"
},
"place_id": {
"type": "string"
},
"plan_url": {
"description": "The plan on phor.me, a price-free link, when the place is not on it.",
"type": [
"string",
"null"
]
}
},
"required": [
"place_id",
"next"
],
"type": "object"
}
},
{
"description": "Use this when a gym, studio or clinic owner wants their place on Phorme, for example after an AI check, or says \"list my gym\". Confirm the name, city and address with the owner first, and set confirmation to true only after they said yes. It lists the place for the connected account as a draft nobody sees yet, with its page facts, and finds the map pin from the address. If the account already lists a place with that name in that city it returns that place and changes nothing. Listing is free; it takes no payment and starts no plan. It needs a connected Phorme account.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"about": {
"description": "One or two plain sentences about the place, in the owner's words.",
"maxLength": 600,
"type": "string"
},
"address": {
"description": "The street address. The map pin is found from it.",
"maxLength": 200,
"type": "string"
},
"book_label": {
"description": "The words on its booking button, for example \"Book a class\".",
"maxLength": 40,
"type": "string"
},
"book_url": {
"description": "The place's own booking page, starting with https://.",
"maxLength": 300,
"type": "string"
},
"city": {
"maxLength": 60,
"minLength": 1,
"type": "string"
},
"confirmation": {
"const": true,
"description": "Set to true only after the owner said yes to listing this place.",
"type": "boolean"
},
"country": {
"description": "For example \"United States\".",
"maxLength": 60,
"minLength": 1,
"type": "string"
},
"hours": {
"description": "Opening hours, one line each, for example [\"Mon to Fri, 6 am to 9 pm\", \"Sat, 8 am to noon\"].",
"items": {
"maxLength": 80,
"type": "string"
},
"maxItems": 8,
"type": "array"
},
"kind": {
"description": "What the place is: gym (also studios and boxes) or a kind of care.",
"enum": [
"gym",
"physio",
"sports_medicine",
"chiropractic",
"massage",
"recovery"
],
"type": "string"
},
"lat": {
"description": "Latitude of the map pin, only to set it by hand.",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"line": {
"description": "One line on what the place is, in the owner's words.",
"maxLength": 140,
"type": "string"
},
"lon": {
"description": "Longitude of the map pin, only to set it by hand.",
"maximum": 180,
"minimum": -180,
"type": "number"
},
"name": {
"description": "The place's name, as the owner wrote it.",
"maxLength": 60,
"minLength": 2,
"type": "string"
},
"phone": {
"description": "The place's public phone number, as the owner gave it.",
"maxLength": 30,
"type": "string"
},
"prices": {
"description": "What training at the place costs, shown on its page, in the owner's own words: one line each, for example \"Drop-in 25 dollars\", or { label, amount (in dollars) or amount_cents, period, note }. At most 12; an empty list clears them. Repeat them only to the owner.",
"items": {
"anyOf": [
{
"maxLength": 120,
"type": "string"
},
{
"additionalProperties": false,
"properties": {
"amount": {
"description": "In dollars.",
"maximum": 100000,
"minimum": 0,
"type": "number"
},
"amount_cents": {
"maximum": 10000000,
"minimum": 0,
"type": "integer"
},
"label": {
"description": "For example \"Drop-in\" or \"Ten class pack\".",
"maxLength": 60,
"type": "string"
},
"note": {
"maxLength": 120,
"type": "string"
},
"period": {
"enum": [
"drop_in",
"day",
"week",
"month",
"year",
"class_pack",
"other"
],
"type": "string"
}
},
"required": [
"label"
],
"type": "object"
}
]
},
"maxItems": 12,
"type": [
"string",
"array"
]
},
"request_email": {
"description": "Where booking confirmations and requests are emailed. Never shown in public.",
"maxLength": 200,
"type": "string"
},
"timezone": {
"description": "The place's IANA time zone, for example \"America/Chicago\".",
"maxLength": 60,
"type": "string"
},
"website": {
"description": "The place's own website, starting with https://.",
"maxLength": 300,
"type": "string"
}
},
"required": [
"name",
"city",
"country",
"confirmation"
],
"type": "object"
},
"name": "create_or_claim_place",
"outputSchema": {
"properties": {
"next": {
"description": "What to tell the owner next.",
"type": "string"
},
"place": {
"description": "The place: place_id, name, kind, line, city, country, address, hours, about, book_url, request_email, request_phone (texts, never public), prices, phone, timezone, status (draft or live), page_url, upcoming_classes, brain_id, on_plan, held_requests and plan_url (the plan on phor.me, a price-free link; null when on the plan).",
"type": [
"object",
"null"
]
},
"status": {
"enum": [
"created",
"existing"
],
"type": "string"
}
},
"required": [
"status",
"place",
"next"
],
"type": "object"
}
},
{
"description": "Use this when the user wants to be seen in person by a physical therapist, sports medicine clinic, chiropractor, sports massage therapist or recovery studio, in a city they name or, when they name none, near the approximate location the assistant shares. It returns up to five Phorme clinic and recovery partners, nearest or best matching first, each with the kind of care, the services it lists, its page on phor.me and a link to ask for an appointment there. It takes a place and a kind of care, never symptoms. It reads only, does not diagnose or treat, shows no prices and books nothing.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"care": {
"description": "The kind of care the user asked for, only if they named one.",
"enum": [
"physio",
"sports_medicine",
"chiropractic",
"massage",
"recovery"
],
"type": "string"
},
"city": {
"description": "The city the user named, for example \"Austin\".",
"maxLength": 80,
"type": "string"
}
},
"type": "object"
},
"name": "find_clinic",
"outputSchema": {
"properties": {
"clinics": {
"description": "Clinics, nearest or best matching first: name, care, line, city, country, distance_km, page_url, request_url and services.",
"type": "array"
},
"limits": {
"description": "What this does not cover. Tell the user.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"clinics",
"limits"
],
"type": "object"
}
},
{
"description": "Use this when the user wants a way to train for a goal or sport, for example \"I want to get more explosive for basketball\", \"build muscle three days a week\" or \"train for a half marathon\", or wants to train with a named coach, for example \"train with Cameron Goodson\", and has not picked a programme, or has a coach code someone gave them, for example K7Q2-XR4D. Phorme coaching brains are curated training methods: a coach, the principles the method trains by, and a coach-built programme. It returns up to three brains that fit, best first, each with its coach, focus, how it trains and its programmes with weeks and days a week; with a coach named, only that coach's brains; with a code, the one brain it belongs to and its page. It reads only and changes nothing. Do not use it for injury rehab or nutrition.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"coach": {
"description": "A coach the user named, for example \"Cameron Goodson\". Only that coach's brains are returned.",
"maxLength": 80,
"type": "string"
},
"code": {
"description": "A Phorme coach code exactly as the user gave it, for example \"K7Q2-XR4D\", or a phor.me/c/ link. Only when they gave one.",
"maxLength": 80,
"type": "string"
},
"days_per_week": {
"description": "Training days a week, only if the user said.",
"maximum": 7,
"minimum": 1,
"type": "integer"
},
"goal": {
"description": "What the user wants from training, in their words, for example \"jump higher\" or \"first HYROX race\". Needed unless a code is given.",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"sport": {
"description": "The sport or position, only if the user named one.",
"maxLength": 80,
"type": "string"
}
},
"type": "object"
},
"name": "find_coaching_brain",
"outputSchema": {
"properties": {
"brains": {
"description": "Best fit first: id, name, coach, coach_title, focus, how_it_trains, image_url and image_alt (Phorme's own picture of the brain, its programme cover or its coach's room: show it, never a web photo), programmes (name, summary, weeks, days_per_week, image_url) and why it fits.",
"type": "array"
},
"code": {
"description": "The coach code that was looked up, when one was given.",
"type": "string"
},
"goal": {
"type": "string"
},
"limits": {
"description": "What this does not cover. Tell the user.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"goal",
"brains",
"limits"
],
"type": "object"
}
},
{
"description": "Use this when the user needs a replacement for one exercise because they do not have the equipment, the station is taken, or they want a different option, for example no cable machine for cable rows. It returns up to five Phorme library movements of the same kind that the user's equipment allows, each with a demo link, and says so when it has to offer the nearest kind instead. It reads only and changes nothing, including any saved plan. Do not use it to work around pain or injury.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"available_equipment": {
"description": "Equipment the user has, for example [\"dumbbells\", \"bench\"] or [\"none\"]. Ask when the user did not say.",
"items": {
"maxLength": 60,
"minLength": 1,
"type": "string"
},
"maxItems": 20,
"minItems": 1,
"type": "array"
},
"exercise": {
"description": "The exercise to replace, as the user wrote it, for example \"Seated cable row\".",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"reason": {
"description": "Why they need a swap, only if they said.",
"enum": [
"equipment",
"busy",
"preference"
],
"type": "string"
}
},
"required": [
"exercise",
"available_equipment"
],
"type": "object"
},
"name": "find_exercise_swap",
"outputSchema": {
"properties": {
"exercise": {
"type": "string"
},
"limits": {
"description": "What the swaps do not cover. Tell the user.",
"items": {
"type": "string"
},
"type": "array"
},
"match": {
"description": "nearest_kind: nothing of the same kind fits the equipment, so these work the same muscles from a different angle.",
"enum": [
"same_kind",
"nearest_kind",
"none"
],
"type": "string"
},
"matched": {
"description": "The Phorme library movement the exercise matched.",
"type": [
"string",
"null"
]
},
"pattern": {
"description": "The kind of movement, for example horizontal_pull.",
"type": [
"string",
"null"
]
},
"swaps": {
"description": "Replacements, best first, each with name, equipment and demo_url.",
"type": "array"
}
},
"required": [
"exercise",
"match",
"swaps",
"limits"
],
"type": "object"
}
},
{
"description": "Use this when the user wants a gym, studio or class to train at in person, for example \"a strength class in Austin this week\" or \"a gym near me\". It returns up to five Phorme gyms, studios and other places to train in the city named or, when no city is named, within 60 km (or radius_km) of the approximate location the assistant shares, nearest or best matching first, each with its page on phor.me and its classes in the coming days with the class id, local start time, length, places left and a link to book on phor.me. When nothing matches it returns alternatives: the nearest places further out, and a home plan from a Phorme coaching brain. It reads only and shows no prices; booking a class for a signed-in user is a separate step.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"city": {
"description": "The city the user named, for example \"Austin\".",
"maxLength": 80,
"type": "string"
},
"class_type": {
"description": "The kind of class, only if the user said, for example \"barbell\" or \"yoga\".",
"maxLength": 60,
"type": "string"
},
"days": {
"description": "How many days ahead to look. Default 7.",
"maximum": 14,
"minimum": 1,
"type": "integer"
},
"radius_km": {
"description": "How far to look, in km. Default 60. Use a larger one only when the user said they would travel.",
"maximum": 300,
"minimum": 1,
"type": "integer"
}
},
"type": "object"
},
"name": "find_gym_class",
"outputSchema": {
"properties": {
"alternatives": {
"description": "When nothing matched or no class is scheduled: kind (wider_radius, other_cities, home_plan), line (what to offer), tool, and for wider_radius the nearest places further out. Offer them; never leave the user with nothing.",
"type": "array"
},
"limits": {
"description": "What this does not cover. Tell the user.",
"items": {
"type": "string"
},
"type": "array"
},
"places": {
"description": "Gyms, studios and other places to train, nearest or best matching first: place_id, name, kind, line, city, country, distance_km, page_url and classes (class_id, the id book_gym_class takes, then title, line, starts, minutes, spots_left, book_url).",
"type": "array"
}
},
"required": [
"places",
"limits"
],
"type": "object"
}
},
{
"description": "Use this when the user wants a human coach of their own: 1:1 coaching, someone who writes their program for them, checks in each week, reviews how they move or answers their messages, for example \"I want a real coach for basketball\" or \"can someone coach me one on one?\". It returns the Phorme coaches taking 1:1 clients now, with what the coaching includes, how many spots are open and the coach's page, where the terms and joining are. It shows no prices, books nothing and changes nothing. Coaching is training, not medical care.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"goal": {
"description": "What the user wants coaching for, in their words, only if they said.",
"maxLength": 200,
"type": "string"
},
"sport": {
"description": "Their sport, only if they named one.",
"maxLength": 80,
"type": "string"
}
},
"type": "object"
},
"name": "find_personal_coach",
"outputSchema": {
"properties": {
"coaches": {
"description": "Each coach taking 1:1 clients: coach, coach_url, offer, summary, includes, spots (status, detail, open), page_url, how_it_starts, and free_review (open, page_url) when the coach has a free plan review spot this week.",
"type": "array"
},
"limits": {
"description": "What this does not cover. Tell the user.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"coaches",
"limits"
],
"type": "object"
}
},
{
"description": "Use this when the user is looking for a race to enter, for example \"which 70.3 can I do in South America next spring\", \"marathons in Europe in April\" or \"a HYROX near Riga\". It lists races from Phorme's verified race listings that fit the kind of race, the place (a country, city or region) and the months asked, by date only, each with its city, date, its own page, its registration as the organiser last showed it, and whether Phorme has a plan that counts back to it. When the organiser has given them, the race's own logistics are included: where to pick up the race packet, the nearest airport, getting there and the official hotels the organiser lists, with the page they came from. It reads only and changes nothing. Only races in Phorme's listings are returned, with the dates the listings give.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"from_month": {
"description": "First month, YYYY-MM, only if the user gave a window.",
"pattern": "^\\d{4}-(0[1-9]|1[0-2])$",
"type": "string"
},
"kind": {
"description": "The kind of race, for example \"70.3\", \"triathlon\", \"marathon\", \"half marathon\" or \"HYROX\". Leave out for any.",
"maxLength": 60,
"type": "string"
},
"to_month": {
"description": "Last month, YYYY-MM, only if the user gave a window.",
"pattern": "^\\d{4}-(0[1-9]|1[0-2])$",
"type": "string"
},
"where": {
"description": "A country, city or region, for example \"Colombia\", \"Barranquilla\" or \"South America\". Leave out for anywhere.",
"maxLength": 80,
"type": "string"
}
},
"type": "object"
},
"name": "find_races",
"outputSchema": {
"properties": {
"limits": {
"description": "Where the dates come from and what to check. Tell the user.",
"items": {
"type": "string"
},
"type": "array"
},
"races": {
"description": "Races by date: name, city, country, on (YYYY-MM-DD or null), url (the race's own page), registration (status open, sold_out, opening_soon or closed, its url and checked_on, or null), has_plan, and logistics (the race's own venue, packet pickup, airport, official hotels and guide links as the organiser listed them, with source_url and checked_on; null when not given).",
"type": "array"
}
},
"required": [
"races",
"limits"
],
"type": "object"
}
},
{
"description": "Use this when the user wants a week of eating planned around their training, for example \"what should I eat this week, I lift Monday and Thursday and run long on Saturday\", \"meal plan for marathon training\" or \"a grocery list for my training week\". Nutmeg, the Phorme nutrition coach, sizes each day's energy, protein, carbs and fat to that day's training, times the meals around the sessions, and builds one shopping list by aisle, with the same rules the Phorme app uses. It needs the user's bodyweight and their week of training; ask for those if they did not say. It changes nothing and saves nothing. Do not use it for medical diets, eating disorders, pregnancy or anyone under 18.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"avoid": {
"description": "Foods to leave out, only when the user said so.",
"items": {
"enum": [
"dairy",
"gluten",
"nuts",
"egg",
"fish",
"soy"
],
"type": "string"
},
"type": "array"
},
"days": {
"description": "One entry per day from start, in order; a rest day has no sessions.",
"items": {
"additionalProperties": false,
"properties": {
"sessions": {
"items": {
"additionalProperties": false,
"properties": {
"hard": {
"description": "True for a hard session: intervals, a heavy lift, a race-pace effort.",
"type": "boolean"
},
"kind": {
"description": "lift (weights), run, ride, swim, hyrox (or other conditioning), sport (a game or practice) or easy (a walk, yoga, mobility).",
"enum": [
"lift",
"run",
"ride",
"swim",
"hyrox",
"sport",
"easy"
],
"type": "string"
},
"km": {
"description": "A run's distance in km, when known.",
"type": "number"
},
"minutes": {
"maximum": 360,
"minimum": 10,
"type": "integer"
}
},
"required": [
"kind",
"minutes"
],
"type": "object"
},
"maxItems": 3,
"type": "array"
}
},
"type": "object"
},
"maxItems": 7,
"minItems": 1,
"type": "array"
},
"diet": {
"description": "Only when the user said so.",
"enum": [
"any",
"vegetarian",
"vegan",
"pescatarian"
],
"type": "string"
},
"goal": {
"description": "fuel (eat for performance, the default), lean (lose fat slowly), gain (build) or maintain.",
"enum": [
"fuel",
"lean",
"gain",
"maintain"
],
"type": "string"
},
"start": {
"description": "The first day of the week, YYYY-MM-DD. Default today.",
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
"type": "string"
},
"train_at": {
"description": "When they usually train, 24-hour HH:MM, for example \"17:30\". Meals are timed around it.",
"pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]$",
"type": "string"
},
"unit": {
"description": "The unit of weight. Default lb.",
"enum": [
"lb",
"kg"
],
"type": "string"
},
"weight": {
"description": "The user's bodyweight, in unit.",
"maximum": 550,
"minimum": 35,
"type": "number"
}
},
"required": [
"weight",
"days"
],
"type": "object"
},
"name": "fuel_my_training_week",
"outputSchema": {
"properties": {
"coach": {
"description": "Nutmeg, the coach who planned it.",
"type": [
"object",
"null"
]
},
"days": {
"description": "Each day: date, training (rest, easy, moderate, hard, long), calories, protein_g, carbs_g, fat_g and meals (time, meal, name, items, calories, protein_g).",
"type": "array"
},
"limits": {
"description": "What this week does not cover. Tell the user.",
"items": {
"type": "string"
},
"type": "array"
},
"shopping": {
"description": "The week's shopping by aisle: each item with its amount.",
"type": "array"
}
},
"required": [
"coach",
"days",
"shopping",
"limits"
],
"type": "object"
}
},
{
"description": "Use this when an owner on the gym plan wants to change the card, see invoices or change how many places the plan covers. It returns a link to Stripe's own billing page for the owner to open. It is a link only: nothing is paid or changed in the chat, and it changes nothing by itself. It needs a connected Phorme account.",
"inputSchema": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"name": "get_gym_billing_link",
"outputSchema": {
"properties": {
"billing_url": {
"description": "Stripe's own billing page, or null when it opens from the console.",
"type": [
"string",
"null"
]
},
"console_url": {
"description": "The Plan tab of the console on phor.me.",
"type": "string"
},
"next": {
"type": "string"
}
},
"required": [
"console_url",
"next"
],
"type": "object"
}
},
{
"description": "Use this when a gym, studio or clinic owner asks about their own places on Phorme: what is listed, what is live, and how each place did, for example \"how is my gym doing on Phorme?\" or \"did anyone book this week?\". It returns each place the connected account lists, with its page and status, and its report: times shown by assistants, page views, asks held, bookings, requests, members and the share earned. A place on the free listing shows a little reach and what it missed; the rest is locked, the same as the web console. It reads only and changes nothing. It needs a connected Phorme account.",
"inputSchema": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"name": "get_gym_report",
"outputSchema": {
"properties": {
"claims": {
"description": "The account's open claims on places nobody ran: claim_id, place_id, place_name, status (code_sent or review), channel, sent_to (masked), expires_at.",
"type": "array"
},
"console_url": {
"type": "string"
},
"next": {
"description": "What to tell the owner next.",
"type": "string"
},
"places": {
"description": "Each place the account lists, as create_or_claim_place returns it.",
"type": "array"
},
"report": {
"description": "One per place. tier free: views_30d, times_shown_30d, ai_check, missed (bookings, asked, members), asks_held, locked and plan_url. tier plan: times_shown, visits, assistant_reads_30d, clicks, bookings, requests, asks_held, members, share_earned_cents, ai_check, asked and funnel.",
"type": "array"
},
"visits_unavailable": {
"description": "True when page visits could not be read just now.",
"type": "boolean"
}
},
"required": [
"places",
"report",
"console_url",
"next"
],
"type": "object"
}
},
{
"description": "Use this when the user asks how one of their lifts is progressing or wants it graphed, for example \"how is my bench going\" or \"chart my squat over six months\". It finds the lift in their Phorme log by the words they use and returns one point per session with the best set, estimated max and volume, the change over the period and their best session, and shows a chart card. It reads only and changes nothing. It needs a connected Phorme account. Weights are in pounds. If no lift matched it lists the lifts they have logged.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"months": {
"description": "How many months back to look. Defaults to 6.",
"maximum": 24,
"minimum": 1,
"type": "integer"
},
"movement": {
"description": "The lift as the user said it, for example \"bench\", \"back squat\" or \"RDL\".",
"maxLength": 80,
"minLength": 1,
"type": "string"
}
},
"required": [
"movement"
],
"type": "object"
},
"name": "get_lift_progress",
"outputSchema": {
"properties": {
"also_matched": {
"description": "Other logged lifts the words also matched.",
"items": {
"type": "string"
},
"type": "array"
},
"best": {
"type": [
"object",
"null"
]
},
"change": {
"description": "from_e1rm_lb, to_e1rm_lb, change_lb and change_pct over the period.",
"type": [
"object",
"null"
]
},
"found": {
"type": "boolean"
},
"logged_movements": {
"description": "When nothing matched: the lifts they log most.",
"items": {
"type": "string"
},
"type": "array"
},
"movement": {
"description": "The logged lift that matched, or null.",
"type": [
"string",
"null"
]
},
"points": {
"description": "Oldest first: on, top_set, e1rm_lb, volume_lb, sets.",
"type": "array"
}
},
"required": [
"found"
],
"type": "object"
}
},
{
"description": "Use this when a Phorme coach asks for the code or link to share one of their coaching brains, for example \"what is my coach code?\". Each brain has one code, like K7Q2-XR4D, made the first time it is asked for and kept as the brain changes. Anyone who types it in the Phorme app or opens its link starts with that brain. It needs a connected Phorme account that owns the brain.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"brain_id": {
"description": "The brain id from the coach's brains.",
"maxLength": 80,
"type": "string"
}
},
"required": [
"brain_id"
],
"type": "object"
},
"name": "get_my_brain_code",
"outputSchema": {
"properties": {
"brain_id": {
"type": "string"
},
"code": {
"type": "string"
},
"console_url": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"code",
"url"
],
"type": "object"
}
},
{
"description": "Use this when a Phorme coach (or their agent) asks where their AI coach's training stands. It returns the stage (study, first or rate), the one next step to take, and counts of passages, corrections, principles and rating rounds with the last score. Always read next from here; never assume the stage. It reads only. It needs a connected Phorme account that owns the brain.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"brain_id": {
"description": "The brain id of the coach's own build, for example \"cameron\".",
"maxLength": 80,
"type": "string"
}
},
"required": [
"brain_id"
],
"type": "object"
},
"name": "get_my_coach",
"outputSchema": {
"properties": {
"brain_id": {
"type": "string"
},
"console_url": {
"type": "string"
},
"corrections": {
"type": "integer"
},
"model": {
"description": "Where the model's voice and method come from (coach_studio, own or none) and a method preview.",
"type": [
"object",
"null"
]
},
"next": {
"type": "string"
},
"passages": {
"type": "integer"
},
"principles": {
"type": "integer"
},
"rounds": {
"type": "array"
},
"score": {
"type": [
"object",
"null"
]
},
"stage": {
"type": "string"
}
},
"required": [
"brain_id",
"stage",
"next"
],
"type": "object"
}
},
{
"description": "Use this when a Phorme coach asks about their own coaching brains: how many members train under each, who went quiet, what they have earned, and whether a note to members can go today. It reads only and changes nothing. It needs a connected Phorme account; an account without a coaching brain gets the address of the coach console.",
"inputSchema": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"name": "get_my_coaching_business",
"outputSchema": {
"properties": {
"brains": {
"description": "Each brain with status, member totals, quiet members (labels only), earnings in cents and whether a note may go today.",
"type": "array"
},
"coach": {
"description": "Whether the account has an active coach plan.",
"type": "boolean"
},
"console_url": {
"type": "string"
}
},
"required": [
"brains",
"console_url"
],
"type": "object"
}
},
{
"description": "Use this when an owner wants their share paid to their bank and has not set it up, for example when no bank is set up yet. Confirm with the owner first, and set confirmation to true only after they said yes. It returns a link to Stripe's own form, where the owner gives their bank to Stripe. It is a link only: the bank is never given in the chat, and it takes no payment. It needs a connected Phorme account.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"confirmation": {
"const": true,
"description": "Set to true only after the owner said yes to setting up payouts.",
"type": "boolean"
},
"country": {
"description": "The two letter country of the bank, for example US. Default US.",
"maxLength": 2,
"minLength": 2,
"type": "string"
}
},
"required": [
"confirmation"
],
"type": "object"
},
"name": "get_payout_setup_link",
"outputSchema": {
"properties": {
"console_url": {
"type": "string"
},
"next": {
"type": "string"
},
"setup_url": {
"description": "Stripe's own form, or null when it opens from the console.",
"type": [
"string",
"null"
]
}
},
"required": [
"console_url",
"next"
],
"type": "object"
}
},
{
"description": "Use this when an owner asks what Phorme paid them, or what goes out next, for example \"what did Phorme pay my gym?\". It returns what the account earned, what was paid out, what is going out, what is owed now, whether a bank is set up, and each recent payout. It reads only and changes nothing. It needs a connected Phorme account.",
"inputSchema": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"name": "get_payouts",
"outputSchema": {
"properties": {
"balance": {
"description": "earned_cents, paid_cents, going_out_cents, available_cents, min_payout_cents and payouts_ready. Null when it is read in the console.",
"type": [
"object",
"null"
]
},
"console_url": {
"type": "string"
},
"next": {
"type": "string"
},
"payouts": {
"description": "payout_id, amount_cents, status (pending, paid or failed) and created_at, newest first.",
"type": "array"
}
},
"required": [
"payouts",
"console_url",
"next"
],
"type": "object"
}
},
{
"description": "Use this when the user picked one Phorme program and wants its details. It returns the program, every session of its first week, where to find it in the Phorme app, and a link to a page that describes it. It reads only, shows no prices and starts no purchase.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"program_id": {
"description": "The program id returned by search_phorme_programs.",
"maxLength": 160,
"type": "string"
}
},
"required": [
"program_id"
],
"type": "object"
},
"name": "get_phorme_program",
"outputSchema": {
"properties": {
"access": {
"type": "string"
},
"first_week": {
"description": "Every session of the first week with its exercises and demo links.",
"type": "array"
},
"id": {
"type": "string"
},
"info_url": {
"description": "A page that describes the program. It has nothing to buy on it.",
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"id",
"title",
"first_week",
"info_url",
"access"
],
"type": "object"
}
},
{
"description": "Use this when the user asks what their Phorme plan has for today or the coming days, for example \"what is my workout today\". It returns each planned session with its exercises, sets, reps and the loads Phorme set from their own maxes. It reads only and changes nothing, including the plan. It needs a connected Phorme account. Weights are in pounds.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"days": {
"description": "How many days ahead, starting today. Defaults to 7.",
"maximum": 14,
"minimum": 1,
"type": "integer"
}
},
"type": "object"
},
"name": "get_planned_sessions",
"outputSchema": {
"properties": {
"found": {
"type": "boolean"
},
"plan": {
"description": "The name of the plan they follow.",
"type": [
"string",
"null"
]
},
"sessions": {
"description": "In date order: on, title, status, minutes and exercises with sets, target, load and note.",
"type": "array"
}
},
"required": [
"found"
],
"type": "object"
}
},
{
"description": "Use this when the user asks about a workout or program already saved to Phorme in this conversation, for example to get its Phorme link again. It returns the title and open link for training owned by the connected Phorme account and changes nothing. It needs the training_id from that save. It cannot list, search, edit or delete training.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"training_id": {
"description": "The training_id returned by save_workout_to_phorme or save_program_to_phorme.",
"format": "uuid",
"type": "string"
},
"training_kind": {
"description": "Whether the saved item is a workout or a program.",
"enum": [
"workout",
"program"
],
"type": "string"
}
},
"required": [
"training_kind",
"training_id"
],
"type": "object"
},
"name": "get_saved_training",
"outputSchema": {
"properties": {
"open_url": {
"description": "Link that opens the saved training in Phorme.",
"type": "string"
},
"status": {
"enum": [
"saved"
],
"type": "string"
},
"title": {
"type": [
"string",
"null"
]
},
"training_id": {
"format": "uuid",
"type": "string"
},
"training_kind": {
"enum": [
"workout",
"program"
],
"type": "string"
}
},
"required": [
"training_kind",
"training_id",
"status",
"open_url",
"title"
],
"type": "object"
}
},
{
"description": "Use this when the user asks about their own training logged in Phorme: what they did last time, how often they trained, their personal records, or a next workout built on their recent sessions. It returns their most recent logged workouts with each exercise's sets, best set, estimated max and volume, how many workouts they logged in the last 7 and 30 days, and their latest records. It reads only and changes nothing. It needs a connected Phorme account. Weights are in pounds.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"limit": {
"description": "How many recent workouts to return, newest first. Defaults to 10.",
"maximum": 20,
"minimum": 1,
"type": "integer"
}
},
"type": "object"
},
"name": "get_training_history",
"outputSchema": {
"properties": {
"found": {
"description": "False when this account has no Phorme training yet.",
"type": "boolean"
},
"last_30_days": {
"type": "integer"
},
"last_7_days": {
"type": "integer"
},
"records": {
"description": "Latest personal records: movement, label, value and date.",
"type": "array"
},
"total_logged": {
"type": "integer"
},
"workouts": {
"description": "Newest first: date, title, minutes and exercises with sets, best_set, e1rm_lb and volume_lb.",
"type": "array"
}
},
"required": [
"found"
],
"type": "object"
}
},
{
"description": "Use this when an owner asks who wants to book or visit their place, for example \"who asked to book this week?\". At a place not on the gym plan, class bookings and 1:1 requests are held for 7 days. It returns each one waiting: its hold_id, the place, the class and its local time (or that it is a 1:1 request), the member's first name, their note and best times, when it expires, and whether it can be accepted now. It reads only and changes nothing. It needs a connected Phorme account that owns the place.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"place_id": {
"description": "Only this place. Leave out for all of the owner's places.",
"maxLength": 80,
"type": "string"
}
},
"type": "object"
},
"name": "list_held_requests",
"outputSchema": {
"properties": {
"held": {
"description": "hold_id, place_id, place_name, kind (class or session), class (title, starts), first_name, note, times, asked_at, expires_at, can_accept and plan_url (the plan on phor.me, a price-free link, when it cannot be accepted yet).",
"type": "array"
},
"next": {
"type": "string"
}
},
"required": [
"held",
"next"
],
"type": "object"
}
},
{
"description": "Use this when the user asks who the Phorme coaches are, wants to pick a coach by personality, or names one (for example Miles, Atlas or Nutmeg). Each Phorme coach is a character who plans one kind of training: running, strength, mobility, HYROX, triathlon, athletic training, food, or the adaptive plan. It returns each coach with its animal, what it plans, the scene that shows it, its personality and the Phorme builds it coaches. It reads only and changes nothing.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"coach": {
"description": "One coach's name, only when the user named one, for example \"Miles\".",
"maxLength": 40,
"type": "string"
}
},
"type": "object"
},
"name": "meet_the_coaches",
"outputSchema": {
"properties": {
"coaches": {
"description": "coach (its id), name, animal, plans (the training it plans), the_scene (what it does in one moment), personality, traits, builds (id and name; find_coaching_brain finds the right one) and colour.",
"type": "array"
},
"limits": {
"description": "What this does not cover. Tell the user.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"coaches",
"limits"
],
"type": "object"
}
},
{
"description": "Use this when the user names a race they are training for, for example \"IRONMAN 70.3 Barranquilla\", \"I signed up for the half ironman in Cartagena\" or \"Chicago Marathon\". It finds the race in Phorme's race listings (name, date, city and the race's own page), counts the weeks to race day, and returns the week of Phorme's plan for that kind of race that lines up with race day, with sets, reps, paces, coach notes and a demo link for each exercise. For a triathlon (IRONMAN 70.3, 5150, full) it is swim, bike and run in one plan, with efforts until the athlete's swim and bike tests are in. When the organiser has given them, the race's own logistics come with it (venue, where to pick up the race packet, airport, official hotels from the organiser), with the page and date they were read. It reads only and changes nothing. If the race is not listed it says so; never guess a race date. Do not use it for injury rehab or nutrition.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"race": {
"description": "The race as the user named it, for example \"IRONMAN 70.3 Barranquilla\".",
"maxLength": 120,
"minLength": 2,
"type": "string"
}
},
"required": [
"race"
],
"type": "object"
},
"name": "plan_for_race",
"outputSchema": {
"properties": {
"brain": {
"description": "The Phorme coaching brain the plan follows: name, coach and how_it_trains.",
"type": [
"object",
"null"
]
},
"days_out": {
"type": [
"integer",
"null"
]
},
"limits": {
"description": "What this plan does not cover and where its dates come from. Tell the user.",
"items": {
"type": "string"
},
"type": "array"
},
"program": {
"description": "The plan: title, weeks and days_per_week, and its summary.",
"type": [
"object",
"null"
]
},
"race": {
"description": "The race as listed: name, city, country, on (YYYY-MM-DD, null when not yet published), url (the race's own page), registration, and logistics: the race's own venue, packet_pickup, airport, getting_there, hotels (up to 6 official hotels, each name, url and note), course_url, athlete_guide_url, source_url and checked_on, as the organiser listed them, or null.",
"type": [
"object",
"null"
]
},
"sessions": {
"description": "The sessions of that week, each with a title and exercises.",
"type": "array"
},
"starts_on": {
"description": "When the race is further off than the plan, the day the plan's first week starts.",
"type": [
"string",
"null"
]
},
"week_number": {
"description": "The week of the plan these sessions are.",
"type": [
"integer",
"null"
]
},
"weeks_out": {
"type": [
"integer",
"null"
]
}
},
"required": [
"race",
"sessions",
"limits"
],
"type": "object"
}
},
{
"description": "Use this when the user wants to turn a multiweek training program from this conversation into trackable Phorme training. It checks every week and workout, matches exercises to the Phorme movement library, and stores a private preview for 24 hours. It does not save training to any account. Do not use it for a single workout, nutrition plans or medical questions.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"program": {
"additionalProperties": false,
"description": "The multiweek program to preview, taken from this conversation. At most 500 workouts in total.",
"properties": {
"description": {
"description": "Short summary of the program.",
"maxLength": 2000,
"type": "string"
},
"difficulty": {
"description": "Intended training level. Defaults to intermediate.",
"enum": [
"beginner",
"intermediate",
"advanced"
],
"type": "string"
},
"title": {
"description": "Program name, for example \"Four week strength base\".",
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"weeks": {
"description": "Weeks in order.",
"items": {
"additionalProperties": false,
"properties": {
"focus": {
"description": "Short focus for the week, for example \"Volume\".",
"maxLength": 300,
"type": "string"
},
"week_number": {
"description": "Week position in the program, starting at 1. Each week_number appears once.",
"maximum": 52,
"minimum": 1,
"type": "integer"
},
"workouts": {
"description": "Workouts in this week.",
"items": {
"additionalProperties": false,
"properties": {
"day_number": {
"description": "Day position within the week, starting at 1. Each day_number appears once in a week.",
"maximum": 14,
"minimum": 1,
"type": "integer"
},
"estimated_duration_minutes": {
"description": "Expected length of the workout in minutes.",
"maximum": 360,
"minimum": 1,
"type": "integer"
},
"exercises": {
"description": "Exercises in the order they are performed. At most 300 sets in total.",
"items": {
"additionalProperties": false,
"properties": {
"duration": {
"description": "Work time in seconds for a timed exercise.",
"exclusiveMinimum": 0,
"maximum": 7200,
"type": "number"
},
"load": {
"description": "Target load, for example \"80%\", \"135 lb\", \"60 kg\", \"bodyweight\" or \"RPE 8\".",
"maxLength": 80,
"type": "string"
},
"name": {
"description": "Exercise name as written in the conversation, for example \"Back squat\".",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"notes": {
"description": "Short coaching note for this exercise.",
"maxLength": 500,
"type": "string"
},
"reps": {
"description": "Reps per set as short text, for example \"8\", \"8-10\", \"AMRAP\" or \"40 sec\".",
"maxLength": 40,
"minLength": 1,
"type": "string"
},
"rest": {
"description": "Rest between sets, for example \"90 sec\" or \"2 min\".",
"maxLength": 40,
"type": "string"
},
"sets": {
"description": "Number of sets.",
"maximum": 20,
"minimum": 1,
"type": "integer"
}
},
"required": [
"name",
"sets",
"reps"
],
"type": "object"
},
"maxItems": 100,
"minItems": 1,
"type": "array"
},
"notes": {
"description": "Short note for the whole workout.",
"maxLength": 2000,
"type": "string"
},
"title": {
"description": "Workout name, for example \"Lower body strength\".",
"maxLength": 160,
"minLength": 1,
"type": "string"
}
},
"required": [
"day_number",
"exercises"
],
"type": "object"
},
"maxItems": 14,
"minItems": 1,
"type": "array"
}
},
"required": [
"week_number",
"workouts"
],
"type": "object"
},
"maxItems": 52,
"minItems": 1,
"type": "array"
}
},
"required": [
"title",
"weeks"
],
"type": "object"
}
},
"required": [
"program"
],
"type": "object"
},
"name": "preview_program_import",
"outputSchema": {
"properties": {
"estimated_duration_minutes": {
"type": [
"integer",
"null"
]
},
"exercise_count": {
"type": "integer"
},
"exercises": {
"description": "Each exercise with its Phorme library match and demo link.",
"items": {
"properties": {
"demo_url": {
"description": "Page with the movement demo.",
"type": [
"string",
"null"
]
},
"equipment": {
"description": "Equipment the matched movement uses.",
"type": [
"string",
"null"
]
},
"equipment_ok": {
"description": "Whether that fits the equipment the user listed. Null when no equipment was given or the library does not say.",
"type": [
"boolean",
"null"
]
},
"library_name": {
"description": "The Phorme movement it matched, or null when nothing matched.",
"type": [
"string",
"null"
]
},
"name": {
"type": "string"
}
},
"required": [
"name",
"library_name",
"equipment",
"equipment_ok",
"demo_url"
],
"type": "object"
},
"type": "array"
},
"expires_at": {
"description": "When the preview can no longer be saved, as an ISO 8601 time.",
"type": "string"
},
"preview_id": {
"description": "Identifies this preview when it is saved.",
"format": "uuid",
"type": "string"
},
"requires_confirmation": {
"description": "Always true: saving needs the user's confirmation.",
"type": "boolean"
},
"title": {
"type": "string"
},
"training_kind": {
"enum": [
"workout",
"program"
],
"type": "string"
},
"warning_count": {
"type": "integer"
},
"warnings": {
"description": "Items the user should review before saving.",
"items": {
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
},
"path": {
"type": "string"
}
},
"required": [
"code",
"path",
"message"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"preview_id",
"expires_at",
"training_kind",
"title",
"exercise_count",
"estimated_duration_minutes",
"warning_count",
"warnings",
"requires_confirmation"
],
"type": "object"
}
},
{
"description": "Use this when the user plays a sport and wants their gym days for a week planned around it, for example two lifting days during basketball season. It picks the closest coach-built Phorme sport program and returns one week of sessions sized to the days the user has, with sets, reps, coach notes and a demo link for each exercise. It reads only and changes nothing in any account. If Phorme has no program for that sport it says so in match_quality and limits. Do not use it for injury rehab, team practice plans for children, or nutrition.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"gym_days_per_week": {
"description": "Gym days the user has this week. Ask when the user did not say.",
"maximum": 7,
"minimum": 1,
"type": "integer"
},
"season_phase": {
"description": "Where the user is in their season, only if they said.",
"enum": [
"off_season",
"pre_season",
"in_season",
"unknown"
],
"type": "string"
},
"sport": {
"description": "The sport or position, for example \"basketball\", \"volleyball\" or \"wide receiver\".",
"maxLength": 80,
"minLength": 1,
"type": "string"
}
},
"required": [
"sport",
"gym_days_per_week"
],
"type": "object"
},
"name": "preview_sport_week",
"outputSchema": {
"properties": {
"brain": {
"description": "The coaching brain whose method the week follows: name, coach, focus, how_it_trains and image_url (Phorme's own picture). Name it to the user.",
"type": [
"object",
"null"
]
},
"limits": {
"description": "What this week does not cover. Tell the user.",
"items": {
"type": "string"
},
"type": "array"
},
"match_quality": {
"description": "exact_sport: a program written for this sport. related: the closest program. none: a general athletic program.",
"enum": [
"exact_sport",
"related",
"none"
],
"type": "string"
},
"program": {
"description": "The coach-built program the week comes from.",
"type": [
"object",
"null"
]
},
"sessions": {
"description": "One entry per gym day, each with a title and exercises.",
"type": "array"
},
"sport": {
"type": "string"
},
"week_number": {
"type": [
"integer",
"null"
]
}
},
"required": [
"sport",
"match_quality",
"program",
"sessions",
"limits"
],
"type": "object"
}
},
{
"description": "Use this when the user wants a single workout they can follow and track in Phorme: one written in this conversation, pasted from notes, or built to fit their time and equipment. It checks the workout, matches each exercise to the Phorme movement library with a demo link, flags anything that needs equipment the user did not list or runs past their time, and stores a private preview for 24 hours. It does not save training to any account. Do not use it for multiweek programs, nutrition plans, or pain and injury questions.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"available_equipment": {
"description": "Equipment the user said they have, for example [\"dumbbells\", \"bench\"] or [\"none\"]. Leave out when the user did not say.",
"items": {
"maxLength": 60,
"minLength": 1,
"type": "string"
},
"maxItems": 20,
"type": "array"
},
"origin": {
"description": "Use \"sport_week\" when the workout is a session returned by preview_sport_week. Otherwise leave out.",
"enum": [
"conversation",
"sport_week"
],
"type": "string"
},
"time_limit_minutes": {
"description": "Minutes the user said they have. Leave out when the user did not say.",
"maximum": 180,
"minimum": 5,
"type": "integer"
},
"workout": {
"additionalProperties": false,
"description": "The workout to preview, taken from this conversation.",
"properties": {
"estimated_duration_minutes": {
"description": "Expected length of the workout in minutes.",
"maximum": 360,
"minimum": 1,
"type": "integer"
},
"exercises": {
"description": "Exercises in the order they are performed. At most 300 sets in total.",
"items": {
"additionalProperties": false,
"properties": {
"duration": {
"description": "Work time in seconds for a timed exercise.",
"exclusiveMinimum": 0,
"maximum": 7200,
"type": "number"
},
"load": {
"description": "Target load, for example \"80%\", \"135 lb\", \"60 kg\", \"bodyweight\" or \"RPE 8\".",
"maxLength": 80,
"type": "string"
},
"name": {
"description": "Exercise name as written in the conversation, for example \"Back squat\".",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"notes": {
"description": "Short coaching note for this exercise.",
"maxLength": 500,
"type": "string"
},
"reps": {
"description": "Reps per set as short text, for example \"8\", \"8-10\", \"AMRAP\" or \"40 sec\".",
"maxLength": 40,
"minLength": 1,
"type": "string"
},
"rest": {
"description": "Rest between sets, for example \"90 sec\" or \"2 min\".",
"maxLength": 40,
"type": "string"
},
"sets": {
"description": "Number of sets.",
"maximum": 20,
"minimum": 1,
"type": "integer"
}
},
"required": [
"name",
"sets",
"reps"
],
"type": "object"
},
"maxItems": 100,
"minItems": 1,
"type": "array"
},
"notes": {
"description": "Short note for the whole workout.",
"maxLength": 2000,
"type": "string"
},
"title": {
"description": "Workout name, for example \"Lower body strength\".",
"maxLength": 160,
"minLength": 1,
"type": "string"
}
},
"required": [
"exercises"
],
"type": "object"
}
},
"required": [
"workout"
],
"type": "object"
},
"name": "preview_workout_import",
"outputSchema": {
"properties": {
"estimated_duration_minutes": {
"type": [
"integer",
"null"
]
},
"exercise_count": {
"type": "integer"
},
"exercises": {
"description": "Each exercise with its Phorme library match and demo link.",
"items": {
"properties": {
"demo_url": {
"description": "Page with the movement demo.",
"type": [
"string",
"null"
]
},
"equipment": {
"description": "Equipment the matched movement uses.",
"type": [
"string",
"null"
]
},
"equipment_ok": {
"description": "Whether that fits the equipment the user listed. Null when no equipment was given or the library does not say.",
"type": [
"boolean",
"null"
]
},
"library_name": {
"description": "The Phorme movement it matched, or null when nothing matched.",
"type": [
"string",
"null"
]
},
"name": {
"type": "string"
}
},
"required": [
"name",
"library_name",
"equipment",
"equipment_ok",
"demo_url"
],
"type": "object"
},
"type": "array"
},
"expires_at": {
"description": "When the preview can no longer be saved, as an ISO 8601 time.",
"type": "string"
},
"preview_id": {
"description": "Identifies this preview when it is saved.",
"format": "uuid",
"type": "string"
},
"requires_confirmation": {
"description": "Always true: saving needs the user's confirmation.",
"type": "boolean"
},
"title": {
"type": "string"
},
"training_kind": {
"enum": [
"workout",
"program"
],
"type": "string"
},
"warning_count": {
"type": "integer"
},
"warnings": {
"description": "Items the user should review before saving.",
"items": {
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
},
"path": {
"type": "string"
}
},
"required": [
"code",
"path",
"message"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"preview_id",
"expires_at",
"training_kind",
"title",
"exercise_count",
"estimated_duration_minutes",
"warning_count",
"warnings",
"requires_confirmation"
],
"type": "object"
}
},
{
"description": "Use this when an owner wants the changes to their place's coaching brain to reach members, for example after its voice, look or programs changed. Confirm with the owner first, and set confirmation to true only after they said yes. It runs the same publish checks as the console and publishes the brain when they pass; when one fails it says what is left and members see no change. It needs a connected Phorme account that owns the place.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"confirmation": {
"const": true,
"description": "Set to true only after the owner said yes to publishing the coaching brain.",
"type": "boolean"
},
"place_id": {
"description": "The place_id of one of the owner's places, from get_gym_report or create_or_claim_place.",
"maxLength": 80,
"type": "string"
}
},
"required": [
"place_id",
"confirmation"
],
"type": "object"
},
"name": "publish_gym_brain",
"outputSchema": {
"properties": {
"brain_id": {
"type": "string"
},
"checks": {
"description": "label, ok and detail for each publish check.",
"type": "array"
},
"next": {
"type": "string"
},
"place_id": {
"type": "string"
},
"published": {
"type": "boolean"
}
},
"required": [
"place_id",
"brain_id",
"published",
"next"
],
"type": "object"
}
},
{
"description": "Use this when an owner wants their place live on Phorme: its page on phor.me, the app's map and the Phorme connector. Confirm with the owner first, and set confirmation to true only after they said yes. Going live needs an email for booking confirmations and requests: request_email, else the place's own, else the account's. Listing is free; when someone asks to book a place that is not on the gym plan, the ask is held 7 days and the owner is told. It takes no payment and starts no plan. It needs a connected Phorme account that owns the place.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"confirmation": {
"const": true,
"description": "Set to true only after the owner said yes to putting this place live.",
"type": "boolean"
},
"place_id": {
"description": "The place_id of one of the owner's places, from get_gym_report or create_or_claim_place.",
"maxLength": 80,
"type": "string"
},
"request_email": {
"description": "Where booking confirmations and requests are emailed. Never shown in public.",
"maxLength": 200,
"type": "string"
}
},
"required": [
"place_id",
"confirmation"
],
"type": "object"
},
"name": "publish_place",
"outputSchema": {
"properties": {
"next": {
"type": "string"
},
"place": {
"description": "The place: place_id, name, kind, line, city, country, address, hours, about, book_url, request_email, request_phone (texts, never public), prices, phone, timezone, status (draft or live), page_url, upcoming_classes, brain_id, on_plan, held_requests and plan_url (the plan on phor.me, a price-free link; null when on the plan).",
"type": [
"object",
"null"
]
}
},
"required": [
"place",
"next"
],
"type": "object"
}
},
{
"description": "Use this when a Phorme coach wants to score whether their AI coach sounds like them. Sent with 1 to 20 real student questions, it answers each (Phorme's model, under a spending cap) and returns a round. Sent with that round_id and one mark per answer (true if it sounds like the coach), with confirmation, it saves the score. Show the coach every answer before they mark it; never mark for them.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"brain_id": {
"description": "The brain id of the coach's own build, for example \"cameron\".",
"maxLength": 80,
"type": "string"
},
"confirmation": {
"const": true,
"description": "True only after the coach marked every answer themselves. Needed to save marks.",
"type": "boolean"
},
"marks": {
"description": "One per answer, in order: true if it sounds like the coach.",
"items": {
"type": "boolean"
},
"type": "array"
},
"questions": {
"description": "Real student questions. Sent to start a round.",
"items": {
"maxLength": 300,
"minLength": 5,
"type": "string"
},
"maxItems": 20,
"minItems": 1,
"type": "array"
},
"round_id": {
"description": "The round to score. Sent with marks.",
"maxLength": 80,
"type": "string"
}
},
"required": [
"brain_id"
],
"type": "object"
},
"name": "rate_my_coach",
"outputSchema": {
"properties": {
"answers": {
"type": "array"
},
"brain_id": {
"type": "string"
},
"next": {
"type": "string"
},
"of": {
"type": "integer"
},
"rated": {
"type": "boolean"
},
"round_id": {
"type": "string"
},
"sounds_like": {
"type": "integer"
},
"spent_usd": {
"type": [
"number",
"null"
]
}
},
"required": [
"rated"
],
"type": "object"
}
},
{
"description": "Use this to show a compact Phorme card for a workout or program that was just previewed or saved. It displays only the title, counts, status and link it is given. It reads and changes nothing in Phorme.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"estimated_duration_minutes": {
"maximum": 200000,
"minimum": 0,
"type": "integer"
},
"exercise_count": {
"maximum": 50000,
"minimum": 0,
"type": "integer"
},
"open_url": {
"description": "Link that opens the saved training in Phorme. Not set for previews.",
"maxLength": 300,
"type": "string"
},
"status": {
"description": "\"preview\" for training not yet saved, \"saved\" for training saved to Phorme.",
"enum": [
"preview",
"saved"
],
"type": "string"
},
"title": {
"description": "Training title from the tool result.",
"maxLength": 160,
"type": "string"
},
"training_kind": {
"enum": [
"workout",
"program"
],
"type": "string"
},
"warning_count": {
"maximum": 50000,
"minimum": 0,
"type": "integer"
}
},
"type": "object"
},
"name": "render_training_import",
"outputSchema": {
"properties": {
"estimated_duration_minutes": {
"maximum": 200000,
"minimum": 0,
"type": "integer"
},
"exercise_count": {
"maximum": 50000,
"minimum": 0,
"type": "integer"
},
"open_url": {
"description": "Link that opens the saved training in Phorme. Not set for previews.",
"maxLength": 300,
"type": "string"
},
"status": {
"description": "\"preview\" for training not yet saved, \"saved\" for training saved to Phorme.",
"enum": [
"preview",
"saved"
],
"type": "string"
},
"title": {
"description": "Training title from the tool result.",
"maxLength": 160,
"type": "string"
},
"training_kind": {
"enum": [
"workout",
"program"
],
"type": "string"
},
"warning_count": {
"maximum": 50000,
"minimum": 0,
"type": "integer"
}
},
"type": "object"
}
},
{
"description": "Use this when a Phorme coach has written a program in this conversation and clearly said to save it to one of their coaching brains. It saves the program as a draft on that brain (session names, exercises, sets and reps); members see nothing until the coach adds the draft in the coach console. It needs a connected Phorme account that owns the brain.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"brain_id": {
"description": "The brain id from the coach's brains.",
"maxLength": 80,
"type": "string"
},
"confirmation": {
"const": true,
"description": "True only after the coach confirmed this save.",
"type": "boolean"
},
"sessions": {
"description": "One week of sessions; the app repeats and progresses it.",
"items": {
"additionalProperties": false,
"properties": {
"exercises": {
"items": {
"additionalProperties": false,
"properties": {
"name": {
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"reps": {
"description": "Reps per set, for example 8 or \"8-10\".",
"type": [
"integer",
"string"
]
},
"rest": {
"description": "Rest in seconds.",
"maximum": 900,
"minimum": 0,
"type": "integer"
},
"seconds": {
"description": "For timed sets instead of reps.",
"maximum": 3600,
"minimum": 1,
"type": "integer"
},
"sets": {
"maximum": 20,
"minimum": 1,
"type": "integer"
}
},
"required": [
"name",
"sets"
],
"type": "object"
},
"maxItems": 30,
"minItems": 1,
"type": "array"
},
"title": {
"maxLength": 80,
"minLength": 1,
"type": "string"
}
},
"required": [
"title",
"exercises"
],
"type": "object"
},
"maxItems": 14,
"minItems": 1,
"type": "array"
},
"title": {
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"weeks": {
"description": "How many weeks the program runs. Defaults to 4.",
"maximum": 24,
"minimum": 1,
"type": "integer"
}
},
"required": [
"brain_id",
"title",
"sessions",
"confirmation"
],
"type": "object"
},
"name": "save_program_to_my_coaching_brain",
"outputSchema": {
"properties": {
"console_url": {
"type": "string"
},
"draft": {
"type": [
"object",
"null"
]
},
"saved": {
"type": "string"
}
},
"required": [
"saved",
"console_url"
],
"type": "object"
}
},
{
"description": "Use this when the user has seen a program preview and clearly said to save it. It saves that preview to the connected Phorme account as a private program and returns a link that opens it in Phorme. It needs a connected Phorme account with the training:write permission and a Phorme membership that already includes programs. If the account does not have that membership the tool says so and saves nothing. It never starts a purchase. Retrying with the same idempotency_key does not create a second copy.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"confirmation": {
"const": true,
"description": "Set to true only after the user clearly confirmed this save in the conversation.",
"type": "boolean"
},
"idempotency_key": {
"description": "A unique string for this save. Reuse the same value when retrying so no second copy is created.",
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"preview_id": {
"description": "The preview_id of the preview being saved.",
"format": "uuid",
"type": "string"
}
},
"required": [
"preview_id",
"confirmation",
"idempotency_key"
],
"type": "object"
},
"name": "save_program_to_phorme",
"outputSchema": {
"properties": {
"open_url": {
"description": "Link that opens the saved training in Phorme.",
"type": "string"
},
"status": {
"enum": [
"saved"
],
"type": "string"
},
"training_id": {
"format": "uuid",
"type": "string"
},
"training_kind": {
"enum": [
"workout",
"program"
],
"type": "string"
}
},
"required": [
"training_kind",
"training_id",
"status",
"open_url"
],
"type": "object"
}
},
{
"description": "Use this when the user has seen a workout preview and clearly said to save it. It saves that preview to the connected Phorme account as a private workout and returns a link that opens it in Phorme. It needs a connected Phorme account with the training:write permission. Retrying with the same idempotency_key returns the same saved workout and does not create a second copy.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"confirmation": {
"const": true,
"description": "Set to true only after the user clearly confirmed this save in the conversation.",
"type": "boolean"
},
"idempotency_key": {
"description": "A unique string for this save. Reuse the same value when retrying so no second copy is created.",
"maxLength": 160,
"minLength": 1,
"type": "string"
},
"preview_id": {
"description": "The preview_id of the preview being saved.",
"format": "uuid",
"type": "string"
}
},
"required": [
"preview_id",
"confirmation",
"idempotency_key"
],
"type": "object"
},
"name": "save_workout_to_phorme",
"outputSchema": {
"properties": {
"open_url": {
"description": "Link that opens the saved training in Phorme.",
"type": "string"
},
"status": {
"enum": [
"saved"
],
"type": "string"
},
"training_id": {
"format": "uuid",
"type": "string"
},
"training_kind": {
"enum": [
"workout",
"program"
],
"type": "string"
}
},
"required": [
"training_kind",
"training_id",
"status",
"open_url"
],
"type": "object"
}
},
{
"description": "Use this when the user asks for an existing coach-built training program for their sport or goal, for example a structured volleyball program. It returns up to five matching Phorme programs, each with a sample session from its first week that the user can try now and where to find it in the Phorme app. Every result is a program a member can train in the Phorme app today. It changes nothing, shows no prices and starts no purchase. Results are ordered by fit and never by commission.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"creator": {
"description": "Coach or creator name, only if the user named one.",
"maxLength": 120,
"type": "string"
},
"duration_weeks": {
"maximum": 52,
"minimum": 1,
"type": "integer"
},
"equipment": {
"description": "Equipment the user has.",
"items": {
"maxLength": 60,
"type": "string"
},
"maxItems": 20,
"type": "array"
},
"experience": {
"description": "Training level, for example \"beginner\".",
"maxLength": 40,
"type": "string"
},
"goal": {
"description": "Training goal, for example \"build strength\".",
"maxLength": 200,
"type": "string"
},
"schedule_days": {
"description": "Training days per week.",
"maximum": 7,
"minimum": 1,
"type": "integer"
},
"sport": {
"maxLength": 80,
"type": "string"
}
},
"type": "object"
},
"name": "search_phorme_programs",
"outputSchema": {
"properties": {
"limits": {
"items": {
"type": "string"
},
"type": "array"
},
"programs": {
"description": "Matching programs, best fit first, each with title, coach, weeks, sample_session and access.",
"type": "array"
}
},
"required": [
"programs",
"limits"
],
"type": "object"
}
},
{
"description": "Use this when a Phorme coach has written a short note to everyone training under one of their published coaching brains and clearly said to send it. It sends the coach's words as they are, as a notification and in each member's coach history: up to 400 characters, no links, one note per brain per day. It needs a connected Phorme account with an active coach plan that owns the brain.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"brain_id": {
"maxLength": 80,
"type": "string"
},
"confirmation": {
"const": true,
"description": "True only after the coach confirmed this exact note.",
"type": "boolean"
},
"text": {
"description": "The coach's own words, exactly as they approved them.",
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"brain_id",
"text",
"confirmation"
],
"type": "object"
},
"name": "send_note_to_my_members",
"outputSchema": {
"properties": {
"next_allowed_at": {
"type": [
"string",
"null"
]
},
"recipients": {
"type": "integer"
},
"sent": {
"type": "boolean"
}
},
"required": [
"sent",
"recipients"
],
"type": "object"
}
},
{
"description": "Use this when an owner wants booking and ask notices for a place sent somewhere else, for example \"text my bookings to my phone\". send_to is an email, or a phone that gets them as texts; one at a time, as in the console. An empty send_to sends them to the account's own phone or email. Read it back to the owner first, and set confirmation to true only after they said yes. The phone is never shown on the place's page. It needs a connected Phorme account that owns the place.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"confirmation": {
"const": true,
"description": "Set to true only after the owner said yes to where booking notices go.",
"type": "boolean"
},
"place_id": {
"description": "The place_id of one of the owner's places, from get_gym_report or create_or_claim_place.",
"maxLength": 80,
"type": "string"
},
"send_to": {
"description": "An email, or a phone with its country code for texts, for example +15125550100. \"\" for the account's own.",
"maxLength": 200,
"type": "string"
}
},
"required": [
"place_id",
"send_to",
"confirmation"
],
"type": "object"
},
"name": "set_booking_notices",
"outputSchema": {
"properties": {
"next": {
"type": "string"
},
"place": {
"description": "The place: place_id, name, kind, line, city, country, address, hours, about, book_url, request_email, request_phone (texts, never public), prices, phone, timezone, status (draft or live), page_url, upcoming_classes, brain_id, on_plan, held_requests and plan_url (the plan on phor.me, a price-free link; null when on the plan).",
"type": [
"object",
"null"
]
}
},
"required": [
"place",
"next"
],
"type": "object"
}
},
{
"description": "Use this when an owner wants to see, add, change or cancel a class at their place. action list reads the schedule and changes nothing. For add, edit and cancel, read the class, day and time back to the owner first, and set confirmation to true only after they said yes. A class people booked keeps its time, length and price; a class members paid for cannot be cancelled here. Members pay for a paid class on Phorme's own payment page; this tool takes no payment. It needs a connected Phorme account that owns the place.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"action": {
"enum": [
"list",
"add",
"edit",
"cancel"
],
"type": "string"
},
"capacity": {
"description": "How many people it takes.",
"maximum": 500,
"minimum": 1,
"type": "integer"
},
"class_id": {
"description": "For edit and cancel: the class_id from action list.",
"format": "uuid",
"type": "string"
},
"confirmation": {
"const": true,
"description": "Set to true only after the owner said yes to this class change.",
"type": "boolean"
},
"line": {
"description": "One line on the class.",
"maxLength": 140,
"type": "string"
},
"minutes": {
"maximum": 480,
"minimum": 5,
"type": "integer"
},
"place_id": {
"description": "The place_id of one of the owner's places, from get_gym_report or create_or_claim_place.",
"maxLength": 80,
"type": "string"
},
"price_usd": {
"description": "What one place in the class costs, as the owner set it. 0 or left out for free. Never repeat it to anyone but the owner.",
"maximum": 1000,
"minimum": 0,
"type": "number"
},
"starts_at": {
"description": "When it starts: \"YYYY-MM-DDTHH:MM\" in the place's own time, or an ISO time with its offset.",
"maxLength": 40,
"type": "string"
},
"title": {
"description": "The class name, for example \"Barbell basics\".",
"maxLength": 60,
"minLength": 2,
"type": "string"
}
},
"required": [
"place_id",
"action"
],
"type": "object"
},
"name": "set_class_schedule",
"outputSchema": {
"properties": {
"class": {
"type": [
"object",
"null"
]
},
"classes": {
"description": "class_id, title, line, starts (local), starts_at, minutes, capacity, booked, paid, status.",
"type": "array"
},
"next": {
"type": "string"
},
"place_id": {
"type": "string"
}
},
"required": [
"place_id",
"next"
],
"type": "object"
}
},
{
"description": "Use this when an owner on the gym plan wants to pay for their members' Phorme membership at one place, so members train free, or wants to stop. Confirm with the owner first, and set confirmation to true only after they said yes. It turns the switch on or off and can lower the cap of members covered (up to 50). Members join from the app and the place approves them. A place not on the gym plan cannot turn it on; the result then gives plan_url, the plan on phor.me. It takes no payment here. It needs a connected Phorme account that owns the place.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"cap": {
"description": "Most members covered at this place. Default 50.",
"maximum": 50,
"minimum": 0,
"type": "integer"
},
"confirmation": {
"const": true,
"description": "Set to true only after the owner said yes to this change to member cover.",
"type": "boolean"
},
"on": {
"description": "true to cover members, false to stop.",
"type": "boolean"
},
"place_id": {
"description": "The place_id of one of the owner's places, from get_gym_report or create_or_claim_place.",
"maxLength": 80,
"type": "string"
}
},
"required": [
"place_id",
"on",
"confirmation"
],
"type": "object"
},
"name": "set_member_cover",
"outputSchema": {
"properties": {
"cover": {
"description": "on, plan, cap and members covered.",
"type": [
"object",
"null"
]
},
"next": {
"type": "string"
},
"place_id": {
"type": "string"
},
"plan_url": {
"type": [
"string",
"null"
]
}
},
"required": [
"place_id",
"next"
],
"type": "object"
}
},
{
"description": "Use this when a Phorme coach describes how they coach and wants their coaching brain to follow it, for example \"every session starts with mobility, main lifts stay in 3 to 6 reps, never two hard days in a row\". Sent with the coach's words, it reads them into the brain's rules and saves nothing: it returns the rules, one plain line per rule, and what no rule covers yet. Sent with those rules and confirmation, it saves them, and Phorme checks the brain on sample members and says whether every plan still works. Members train by the saved rules from their next session. It needs a connected Phorme account that owns the brain; set confirmation to true only after the coach said yes to the rules as read back.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"brain_id": {
"description": "The brain id from the coach's brains.",
"maxLength": 80,
"type": "string"
},
"confirmation": {
"const": true,
"description": "True only after the coach confirmed these rules. Needed to save.",
"type": "boolean"
},
"rules": {
"description": "The rules a draft returned, unchanged or as the coach corrected them: method, voice, banned_phrases and share. Sent to save.",
"type": "object"
},
"text": {
"description": "How the coach coaches, in their own words from this conversation. Never invented. Sent to read a draft.",
"maxLength": 4000,
"minLength": 10,
"type": "string"
}
},
"required": [
"brain_id"
],
"type": "object"
},
"name": "set_my_brain_rules",
"outputSchema": {
"properties": {
"brain_id": {
"type": "string"
},
"broke": {
"description": "After a save that broke a plan: which sample and why.",
"items": {
"type": "string"
},
"type": "array"
},
"console_url": {
"type": "string"
},
"next": {
"type": "string"
},
"preview_ok": {
"description": "After a save: whether every sample member still gets a plan that works.",
"type": [
"boolean",
"null"
]
},
"requires_confirmation": {
"type": "boolean"
},
"rules": {
"type": "object"
},
"said": {
"description": "One plain line per rule the draft read: key and line.",
"type": "array"
},
"saved": {
"description": "False for a draft, true once saved.",
"type": "boolean"
},
"unread": {
"description": "Parts of the coach's words no rule covers yet.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"saved",
"brain_id",
"rules"
],
"type": "object"
}
},
{
"description": "Use this when the coach has approved the principles their agent wrote from their own reels, posts and words: the ideas their AI coach teaches from. Send each principle with a short name, optional cue and why, and source links. It replaces the coach's principles. Set confirmation to true only after the coach approved exactly these; never invent a principle the coach did not teach.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"brain_id": {
"description": "The brain id of the coach's own build, for example \"cameron\".",
"maxLength": 80,
"type": "string"
},
"confirmation": {
"const": true,
"description": "True only after the coach approved exactly these principles.",
"type": "boolean"
},
"principles": {
"items": {
"additionalProperties": false,
"properties": {
"cue": {
"maxLength": 300,
"type": "string"
},
"name": {
"maxLength": 120,
"minLength": 2,
"type": "string"
},
"sources": {
"description": "Links to the coach's own reels or posts this came from.",
"items": {
"maxLength": 500,
"type": "string"
},
"maxItems": 10,
"type": "array"
},
"why": {
"maxLength": 600,
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"maxItems": 40,
"minItems": 1,
"type": "array"
}
},
"required": [
"brain_id",
"principles",
"confirmation"
],
"type": "object"
},
"name": "set_my_coach_principles",
"outputSchema": {
"properties": {
"brain_id": {
"type": "string"
},
"next": {
"type": "string"
},
"principles": {
"type": "integer"
},
"saved": {
"type": "boolean"
}
},
"required": [
"saved"
],
"type": "object"
}
},
{
"description": "Use this when an owner who signed in by phone wants notices about their gym plan sent to an email. Read the email back to the owner first, and set confirmation to true only after they said yes. An empty email clears it, and notices go to the account's own email or phone. It is never shown to members. It needs a connected Phorme account.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"confirmation": {
"const": true,
"description": "Set to true only after the owner said yes to this email.",
"type": "boolean"
},
"email": {
"description": "The owner's email, or \"\" to clear it.",
"maxLength": 200,
"type": "string"
}
},
"required": [
"email",
"confirmation"
],
"type": "object"
},
"name": "set_owner_email",
"outputSchema": {
"properties": {
"next": {
"type": "string"
},
"owner_email": {
"type": [
"string",
"null"
]
}
},
"required": [
"owner_email",
"next"
],
"type": "object"
}
},
{
"description": "Use this when an owner wants a coaching brain for their place, so members train with the gym's own coach in the Phorme app. Confirm with the owner first, and set confirmation to true only after they said yes. In one step it makes a brain from the place's name, line and classes, gives it a starting program from the Phorme library, publishes it and puts the place's members under it, the same as the console's one-click start. The owner can change it in the builder after. Free on the free listing too. It needs a connected Phorme account that owns the place.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"confirmation": {
"const": true,
"description": "Set to true only after the owner said yes to starting a coaching brain for this place.",
"type": "boolean"
},
"days_per_week": {
"description": "Training days a week the starting program is built for. Default 3.",
"maximum": 7,
"minimum": 1,
"type": "integer"
},
"place_id": {
"description": "The place_id of one of the owner's places, from get_gym_report or create_or_claim_place.",
"maxLength": 80,
"type": "string"
}
},
"required": [
"place_id",
"confirmation"
],
"type": "object"
},
"name": "start_gym_brain",
"outputSchema": {
"properties": {
"brain_id": {
"type": [
"string",
"null"
]
},
"builder_url": {
"type": "string"
},
"next": {
"type": "string"
},
"open": {
"description": "Publish checks still open, when it stayed a draft.",
"items": {
"type": "string"
},
"type": "array"
},
"place_id": {
"type": "string"
},
"published": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"place_id",
"brain_id",
"next"
],
"type": "object"
}
},
{
"description": "Use this when a coach or trainer wants to turn their own method into a Phorme coaching brain and has none yet, or asks for a new one. It creates a draft brain with the name they chose and their method in their own words; members see nothing until the coach publishes it in the coach console. A first program can then be saved to it as a draft. It needs a connected Phorme account; signing in with a phone number creates one.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"confirmation": {
"const": true,
"description": "True only after the coach confirmed the name and method.",
"type": "boolean"
},
"method": {
"description": "How the coach trains people, in their own words from this conversation. Never invented.",
"maxLength": 4000,
"type": "string"
},
"name": {
"description": "The brain's name, as the coach chose it, for example \"Hayes Strength\".",
"maxLength": 40,
"minLength": 2,
"type": "string"
},
"tagline": {
"description": "One line on who it is for, in the coach's words.",
"maxLength": 80,
"type": "string"
}
},
"required": [
"name",
"confirmation"
],
"type": "object"
},
"name": "start_my_coaching_brain",
"outputSchema": {
"properties": {
"brain": {
"type": "object"
},
"console_url": {
"type": "string"
},
"method_saved": {
"type": "boolean"
},
"next": {
"type": "string"
}
},
"required": [
"brain",
"console_url"
],
"type": "object"
}
},
{
"description": "Use this when a Phorme coach wants to see what their members really ask their AI coach, to review or rate it. It returns recent questions with the coach's answer and whether it was corrected, with names, numbers, emails, links and handles removed. It reads only. It needs a connected Phorme account that owns the brain.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"brain_id": {
"description": "The brain id of the coach's own build, for example \"cameron\".",
"maxLength": 80,
"type": "string"
},
"days": {
"maximum": 90,
"minimum": 1,
"type": "integer"
},
"limit": {
"maximum": 50,
"minimum": 1,
"type": "integer"
}
},
"required": [
"brain_id"
],
"type": "object"
},
"name": "student_questions",
"outputSchema": {
"properties": {
"brain_id": {
"type": "string"
},
"days": {
"type": "integer"
},
"questions": {
"type": "array"
}
},
"required": [
"questions"
],
"type": "object"
}
},
{
"description": "Use this when a Phorme member wants their own coach, the one running their plan in the Phorme app, for example \"tell my coach I only have 30 minutes today\", \"move tomorrow's run to Friday\", \"log my squats, 4 sets of 5 at 225\" or \"what's my plan this week\". It sends their words to that coach, which answers from their real plan and log and can change the plan the way it does in the app chat; on food, Nutmeg answers. It returns the coach's words, every change it made and any question it asked. Send the member's own words. Every change shows in the Phorme app with Undo. It needs a connected Phorme account with the training:write permission. Do not use it for coaches testing their own brain (ask_my_coach) or for medical emergencies.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"message": {
"description": "What the member says to their coach, in their own words.",
"maxLength": 1000,
"minLength": 1,
"type": "string"
}
},
"required": [
"message"
],
"type": "object"
},
"name": "talk_to_my_coach",
"outputSchema": {
"properties": {
"changes": {
"description": "Each change the coach made or could not make: change, status (applied or refused) and reason.",
"type": "array"
},
"coach": {
"description": "Which Phorme coach spoke, for example nutmeg on food.",
"type": [
"string",
"null"
]
},
"limits": {
"items": {
"type": "string"
},
"type": "array"
},
"question": {
"description": "A question the coach asked, with options. Ask the member and send their answer back with this tool.",
"type": [
"object",
"null"
]
},
"reply": {
"description": "The coach's words. Show them as the coach's own.",
"type": [
"string",
"null"
]
}
},
"required": [
"reply",
"changes",
"limits"
],
"type": "object"
}
},
{
"description": "Use this when a Phorme coach wants their AI coach to know something they teach: a cue, a drill, how they see a movement, a transcript of them explaining it. It adds it, in the coach's own words, to what their coach teaches from. Never invent or rewrite the coach's meaning. Set confirmation to true only after the coach said to add it.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"brain_id": {
"description": "The brain id of the coach's own build, for example \"cameron\".",
"maxLength": 80,
"type": "string"
},
"confirmation": {
"const": true,
"description": "True only after the coach said to add this.",
"type": "boolean"
},
"text": {
"description": "What the coach teaches, in their own words.",
"maxLength": 20000,
"minLength": 40,
"type": "string"
},
"title": {
"description": "A short name for it, for example \"How I cue the hinge\".",
"maxLength": 160,
"minLength": 2,
"type": "string"
}
},
"required": [
"brain_id",
"title",
"text",
"confirmation"
],
"type": "object"
},
"name": "teach_my_coach",
"outputSchema": {
"properties": {
"added": {
"type": "boolean"
},
"brain_id": {
"type": "string"
},
"next": {
"type": "string"
},
"passages": {
"type": [
"integer",
"null"
]
}
},
"required": [
"added"
],
"type": "object"
}
},
{
"description": "Use this when an owner wants their place off Phorme for now. Confirm with the owner first, and set confirmation to true only after they said yes. Its page, the app's map and the Phorme connector stop listing it; its details and classes are kept, so it can be put live again. It needs a connected Phorme account that owns the place.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"confirmation": {
"const": true,
"description": "Set to true only after the owner said yes to taking this place down.",
"type": "boolean"
},
"place_id": {
"description": "The place_id of one of the owner's places, from get_gym_report or create_or_claim_place.",
"maxLength": 80,
"type": "string"
}
},
"required": [
"place_id",
"confirmation"
],
"type": "object"
},
"name": "unpublish_place",
"outputSchema": {
"properties": {
"next": {
"type": "string"
},
"place": {
"description": "The place: place_id, name, kind, line, city, country, address, hours, about, book_url, request_email, request_phone (texts, never public), prices, phone, timezone, status (draft or live), page_url, upcoming_classes, brain_id, on_plan, held_requests and plan_url (the plan on phor.me, a price-free link; null when on the plan).",
"type": [
"object",
"null"
]
}
},
"required": [
"place",
"next"
],
"type": "object"
}
},
{
"description": "Use this when an owner wants to change how their place's coaching brain sounds or looks: its name, its one line, its voice (how the coach talks to members), its method, its colour or its cover photo. Read the change back to the owner first, and set confirmation to true only after they said yes. Only the things given change; an empty value clears one. It saves to the brain; members get it once the brain is published again. The place needs a coaching brain first. It needs a connected Phorme account that owns the place.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"color": {
"description": "The brand colour, as #rrggbb.",
"pattern": "^#[0-9a-fA-F]{6}$",
"type": "string"
},
"confirmation": {
"const": true,
"description": "Set to true only after the owner said yes to these changes to the coaching brain.",
"type": "boolean"
},
"cover_image_url": {
"description": "An https link to the cover photo.",
"maxLength": 500,
"type": "string"
},
"method": {
"description": "How the gym trains: the principles the coach plans by.",
"maxLength": 4000,
"type": "string"
},
"name": {
"description": "The coach's name members see.",
"maxLength": 40,
"minLength": 2,
"type": "string"
},
"place_id": {
"description": "The place_id of one of the owner's places, from get_gym_report or create_or_claim_place.",
"maxLength": 80,
"type": "string"
},
"tagline": {
"description": "One line under the name.",
"maxLength": 80,
"type": "string"
},
"voice": {
"description": "How the coach talks to members, in the owner's words.",
"maxLength": 4000,
"type": "string"
}
},
"required": [
"place_id",
"confirmation"
],
"type": "object"
},
"name": "update_gym_brain",
"outputSchema": {
"properties": {
"brain": {
"description": "name, tagline, look, persona (the voice), method, status and publish_version.",
"type": [
"object",
"null"
]
},
"brain_id": {
"type": "string"
},
"lint": {
"description": "Lines in the voice or method to look at before members read them.",
"type": "array"
},
"next": {
"type": "string"
},
"place_id": {
"type": "string"
}
},
"required": [
"place_id",
"brain_id",
"next"
],
"type": "object"
}
},
{
"description": "Use this when an owner wants to change what their place's page says: name, address, hours, booking link, what kind of place it is, the line about it, its time zone, its phone, its price list or the email for requests. Read the change back to the owner first, and set confirmation to true only after they said yes. Only the things given change; an empty value clears one. A new address moves the map pin. A live page shows the change at once. The price list only shows what the place charges; nothing is sold here. It needs a connected Phorme account that owns the place.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"about": {
"description": "One or two plain sentences about the place, in the owner's words.",
"maxLength": 600,
"type": "string"
},
"address": {
"description": "The street address. The map pin is found from it.",
"maxLength": 200,
"type": "string"
},
"book_label": {
"description": "The words on its booking button, for example \"Book a class\".",
"maxLength": 40,
"type": "string"
},
"book_url": {
"description": "The place's own booking page, starting with https://.",
"maxLength": 300,
"type": "string"
},
"city": {
"maxLength": 60,
"type": "string"
},
"confirmation": {
"const": true,
"description": "Set to true only after the owner said yes to these changes.",
"type": "boolean"
},
"country": {
"maxLength": 60,
"type": "string"
},
"hours": {
"description": "Opening hours, one line each, for example [\"Mon to Fri, 6 am to 9 pm\", \"Sat, 8 am to noon\"].",
"items": {
"maxLength": 80,
"type": "string"
},
"maxItems": 8,
"type": "array"
},
"kind": {
"description": "What the place is: gym (also studios and boxes) or a kind of care.",
"enum": [
"gym",
"physio",
"sports_medicine",
"chiropractic",
"massage",
"recovery"
],
"type": "string"
},
"lat": {
"description": "Latitude of the map pin, only to set it by hand.",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"line": {
"description": "One line on what the place is, in the owner's words.",
"maxLength": 140,
"type": "string"
},
"lon": {
"description": "Longitude of the map pin, only to set it by hand.",
"maximum": 180,
"minimum": -180,
"type": "number"
},
"name": {
"maxLength": 60,
"minLength": 2,
"type": "string"
},
"phone": {
"description": "The place's public phone number, as the owner gave it.",
"maxLength": 30,
"type": "string"
},
"place_id": {
"description": "The place_id of one of the owner's places, from get_gym_report or create_or_claim_place.",
"maxLength": 80,
"type": "string"
},
"prices": {
"description": "What training at the place costs, shown on its page, in the owner's own words: one line each, for example \"Drop-in 25 dollars\", or { label, amount (in dollars) or amount_cents, period, note }. At most 12; an empty list clears them. Repeat them only to the owner.",
"items": {
"anyOf": [
{
"maxLength": 120,
"type": "string"
},
{
"additionalProperties": false,
"properties": {
"amount": {
"description": "In dollars.",
"maximum": 100000,
"minimum": 0,
"type": "number"
},
"amount_cents": {
"maximum": 10000000,
"minimum": 0,
"type": "integer"
},
"label": {
"description": "For example \"Drop-in\" or \"Ten class pack\".",
"maxLength": 60,
"type": "string"
},
"note": {
"maxLength": 120,
"type": "string"
},
"period": {
"enum": [
"drop_in",
"day",
"week",
"month",
"year",
"class_pack",
"other"
],
"type": "string"
}
},
"required": [
"label"
],
"type": "object"
}
]
},
"maxItems": 12,
"type": [
"string",
"array"
]
},
"request_email": {
"description": "Where booking confirmations and requests are emailed. Never shown in public.",
"maxLength": 200,
"type": "string"
},
"timezone": {
"description": "The place's IANA time zone, for example \"America/Chicago\".",
"maxLength": 60,
"type": "string"
},
"website": {
"description": "The place's own website, starting with https://.",
"maxLength": 300,
"type": "string"
}
},
"required": [
"place_id",
"confirmation"
],
"type": "object"
},
"name": "update_place",
"outputSchema": {
"properties": {
"next": {
"type": "string"
},
"place": {
"description": "The place: place_id, name, kind, line, city, country, address, hours, about, book_url, request_email, request_phone (texts, never public), prices, phone, timezone, status (draft or live), page_url, upcoming_classes, brain_id, on_plan, held_requests and plan_url (the plan on phor.me, a price-free link; null when on the plan).",
"type": [
"object",
"null"
]
}
},
"required": [
"place",
"next"
],
"type": "object"
}
},
{
"description": "Use this when an owner has the six digit code Phorme sent to their place's own email or phone after they claimed it. Read the code back to the owner first, and set confirmation to true only after they said yes. A right code makes the connected account the place's owner; a wrong one changes nothing, and after five wrong tries or 24 hours the place must be claimed again. It takes no payment. It needs a connected Phorme account.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"claim_id": {
"description": "The claim_id from claim_place.",
"format": "uuid",
"type": "string"
},
"code": {
"description": "The six digit code, as the owner gave it.",
"maxLength": 12,
"minLength": 6,
"type": "string"
},
"confirmation": {
"const": true,
"description": "Set to true only after the owner said yes to entering this code.",
"type": "boolean"
}
},
"required": [
"claim_id",
"code",
"confirmation"
],
"type": "object"
},
"name": "verify_place_claim",
"outputSchema": {
"properties": {
"claim": {
"type": [
"object",
"null"
]
},
"next": {
"type": "string"
},
"place": {
"description": "The place: place_id, name, kind, line, city, country, address, hours, about, book_url, request_email, request_phone (texts, never public), prices, phone, timezone, status (draft or live), page_url, upcoming_classes, brain_id, on_plan, held_requests and plan_url (the plan on phor.me, a price-free link; null when on the plan).",
"type": [
"object",
"null"
]
}
},
"required": [
"claim",
"next"
],
"type": "object"
}
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:b90cfc596f9a5e963bd595b6567ea7e73e89ac97aaf6c5f666bd3ca735025f02 | sha256sum