Read one Codal letter
cd_letterRead one Codal.ir letter and return its text or table rows, with links to the page, PDF, Excel file, and attachments; request another sheet for multi-sheet reports.
Instructions
Read one codal.ir letter: its text or tables, plus links to its page, PDF, Excel and attachments.
Structured reports come back as tables (one line per row, cells joined by ' | ', usually million Rial; see
unit_note), one sheet at a time: sheets lists them, call again with sheet for another. Other letters
give text. attachments are the company's files. Cut at 16,000 characters (truncated); the PDF has all.
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": {
"tracing_no": "<tracing_no>"
},
"name": "cd_letter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheet | No | Sheet id from the `sheets` list of a previous call; omit for the first sheet. | |
| tracing_no | Yes | Tracing number (شماره پیگیری) from cd_search_letters. |