parse_document
Normalizes supplied HTML, JSON, or text into a source snapshot with SHA-256 digests, enabling integrity verification without network fetch or browser rendering.
Instructions
Normalize supplied HTML, JSON or text into a source snapshot and SHA-256 digests. No network fetch. Caller-provided URL is a label, not proof of origin. Lightweight extraction, not PDF parsing or browser rendering.
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>",
"media_type": "<media_type>",
"text": "<text>"
},
"name": "parse_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| text | Yes | ||
| media_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||