solidworks_mcp.tools.file_facts¶
solidworks_mcp.tools.file_facts ¶
Honest filesystem facts for tools that compare files without opening them.
compare_drawing_versions and compare_templates cannot parse SolidWorks
file internals, so they report only what the filesystem can say: existence,
size, modification time and a content hash.
Functions:¶
file_fact_snapshot ¶
Read basic filesystem facts about a file: size, mtime, SHA-256.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
path_str
|
str
|
Path to the file. |
required |
Returns:
| Type | Description |
|---|---|
dict[str, Any] | None
|
dict[str, Any] | None: |
dict[str, Any] | None
|
|