add_constraint
Add a constraint to the Z3 solver using variable references and standard Z3 Python API syntax.
Instructions
Add a constraint to the solver.
Use variable references like 'bool:x', 'int:y', 'real:z' in expressions. Supports standard Z3 Python API syntax.
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": {
"constraint": "<constraint>"
},
"name": "add_constraint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| constraint | Yes | A Z3 constraint expression as a string. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||