read_text_file
Read a local text file to inspect scripts, configuration, or logs, such as exported .ini files or MAXScript snippets, directly within the 3ds Max environment.
Instructions
读取一个文本文件(脚本、配置、日志)。用于检查导出的 .ini 或 MAXScript 片段。 [English] Read a text file (script, config, log). Handy for inspecting exported .ini files or MAXScript snippets.
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_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | 文件绝对路径。 | Absolute file path. | |
| maxChars | No | 最多读取的字符数,默认 200000。 | Maximum characters to read, default 200000. |