get_script_source
Retrieve JavaScript script source code by URL or ID, supporting line ranges for normal files or character offsets for minified single-line files to analyze WeChat MiniApp code.
Instructions
Gets a snippet of a JavaScript script source by URL (recommended) or script ID. Supports line range (for normal files) or character offset (for minified single-line files).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script_id | No | ||
| url | No | ||
| start_line | No | ||
| end_line | No | ||
| offset | No | ||
| length | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |