ask_local_llm
Send prompts or coding questions directly to local LM Studio models. Use this tool to query your locally running LLM for answers while keeping data on your machine.
Instructions
Send a prompt or coding question to the local LLM running in LM Studio.
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": {
"prompt": "<prompt>"
},
"name": "ask_local_llm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Optional model ID. If omitted, the currently loaded model in LM Studio is used. | |
| prompt | Yes | The prompt / instruction / question to send to the local LLM | |
| temperature | No | Sampling temperature (default: 0.7) | |
| system_prompt | No | Optional system instructions (e.g. 'You are an expert full-stack developer') |