read_file_by_markdown
Reads local files or course resources and converts them to Markdown for easy processing and integration.
Instructions
用 markitdown 把文件内容读成 Markdown。
两种模式(传 file_path 优先):
- file_path:读本地文件。
- paper_id + filename:读小雅课程资源(同时必填)。
支持 docx/pptx/xlsx/pdf/html/图片 OCR 等常见格式。Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paper_id | No | 资源文件的 paper_id(通过 query_course_resources 获取) | |
| filename | No | 资源文件名(通过 query_course_resources 获取) | |
| file_path | No | 本地磁盘文件路径 |