get_new_events
Retrieve real-time events exactly once from the machine-level shared event log, filtered by profile (default active profile).
Instructions
[Plugin v1.3.9] Drain real-time events from the machine-level shared event log. v1.3.8 used per-process in-memory buffers (with duplicate-event problem); v1.3.9 uses ~/.feishu-user-plugin/events.jsonl with a single global cursor — every event delivered exactly once across all MCP processes on this machine. Default returns events from the current active profile only; pass profile="*" to see all.
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": "get_new_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event_type | No | ||
| event_types | No | ||
| chat_id | No | ||
| since_seconds | No | ||
| profile | No | Profile filter. Default = current active. Pass "*" or "any" for all profiles. | |
| max_events | No | ||
| peek | No |