Business & Operations
Overview
realLaw AI Legislation helps users research published UAE legislation directly in ChatGPT using natural-language questions in their preferred language. Search by legal topic, find specific laws by title or citation, filter results by jurisdiction, authority, document type, and field of law, explore legislation news and digests, and retrieve complete document text, available metadata, and links to the documents on realLaw AI. Legislation tools require a connected realLaw AI account with an active Professional or Team subscription. You can also check the connected account’s current access status.
Tools
Use this when the user gives a law title, number, year, issue number, or citation such as Federal Decree-Law No. 47 of 2022. Returns compact document identity for one match, candidate documents for ambiguous matches, or notFound=true; these matches are discovery-only. Completely retrieve each selected match with get_law_document before use or presentation unless the user explicitly requests metadata-only output limited to title, sourceRef, releaseDate, and sourceUrl. Link each presented document to its returned sourceUrl using a clickable Markdown link, including metadata-only output. This tool does not modify legislation or publicly visible content. The invocation is recorded in an internal realLaw AI operational log.
get_access_status
ChatGPTUse for realLaw AI access questions, reported realLaw AI payment, renewal, plan or account changes, or a later user retry after denial, including repeating the original question. Call once for a fresh server-side check of the OAuth-linked account; never reuse an earlier denial for this attempt. OAuth authentication is required; a paid subscription is not required. On accessAllowed=true resume the pending supported request; for access-only questions report status only. On false stop without polling until a later user retry. Results are snapshots at checkedAt, not future guarantees. This tool does not change the subscription. The invocation is recorded in an internal realLaw AI operational log.
get_law_document
ChatGPTUse this when completely retrieving every selected document before ordinary use or presentation, unless the user explicitly requests metadata-only output limited to title, sourceRef, releaseDate, and sourceUrl. Returns one bounded text fragment and citation metadata. Omit cursor and the deprecated language parameter on the first call; while hasMore=true, call again with nextCursor unchanged and the same documentRef, continuing to omit language, until hasMore=false. Do not answer from partial fragments. If retrieval fails, disclose the incomplete document and omit its content claims. Cite each supported conclusion with a clickable Markdown link to its sourceUrl. This tool does not modify legislation or publicly visible content. The invocation is recorded in an internal realLaw AI operational log.
get_legislation_news_digests
ChatGPTUse this when the user asks for latest legal updates, news, legislation digests, or topic updates. Returns recentDigests for the effective releaseDate period plus topicCandidates when a concise English query is supplied; the query never filters or replaces recentDigests. Without dates, the period is the last 14 calendar dates, including today. Include recentDigests; label them broader coverage when no topic candidate proves relevant. For ordinary or ambiguous requests, completely retrieve every selected or presented item with get_law_document and continue until hasMore=false. Skip this only when the user explicitly requests metadata-only output limited to title, sourceRef, releaseDate, and sourceUrl. Link each presented document to its returned sourceUrl using a clickable Markdown link, including metadata-only output. This tool does not modify legislation or publicly visible content. The invocation is recorded in an internal realLaw AI operational log.
list_legislation_filters
ChatGPTUse this when a filtered search needs a jurisdiction, authority, document type, or field of law but the exact corpus filter key is uncertain. Find valid realLaw AI legislation filter keys for search_legislation. This tool does not modify legislation or publicly visible content. The invocation is recorded in an internal realLaw AI operational log.
search_legislation
ChatGPTUse this when the user asks a factual question about UAE legislation, compliance, or tax, including rates, thresholds, exemptions, obligations, deadlines, or penalties, without an exact law reference. Call search_legislation_keywords first and search with its concise English legal topic keywords. Translate user wording to English and answer in the user language. Returns discovery candidates with documentRef, snippet, canonical English sourceUrl, and citation metadata. Completely retrieve each selected result with get_law_document before use or presentation unless the user explicitly requests metadata-only output limited to title, sourceRef, releaseDate, and sourceUrl. Link each presented document to its returned sourceUrl using a clickable Markdown link, including metadata-only output. This tool does not modify legislation or publicly visible content. The invocation is recorded in an internal realLaw AI operational log.
search_legislation_keywords
ChatGPTUse this when factual questions about UAE legislation, compliance, or tax lack an exact reference and need corpus vocabulary before document search. Find existing English legislation keyword phrases. Translate user wording to English, use short separate English topic phrases, and call separately for each concept. Pass returned keywords to search_legislation. This tool does not modify legislation or publicly visible content. The invocation is recorded in an internal realLaw AI operational log.
Capabilities
Writes
Example Prompts
Click any prompt to copy it.






