search_clauses
Search a library of liability clause precedents to find matches for a given clause text. Returns relevant chunks with source details and similarity scores.
Instructions
Search the precedent clause library (CUAD liability spans).
Returns chunks with stable chunk_ids, source contract, char offsets and scores. If evidence is too weak (status: "below_threshold"), that is an abstention, not an error: do NOT retry with rephrased queries to force a result — relay the abstention. top_scores shows how far below the threshold the best matches were.
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_clauses"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Full clause text to find precedents for. Pass the complete clause: short paraphrases score lower against the evidence gate and abstain more often (the gate is calibrated on full clause texts). | |
| clause_type | No | Clause lane to audit against. Only 'liability' is implemented. | liability |
| k | No |