check_file
Verify if a specified file exists on a 1Panel server before performing operations, preventing errors from missing files.
Instructions
Check if file exists
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |