check_file_exists
Verify if a file exists at a specified path to prevent errors in automated workflows. This tool confirms file presence before proceeding with operations.
Instructions
检查文件是否存在。参数: filepath (文件路径)
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": {
"filepath": "<filepath>"
},
"name": "check_file_exists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | Yes |