Create Session
create_sessionCreate a one-on-one session product for a community managed by the authenticated Nas.com user. Before offering this action or requesting its inputs, check business permissions. FREE businesses cannot use this tool, regardless of individual feature rows. Call check_business_tool_access before collecting inputs. Show any grace-period warning and verified resubscribe link before continuing, and never proceed when access is blocked.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"communityId": "<communityId>",
"title": "<title>",
"durationIntervalInMinutes": "<durationIntervalInMinutes>",
"location": "<location>",
"status": "<status>",
"createdBy": "<createdBy>",
"availability": "<availability>",
"timezoneChosenForAvailability": "<timezoneChosenForAvailability>",
"hostInfo": "<hostInfo>",
"minimumNoticeInDaysForBooking": "<minimumNoticeInDaysForBooking>",
"unAvailableDates": "<unAvailableDates>"
},
"name": "create_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | ||
| title | Yes | Title shown to members. | |
| access | No | ||
| amount | No | Price amount in the business currency. | |
| status | Yes | Status value; use one of the allowed values in this schema. | |
| currency | No | Three-letter ISO 4217 currency code, for example USD. | |
| hostInfo | Yes | Host details shown to members who book the session. | |
| location | Yes | Where the session takes place (online link or address details). | |
| createdBy | Yes | User ID of the business manager creating the session. | |
| minAmount | No | ||
| priceType | No | ||
| thumbnail | No | ||
| communityId | Yes | Nas.com business (community) ID. Use an ID returned by list_businesses or another Nas.com tool; never invent one. | |
| description | No | Description shown to members. | |
| availability | Yes | Weekly hours when the session can be booked. | |
| resourceSlug | No | ||
| tieredPrices | No | Price tiers to save for the business. | |
| discountsToAdd | No | ||
| coverMediaItems | No | Cover images or videos for the product. | |
| suggestedAmount | No | ||
| unAvailableDates | Yes | Dates when the session cannot be booked. | |
| discountsToRemove | No | ||
| templateLibraryId | No | ||
| descriptionContent | No | Rich-text product description. | |
| discountsToDisable | No | ||
| richTextMediaFiles | No | ||
| newDiscountsToApply | No | ||
| stopAcceptingBookings | No | ||
| duplicateFromSessionId | No | ||
| durationIntervalInMinutes | Yes | Session length in minutes. | |
| applicationConfigDataFields | No | Questions to ask applicants. | |
| minimumNoticeInDaysForBooking | Yes | Minimum number of days of notice required before a booking. | |
| timezoneChosenForAvailability | Yes | IANA time zone that the availability hours are written in. |