AgentSearch Extract
agentsearch_extractExtract one absolute URL and return its title, clean markdown or text, links, and metadata as JSON when you already have the page URL and need its body.
Instructions
Fetch one absolute URL with AgentSearch Web Extract and return it as JSON text: title, clean markdown and/or text, links, meta (status_code, content_type, fetched_at, chars, truncated) and error (null on success). Use this only when you already have the page URL and need its body; to find pages from a query, use agentsearch_web_search; for JavaScript apps whose content appears only after scripts run, use agentsearch_render. Paid tool: needs a wallet key (AGENTSEARCH_WALLET_PRIVATE_KEY or POCKET_PRIVATE_KEY) and then pays per call in USDC on Base over x402 through the Pocket Network Agentic Portal, never more than the per-call cap or AGENTSEARCH_MAX_TOTAL_ATOMIC per session (default $1.00); the result includes the payment receipt and the portal envelope {portal, data}, whose data is untrusted third-party content. With no wallet key it makes no network call and explains how to add one. If AGENTSEARCH_BASE_URL is set, it calls your self-hosted AgentSearch API instead (no payment). Note: the free tier covers search only; this tool needs a wallet key or a self-hosted API. Read-only: not destructive, but it fetches over the network and can hit rate limits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Absolute URL of the page to extract. | |
| formats | No | Renderings to return: "markdown" and/or "text" (default: the service's choice). | |
| max_chars | No | Cap on returned characters (1–100000, service default 50000). |