docs: make English the default docs language and fix link paths

This commit is contained in:
zhayujie
2026-05-31 17:52:22 +08:00
parent 126649f70f
commit 7bf4ef3d05
231 changed files with 8999 additions and 8974 deletions

24
docs/zh/tools/read.mdx Normal file
View File

@@ -0,0 +1,24 @@
---
title: read - 文件读取
description: 读取文件内容
---
读取文件内容。支持文本文件、PDF 文件、图片(返回元数据)等格式。
## 依赖
无额外依赖,默认可用。
## 参数
| 参数 | 类型 | 必填 | 说明 |
| --- | --- | --- | --- |
| `path` | string | 是 | 文件路径,相对路径基于工作空间目录 |
| `offset` | integer | 否 | 起始行号1-indexed负值表示从末尾读取 |
| `limit` | integer | 否 | 读取行数 |
## 使用场景
- 查看配置文件、日志文件
- 读取代码文件进行分析
- 检查图片/视频的文件信息