Get relationships
get_relationshipsLists typed relationships between objects: establishes, supports, interprets, applies, limits, distinguishes, supersedes, conflicts_with, cites. Filter by from, to, relation, and as_of (only relationships that hold on that date). Use it to find what limits or supersedes a rule.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_relationships"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| from | No | ||
| as_of | No | Date the law should be applied as of (YYYY-MM-DD). Defaults to today. | |
| relation | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| query | Yes | ||
| dataset_version | Yes |