python_reset
Create or reset a Python kernel for MiniZinc constraint solving, optionally installing solver packages; it becomes the target for bare python_exec calls.
Instructions
Create a new kernel (no kernel_id) or reset one (with kernel_id).
Prefer select_backend, which installs the right solver packages for you. The kernel created or reset here becomes the target of bare python_exec calls.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "python_reset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| packages | No | ||
| kernel_id | No |