Skip to content

FindResultEntry

One file or directory a find matched.

Kind: an object, used in responses.

Every field is present in a response; empty ones are null.

FieldTypeDescription
pathstringFull path to the file or directory within the file system.
typestringEntry type: “file” or “directory”.
sizeintegerFile size in bytes (0 for directories).
dateModifieddatetimeWhen it was last modified (UTC).
grepMatchesGrepMatch[] | nullGrep matches found in this file. Null if grep was not specified.
previewstring | nullPreview of file content (the first previewLines lines). Null if includePreview was false.
{
"path": "...",
"type": "...",
"size": 0,
"dateModified": "2026-10-26T12:00:00.0000000Z",
"grepMatches": [
{
"line": 0,
"content": "...",
"before": [],
"after": []
}
],
"preview": "..."
}