lmstudio_chat
Send chat prompts to a local LM Studio model and get replies with speed stats; automatically loads the model with saved defaults when needed.
Instructions
Send a chat to a local model and get the reply with speed stats. If the model is not loaded, LM Studio loads it with its saved defaults.
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": "lmstudio_chat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stop | No | ||
| min_p | No | ||
| model | No | Loaded identifier or model key. Default: any loaded LLM. | |
| top_k | No | ||
| top_p | No | ||
| prompt | No | Single user message (use this or messages). | |
| system | No | System prompt. | |
| messages | No | Full conversation history. | |
| max_tokens | No | ||
| cpu_threads | No | ||
| draft_model | No | Draft model key for speculative decoding. | |
| json_schema | No | Force the reply to match this JSON Schema. | |
| temperature | No | ||
| repeat_penalty | No |