Get Tax Treaty Text
get_tax_treaty_textGet the full text of a specific tax-treaty document.
Use search_tax_treaties first to find the document. URLs, paths, and bare
filenames are all accepted. Not all documents have extracted text available.
Content is reused from public sector sources, normally revenue.ie under Revenue's PSI Licence (CC BY 4.0); reproduce the result's own attribution where present, otherwise attribution.source.statement, when citing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Treaty identifier — accepts a bare filename (e.g. 'usa-1997'), a filename with .pdf, the full Revenue PDF URL, or the 'textUrl' value from a search result. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| text | No | ||
| title | No | ||
| status | Yes | ||
| message | No | ||
| filename | No | ||
| attribution | Yes | Source attribution and a link back to Irish Tax Hub. | |
| displayName | No |