讀取工作區文字檔
read_textRead a UTF-8 text file up to 1 MiB using a workspace-relative path. Use it to inspect local text content without leaving the configured workspace.
Instructions
Read a UTF-8 text file, max 1 MiB. Paths are relative to the configured workspace.
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": {
"path": "<path>"
},
"name": "read_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |