Create a Hypnothera session
create_sessionCreates a personalized hypnosis session script (optionally the first day of a multi-day journey) on the connected hypnothera.ai account. Spends 1 credit for the script; this tool does not render audio — render it afterwards with render_audio or on hypnothera.ai, which costs about 1 more credit per minute of audio. ONLY call after the user has explicitly approved the brief. The brief must use wellness language (relaxation, focus, sleep, confidence) and contain no names or identifying details. Returns the new script_id (the script is written over the next minute or two; check it with get_session), the journey's collection_id when journey_days was set, and next_step_url to open it on hypnothera.ai.
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": {
"specific_needs": "<specific_needs>"
},
"name": "create_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | Writing style of the script. Use the user's stated preference; omitted means mindfulness. | |
| title | No | Name for a multi-day journey, used in its playlist name ("<journey_days> Days: <title>"). Only used when journey_days is set; the session's own title is written with the script. | |
| summary | No | One-line summary of the agreed brief, passed to the script writer as extra context alongside specific_needs. | |
| language | No | Language to write the script in, as a name or code, e.g. english, es, pt-br or hebrew. Omitted means english. Arabic needs a dialect choice, so create Arabic sessions on hypnothera.ai instead. | |
| script_type | No | Session format: sleep for falling asleep, morning for starting the day, nsdr for non-sleep deep rest, lucid_dreaming for lucid dream practice, visualization for guided imagery, standard for anything else. Omitted means standard. | |
| journey_days | No | Number of days when starting a multi-day journey. This call creates day 1; continue_journey creates each later day. Omit for a single session. | |
| specific_needs | Yes | The brief the user approved: what the session should help with, the situation around it, and how they want to feel afterwards. | |
| journey_outline | No | One entry per day when journey_days is set. Each later day is created with continue_journey. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | False when the call failed; message says why. | |
| message | No | What happened and, when relevant, what to do next. Relay it to the user. | |
| task_id | No | Background job id for the script being written. | |
| script_id | No | The new session's id (script_id). | |
| collection_id | No | The journey_id when a multi-day journey was started, otherwise null. | |
| next_step_url | No | Page on hypnothera.ai for the new session, or for the journey when one was started. |