Get a Hypnothera session
get_sessionReturns one session by script_id: a public library session, or a session on the connected account (for example one made with create_session). For the account's own sessions it includes status and has_audio, so it can check whether a script has finished and whether audio has been rendered; once audio exists, audio_url is a direct link that plays for about two hours without signing in. listen_url is the session's page on hypnothera.ai. Costs nothing.
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": {
"script_id": "<script_id>"
},
"name": "get_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script_id | Yes | A script_id from search_sessions, create_session or list_journeys. |
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. | |
| session | No |