user_record_activity
Log a user activity event and automatically update last_active_at, enabling retention and activity tracking after key actions by other tools or agents.
Instructions
记录一次用户活跃事件(自动更新 last_active_at)。
供其他工具/Agent 在关键行为后调用,用于留存与活跃度统计。
Args:
activity_type: 事件类型,如 thought / decision / reminder / pattern / search / coaching / report
detail: 事件说明(可选,最多 500 字)
user_id: 用户 ID(默认 local)
Returns:
{recorded: true/false, activity_id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | ||
| user_id | No | local | |
| activity_type | Yes |