mirror of
https://github.com/LifeArchiveProject/WeChatDataAnalysis.git
synced 2026-06-18 15:54:08 +08:00
1.2 KiB
1.2 KiB
Media
Use this for image, video, emoji, file, link, and voice resources.
Tools
wechat.media.get_avatar_urlwechat.media.get_chat_image_urlwechat.media.get_chat_emoji_urlwechat.media.get_chat_video_thumb_urlwechat.media.get_chat_video_urlwechat.media.get_chat_voice_urlwechat.media.get_decrypted_resource_urlwechat.media.get_proxy_image_urlwechat.media.get_favicon_urlwechat.biz.get_proxy_image_urlwechat.moments.get_media_urlwechat.moments.get_article_thumb_urlwechat.moments.get_remote_video_urlwechat.moments.get_local_video_url
Rules
- Media tools return URLs or resource metadata; they do not inline large binary payloads.
- Voice resources are files only. Do not transcribe voice messages.
- For phone clients, prefer
wechat.mobile.get_media_linksfirst. - MCP does not open local folders or download media into cache; use returned URLs in the client.
- Locate the message first, then fetch media URL by message fields such as
server_id,username,md5, or returned media references. - For Moments, prefer local media URL fields from timeline records. Use remote video/article helpers only when the timeline record has a remote URL or article URL.