The Custom params... dialog lets you attach provider-specific JSON to an API connection.
This is useful when a provider supports request fields that do not have a dedicated setting in the Eclipse preferences UI. For Ollama, this includes parameters such as num_ctx, top_k, and top_p.
Open Window -> Preferences -> Code Intelligence and click Custom params....

The dialog stores JSON per:
CHAT for chat conversations, INSTRUCT for completion-style requestsThe JSON format depends on the API you use. The plugin does not translate parameter names between providers, so the payload must match the request format expected by that provider.
Currently, the dialog is available for:
Custom params are used as a request preset for the selected connection and request type.
After loading that preset, the plugin adds the required request fields for the current operation, such as the model name, messages, and streaming mode. Some additional fields are only filled in when they are missing.
In practice, that means:
For Ollama, tuning parameters such as context and sampling settings belong inside the options object.
Use this to override Ollama’s default context size:
{
"options": {
"num_ctx": 16000
}
}
Example:
{
"options": {
"top_k": 20,
"top_p": 0.9
}
}
top_k limits sampling to the top k candidates.top_p enables nucleus sampling and keeps tokens whose cumulative probability stays within p.{
"options": {
"num_ctx": 16000,
"top_k": 20,
"top_p": 0.9
}
}
If you want the same settings for both chat and completion requests, configure both CHAT and INSTRUCT.
For the full list of Ollama request parameters, see the official Ollama API documentation.
Reset to Default if you want a provider-specific template.{} to keep the provider defaults.