run_model_completion
Generate text completions using a specified local model by sending a prompt, enabling AI agents to get responses while keeping data local.
Instructions
Run text generation completion on a specific local model.
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": {
"model_name": "<model_name>",
"prompt": "<prompt>"
},
"name": "run_model_completion"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | ||
| model_name | Yes |