Hol Setenv
hol_setenvSet environment variables for a HOL4 session and automatically restart it to apply them, controlling Holmakefile INCLUDES expansion during builds.
Instructions
Set environment variables for a HOL session and auto-restart to apply.
These are passed to the HOL process and affect Holmakefile INCLUDES expansion.
Example: hol_setenv({"VFMDIR": "/home/user/verifereum"})
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": {
"env": "<env>"
},
"name": "hol_setenv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | Yes | Environment variables to set (merged with existing) | |
| session | No | Session name (default: "default") | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |