get_recent_context
Get recent message context for a group or private chat, returning buffered messages (backfill and real-time) without compression. Images included as URLs.
Instructions
Get recent message context for a monitored group or whitelisted friend.
Returns all buffered messages (backfill + real-time) without compression. Use compress_context to manually compress when needed. Images are returned as URL strings in each message's image_urls field.
Args: target: Group ID or friend QQ ID. target_type: "group" (default) or "private". limit: Number of recent messages to return (default 200).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| target_type | No | group | |
| limit | No |