local_draft_code
Generate code drafts, boilerplate, unit tests, or scaffolding locally using Ollama without consuming cloud tokens.
Instructions
Generate initial code drafts, boilerplate, unit tests, or scaffolding locally via Ollama without consuming cloud tokens.
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": {
"task_description": "<task_description>"
},
"name": "local_draft_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| context | No | ||
| language | No | ||
| task_description | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |