read_log
Read Stata log files to extract output for analysis. Supports .log and .smcl, with options to limit lines and choose output format.
Instructions
Read a Stata log file (.log or .smcl) and return its content. Supports full, core, and dict output formats. Use lines to return only the first/last N lines.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | ||
| encoding | No | utf-8 | |
| file_path | Yes | ||
| output_format | No | core |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |