A file — source code, attachment, download, or any discrete digital artifact.
Base type for image. Covers repo files (GitHub, Cursor), email attachments
(Mimestream), filesystem entries, and downloads.
| Metadata | Value |
|---|
| Plural | files |
| Subtitle field | path |
| Field | Type |
|---|
filename | string |
mimeType | string |
size | integer |
path | string |
format | string |
encoding | string |
lineCount | integer |
kind | string |
sha | string |
External standards this shape draws from or aligns with. See Shape design principles for how prior art informs shape design.
- cursor —
op_pull_document
- github —
list_documents, read_document
- gmail —
get_attachment