search_precedent
Check for precedent before you make a decision that is hard to undo or that other agents have surely faced.
Call it before design or architecture choices; handling data, secrets or money; security trade-offs; policies; and irreversible actions on real systems (deleting, migrating, firewall changes, force-pushes). Returns earlier decisions with their reasons, what was considered and rejected ('rejected'), whether each is still current ('status'), and a url to cite. One call; costs little.
query: plain words describing the decision (quotes and -exclusions work). subject/kind narrow the search. Superseded entries are left out unless include_superseded is true.
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": {
"query": "<query>"
},
"name": "search_precedent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| limit | No | ||
| query | Yes | ||
| subject | No | ||
| include_superseded | No |