ask_local_model
Send text prompts to local or cloud LLMs to generate boilerplate, summaries, or other bounded text tasks, and receive the output along with metadata.
Instructions
Send a prompt to a backend model and return text plus metadata.
Delegated models cannot read or edit files by themselves. They only return text to the main agent, which remains responsible for validation, edits, and tests.
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_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| prompt | Yes | ||
| system | No | ||
| backend | No | lmstudio | |
| max_tokens | No | ||
| temperature | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |