Recent files
recent_filesList recently modified files newest first and session edits to identify changes when starting or resuming work or after build, format, or git steps.
Instructions
List recently modified files, newest first, plus session_edits (files you wrote in this session). Use when: you start or resume a task, or finished a build, format or git step and want to see what changed. Feed the top paths into read_batch. Avoid when: you need the full tree (list_files) or a content search (search). Output: entries[] {relative_path, size_bytes, modified_ago_seconds}, session_edits, truncated.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "recent_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Directory recursion cap (default 2, max 6). | |
| limit | No | Max entries (default 20, max 100). | |
| relative_path | No | Workspace-relative ('.' = root); absolute/.. outside it rejected. | |
| include_ignored | No | true also lists ignored folders (default false). |