check_path
Verify that a file path operation is safe, blocking access to protected files like .env, .ssh/, and credentials.
Instructions
Check if a file path operation is safe. Protects .env, .ssh/, .aws/credentials, private keys, /etc/passwd, etc.
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": {
"path": "<path>",
"operation": "<operation>"
},
"name": "check_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path to check | |
| operation | Yes | Operation type |