check_if_file_exists
Verify the existence of a file (notebook) in the user's shared space. Provides a JSON response indicating file status, including existence and a descriptive message.
Instructions
Check if a file (notebook) exists in the user's shared space.
Args:
file_name: Name of the file to check (with or without .ipynb extension)
Returns:
JSON object with the file existence status
{
"exists": True/False,
"message": "File exists" or "File does not exist"
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ctx | No | ||
| file_name | Yes |