Discover JavaScript endpoints
javascript_endpoint_discoveryInspect an authorized page and bounded same-scope scripts to find literal URL and path references, revealing endpoints for bug bounty reconnaissance.
Instructions
Inspect one authorized page or script plus a bounded set of same-scope scripts for literal URL and path references.
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": {
"url": "<url>"
},
"name": "javascript_endpoint_discovery"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| max_scripts | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| endpoints | Yes | ||
| endpoint_count | Yes |