claude_read_persistence
Retrieve saved agents, projects, or memory from Claude Code's persistence files. Specify an offset and line limit to access targeted content, with automatic truncation for oversized files.
Instructions
Read one of the three persistence files (agents | projects | memory).
Optional fields: - file (str): which file to read (default: memory) - offset (int): start reading from line N (0-indexed) - limit (int|None): max lines to return (None = no limit)
Large files are automatically truncated at
Settings.persistence_max_file_bytes; the response includes a
truncated flag if this happens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| req | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| content | Yes | ||
| truncated | Yes | ||
| size_bytes | Yes | ||
| modified_at | Yes |