ler_documento_pr
Fetch and extract text from public TCE-PR documents (PDF, DOCX, XLSX, CSV, JSON, XML) using a URL. Handles pagination, offsets, and 20 MiB downloads, returning content with source and limits.
Instructions
Lê PDF, DOCX, XLSX, CSV, JSON, XML e texto de URLs públicas do TCE-PR.
PDF: pagina inicial e até 5 paginas. XLSX: pagina seleciona blocos de 100 linhas. Texto extraído é paginado por deslocamento/limite; download máximo 20 MiB. Não faz OCR nem valida assinaturas P7S. Resposta inclui fonte e limites.
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": "ler_documento_pr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| limite | No | ||
| pagina | No | ||
| paginas | No | ||
| deslocamento | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||