fetch_document_text
Extract full text from Australian legislation and case law documents using OCR for scanned PDFs. Supports multiple output formats including JSON, text, markdown, and HTML.
Instructions
Fetch full text for a legislation or case URL, with OCR fallback for scanned PDFs.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
format | No | json | |
url | Yes |
Input Schema (JSON Schema)
{
"properties": {
"format": {
"default": "json",
"enum": [
"json",
"text",
"markdown",
"html"
],
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}