validate_paths
Validate file paths to ensure they exist and are accessible, preventing 'PATH_NOT_ALLOWED' errors before analysis.
Instructions
Verify file paths exist and are accessible before analysis. Use when uncertain about path correctness or troubleshooting 'PATH_NOT_ALLOWED' errors. Example: {paths: ['src/auth.ts', 'config/database.js', '../README.md']}
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": {
"paths": "<paths>"
},
"name": "validate_paths"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | Array of paths to validate |