file_exists
Verify a path exists and is a regular file within the workspace root, enabling safe checks before file operations.
Instructions
Check whether a given path exists and is a regular file.
Args: path: Path to check, relative to the workspace root.
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": "file_exists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |