Extract Web Page as Structured JSON
extractExtract metadata, Open Graph/Twitter tags, JSON-LD, headings, links, a bounded excerpt, and AI-readiness flags from a public HTTP(S) page. Set textExcerptLimitChars to adjust the excerpt. Optional integer from 1 to 40000 (default 1200). Invalid values are rejected before payment. Price unchanged. Use read instead for Markdown. Follows redirects with SSRF, timeout, and size guards; no JavaScript. Payment challenge and credentials are bound to GET https://agents.samedaydesk.com/extract, not mcp://. Retry the identical authorized arguments and credential.
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": "extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public HTTP(S) URL. Choose extract for metadata, JSON-LD, headings, links, and a bounded text excerpt; use read for longer bounded Markdown. Content is fetched without JavaScript rendering. Check status/sourceOk/error/capture; ok means a typed extract record, not source completeness. | |
| textExcerptLimitChars | No | Optional integer from 1 to 40000 (default 1200). Invalid values are rejected before payment. Price unchanged. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| url | Yes | ||
| lang | Yes | ||
| text | Yes | ||
| error | Yes | ||
| links | Yes | ||
| title | Yes | ||
| jsonLd | Yes | ||
| status | Yes | ||
| capture | Yes | ||
| Yes | |||
| finalUrl | Yes | ||
| headings | Yes | ||
| sourceOk | Yes | ||
| canonical | Yes | ||
| fetchedAt | Yes | ||
| openGraph | Yes | ||
| aiReadiness | Yes | ||
| contentType | Yes | ||
| description | Yes | ||
| requestedUrl | Yes |