detect_format
Identify a file's actual format by analyzing its content, not just the extension, ensuring accurate file type recognition.
Instructions
Intelligently detects a file's true format by inspecting its contents, which is more reliable than trusting a file extension.
Args: file_path: File path (absolute or relative to home directory)
Returns: Dictionary with format key containing the detected file format
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | File path (absolute or relative to home directory) |