download_latest_edition
Download the current Diario Oficial edition PDF. Saves the file locally and returns edition number, type, date, and file size.
Instructions
Download the newest published Diario Oficial edition as a PDF.
Args: output_dir: Directory to save the PDF. Defaults to the DIARIO_OFICIAL_DIR environment variable, or ~/Downloads/diario-oficial.
Returns metadata (numero, tipo, fecha) plus the saved file path and size.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "download_latest_edition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_dir | No |