What it does
list_sessions finds an earlier research session you started from your AI assistant, so the assistant can continue it. ask_lexomat returns a session_id for every question, but that id lives in one chat with the assistant. In a new chat you can say "continue my earlier question about the notice period", and the assistant calls list_sessions with a few words from that question, picks the matching session and asks a follow-up in it with ask_lexomat.
It lists only sessions started from the AI assistant that stayed there. Research started on the Lexomat website is never listed, and neither is a session that was later continued on the website, or one that ever carried a case file, a client file or a context chip. Every question and answer in a listed session already passed through the assistant, so listing it shows the assistant nothing new.
Covers Slovak law only; output is informational, not legal advice.
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
query | string | No | A few words from the question you mean, matched case-insensitively. Omit it for the latest ones. |
limit | integer | No | How many sessions to return, 1–25. Default 10. |
Returns
{
"sessions": [
{
"session_id": "…",
"first_question": "Aká je výpovedná doba pri …",
"started_at": "2026-09-24T09:12:03+00:00",
"last_activity_at": "2026-09-24T09:20:41+00:00",
"question_count": 3,
"last_message_id": 1234
}
],
"hint": "…"
}
Sessions come newest activity first. Pass a session's session_id to ask_lexomat to ask a follow-up, or session_id with last_message_id to get_answer to re-read its latest answer. first_question is null once the 180-day retention period for your questions has passed.
Example
In a new chat you ask the assistant to continue "the question about the notice period". It calls list_sessions("notice period"), finds one session whose first question matches, and calls ask_lexomat with that session_id and your follow-up. The earlier questions and answers in that session are used as context.
Notes
- Consumes no quota and works even if your plan has lapsed — it only lists your own sessions. See Usage limits.
- You only ever see your own sessions; the account comes from your sign-in, never from an argument.
- An empty list means no matching session qualifies. Sessions started from the assistant before this feature existed cannot be listed.
- If the list cannot be read right now, the tool says so with an error instead of returning an empty list.