Unlink a directory
oneguard_env_unlinkRemove the .oneguard link file from a project directory to stop environment syncing while preserving the .env file. Reset the link without altering secrets.
Instructions
Removes the .oneguard link file from a directory. The .env file on disk is left untouched. Equivalent to oneguard env sync --reset.
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": {
"project_dir": "<project_dir>"
},
"name": "oneguard_env_unlink"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_dir | Yes | Absolute path to the developer's project directory. This is where the .oneguard link file and the .env file live. Must be absolute — ask the user if you do not know it. |