Show a directory's sync state
oneguard_env_statusCheck if a project directory is linked to a OneGuard secret, identify which secret, and list the variable names its .env file contains without exposing values.
Instructions
Reports whether a directory is linked to a OneGuard secret, which one, and which variable names its .env currently holds. Read-only.
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_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Env file path relative to project_dir. Defaults to ".env". | |
| 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. |