js.get_source
Retrieve a script or resource source, returning a requested line window inline and saving the full file as an artifact for inspection.
Instructions
Source of one script or resource. Returns a line window inline and the whole file as an artifact.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "js.get_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| line_end | No | ||
| save_path | No | ||
| script_id | No | ||
| target_id | No | Target handle (tgt_*). Omit for the active page. | |
| browser_id | No | Browser handle (br_*). Omit to use the only running browser, or auto-launch one. | |
| line_start | No |