Read a law article
well_get_law_articleRead one law text by its source_id, as it stood on as_of: a LEGI article, a BOFiP document or a Service-Public.fr fiche for France; a United States Code section, an eCFR section, a Federal Register document, a GovInfo edition or an IRS publication for the United States.
A long text is stored in parts. Part 1 has the text's own source_id, and part k has <source_id>#k. When the part you read does not hold the rule, search again with the rule's words, or read the next part.
The result gives the version in force on that day, with its validity and dates, and the dates of the other versions of the text. validity: "unknown" means the source gives no in-force dates; observed_from is only the day the source published the text. end_unknown means the source says the text ends or has ended but gives no end date.
Omit as_of for the latest verified day. On beyond_coverage, say the stored law is verified only through covered_through, and ask again with an as_of on or before it. On no_version_on_date, name the dates of the other versions. This is not legal advice.
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": {
"source_id": "<source_id>"
},
"name": "well_get_law_article"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | The day the text must be in force on. Omit for the latest verified day. | |
| source_id | Yes | The source_id of a law hit, or of a citation. | |
| workspace_id | No | Target workspace. Optional: this tool describes the token itself rather than one workspace's data, so omitting it returns the same answer. | |
| conversation_id | No | The conversation id returned by the previous Well result, in its meta under well/conversation_id, in its structuredContent, or in its JSON text block. Pass it back on every call in the same conversation, including a call a card makes, so the chosen workspace and the earlier answers still apply. It decides the conversation on its own: nothing the host states about the session replaces it. Omit it only on the first call of a conversation. | |
| workspace_scope | No | Restrict this call to the family: the token's primary workspace plus the company workspaces under it that you are a member of. Unrelated authorized workspaces drop out of the read; row reads merge across the family, while a per-workspace figure still reports exactly one workspace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | ||
| status | Yes | ||
| article | No | ||
| message | No | ||
| refusal | No | ||
| success | Yes | ||
| coverage | No | ||
| other_versions | No | ||
| conversation_id | No | The conversation this result belongs to. Pass it back as the conversation_id argument on every later Well call in the same conversation. | |
| newly_connected | No | Tools that connected to this workspace since the last result and that no session was told about yet, oldest first. Present only when at least one tool is new. The connected-line rule says when to tell an entry; when it does, one line per entry, in the person's language: "<name> is connected.". Never fold several entries into one sentence. Each entry comes back once, on one result only: never repeat its line later. | |
| conversation_id_note | No | Present only when the server opened a fresh lane, stating that no choice recorded earlier was read. | |
| other_versions_total | No | ||
| conversation_id_source | No | Where the conversation id came from: the host's own request meta, the caller's argument, or a fresh lane the server opened. |