URLs-LE
v2.4.0Extract URLs from documentation, configuration and code, with their protocol and position.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
extract_urls
Extract every URL from a document, with its protocol and 1-based line and column. Reads any text document. Markdown, HTML, CSS, JavaScript, TypeScript, JSON, YAML, Properties, TOML, INI and XML know what to exclude — code fences, comments, non-string tokens; everything else is scanned whole, and `fileType` says which happened.
| Parameter | Type | Description |
|---|---|---|
content * | string | The document text to scan. |
dedupe | boolean | Collapse repeated URLs to their first occurrence. |
filename | string | Filename used to infer the format when `format` is absent, e.g. "README.md". |
format | string | Document format. Provide this or `filename`. Common extensions and aliases are accepted; anything else is scanned as plain text rather than refused. |
maxResults | integer | Cap on returned URLs (default 500). meta.truncated reports whether any were dropped. |