get_media_info
Retrieves the original content or download link for a knowledge base entry using its media ID. Returns a direct URL for articles and files, or the full text for notes.
Instructions
获取知识库条目的原文内容或下载链接。传入 media_id(来自 get_knowledge_list 或 search_knowledge 的返回)。对微信文章/网页/文件类,返回可访问 URL;对笔记类(media_id 以 note_ 开头),会自动拉取并返回笔记正文(note_content 字段,纯文本)。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"media_id": "<media_id>"
},
"name": "get_media_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media_id | Yes | 媒体条目 ID。 |