sessions_get_session
Full detail for one session, including what booking it would require.
When to use it
After
sessions_list_schedule, when the person has narrowed to one session.Before booking, to find out whether the business collects a waiver or form — which decides whether
sessions_book_sessioncan complete it.
Parameters
sessionstringrequiredThe scheduled session id, as returned by sessions_list_schedule. Pass it through verbatim — it is an opaque global id, not a number.
Returns
Every tool returns two things: text for the model to read, and a structuredContent object beside it for code that would rather branch on a field.
The session in full: activity, time, status, price, spots left, waitlist size, location and address, any age restriction, whether registration collects a form or waiver, and the viewer’s own registration if they have one.
Example
Run this from any agent or script executing in the page.
const tools =
await document.modelContext.getTools();
const tool = tools.find(
(t) => t.name === 'sessions_get_session',
);
const result = await document.modelContext
.executeTool(tool, {
"session": "<session id>"
});Morning Yoga [<id>]
Activity: Yoga
When: 2026-09-02T09:00 → 2026-09-02T10:00
Status: scheduled
Price: 24.00 CAD
Spots left: 4 (8 registered)
Location: Richmond Road — 375 Richmond Road{
"session": {
"id": "<id>",
"name": "Morning Yoga",
"price": 2400,
"registrationCount": 8,
"activity": {
"name": "Yoga",
"registrationBlocks": []
},
"location": {
"name": "Richmond Road"
},
"myRegistration": null
},
"currency": "cad"
}What the agent is told
The description the model reads when deciding whether to call this. It is the only thing that decides whether the tool fires at the right moment, so it is worth knowing what it says.