file_activity_add
Record file access events to track read, write, and edit activities for monitoring and analysis within the Recall memory system.
Instructions
Record a file activity event.
Used by PostToolUse hooks to track what files have been accessed.
Args: file_path: Path to the file that was accessed action: Type of action (read, write, edit, multiedit) session_id: Optional session ID for grouping activities project_root: Optional project root directory file_type: Optional file type (e.g., 'python', 'typescript') metadata: Optional additional metadata
Returns: Result dictionary with success status and activity_id
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| action | Yes | ||
| session_id | No | ||
| project_root | No | ||
| file_type | No | ||
| metadata | No |