# CodeBot cannot read a file's timesstamp

**URL:** https://talk.remobjects.com/t/codebot-cannot-read-a-files-timesstamp/33975
**Category:** CodeBot
**Created:** [September 14, 2026, 9:35pm UTC](https://talk.remobjects.com/t/codebot-cannot-read-a-files-timesstamp/33975 "2026-09-14T21:35:22Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![iaacovr](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/i/d6d6ee/32.png) [@iaacovr](https://talk.remobjects.com/u/iaacovr)
#### Post date: [September 14, 2026, 9:35pm UTC](https://talk.remobjects.com/t/codebot-cannot-read-a-files-timesstamp/33975/1 "2026-09-14T21:35:22Z")

</div>

I asked CodeBot the find the most recent among several files.

It said it couldn’t and gave me the following explanation:

With the currently exposed tools, there is no direct metadata API that returns file write-time. The available file tools (`readFile`, `readPortion`, `search`, `globFileSearch`) return content/matches/paths, not `LastWriteTime` fields

---

<div class="post-metadata">

### Author: ![david.millington](https://talk.remobjects.com/user_avatar/talk.remobjects.com/david.millington/32/21503_2.png) [@david.millington](https://talk.remobjects.com/u/david.millington)
#### Post date: [September 17, 2026, 1:47pm UTC](https://talk.remobjects.com/t/codebot-cannot-read-a-files-timesstamp/33975/3 "2026-09-17T13:47:03Z")

</div>

Great idea, thankyou. We can add that metadata easily, likely to one of the index/list tools.
