Get photo sessions
get_sessionsList the photo sessions recorded on this operator's booths, with totals. Call this when the operator asks how busy a booth has been, how many sessions ran in a period, or wants to inspect individual sessions. Supports date ranges, per-booth filtering, payment status and payment channel. For money totals rather than session counts, use get_revenue_summary instead.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many sessions to return (default 20, max 100) | |
| endDate | No | ISO date (YYYY-MM-DD) for the end of the range, inclusive | |
| startDate | No | ISO date (YYYY-MM-DD) for the start of the range, inclusive | |
| projectIds | No | Comma-separated project ids to limit the range to specific booths | |
| paymentSource | No | Payment channel, e.g. gateway, cash-voucher, discount-voucher | |
| sessionStatus | No | Session status filter | |
| transactionStatus | No | Payment status filter, e.g. settlement, pending |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | No | Sessions matching the filter, across all pages | |
| returned | Yes | How many are in this response | |
| sessions | Yes | ||
| totalPages | No |