Who wrote
who_wroteWhich law wrote each word (or each line) of a provision as it stood on a date, with a count of words per law.
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": {
"path": "<path>"
},
"name": "who_wrote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | An in-force date, YYYY-MM-DD, or "today". Defaults to today. | |
| path | Yes | A provision file, for example united-states/federal/usc/title-11/1182.md, from find_provision. | |
| offset | No | Where the part starts, in characters: the offset the previous part gave for the next one (default 0). | |
| max_chars | No | Longest part of the text in one answer (default 40000, at least 1000, at most 100000). A longer text comes in parts. | |
| granularity | No | word (default) or line. | |
| include_runs | No | Also give each run of words with its law as a list (the marked text in the answer has the same). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||