LM Studio: sessions
session_getList local model sessions or retrieve a specific session's settings, context usage, summary, and recent turns by passing its session_id.
Instructions
Without session_id: list the sessions with model, turns and context use. With session_id: settings, context use, summary and the latest turns.
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": "session_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | Show whole messages instead of the first 1500 characters. | |
| last | No | How many recent exchanges to show. Default: 10. | |
| session_id | No | Session id from session_start or session_get. |