Web Extract
web_extractRead the exact public URLs supplied by the caller. Locus uses a full-content extractor first and retries only failed resources through a second exact-URL scraper; it never searches for substitutes. Live billed request; the result reports credits charged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | No | Return structured JSON for each URL in one step instead of page text. Pass a prompt, a JSON Schema, or both. Cannot be combined with objective. | |
| urls | Yes | Exact public HTTP(S) resources to read. The router never substitutes another URL. | |
| _locus | No | Optional Locus execution controls; provider arguments remain top-level. | |
| objective | No | Optional focus within each supplied resource; it does not authorize discovery. | |
| maxCredits | No | Aggregate hard charge ceiling in workspace credits. Decimal strings support up to six fractional digits; numeric values are rounded down to six digits. | |
| attribution | No | Optional JSON ledger metadata such as a task or customer identifier. | |
| maxAgeSeconds | No | Maximum accepted cache age. Omit to use each extractor default. | |
| externalUserId | No | Optional end-user billing attribution for a tenant secret key. | |
| maxCharactersPerUrl | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Raw provider response. | |
| usd_charged | No | USD charged (secret-key auth only). | |
| credits_balance | No | ||
| credits_charged | No | ||
| idempotent_replay | No | Stored replay; no new charge. |