check_file_exists
Check if a file or directory exists at any given path, including absolute, relative, and home directory references, to validate paths before performing development tasks.
Instructions
Checks if a file or directory exists at the specified path.
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>"
},
"name": "check_file_exists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to check. Can be absolute, relative to active directory, or use ~ for home directory. |