explain_prediction
Shows why a contract clause type received its score: view the sentences and words or word pairs that raised or lowered the prediction, plus the clause type's top-weighted terms overall.
Instructions
Why the model scored one clause type as it did in one agreement: its best sentences with the words and word pairs that pushed the score up (and down) the most, and the clause type's top-weighted terms overall.
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>",
"clause_type": "<clause_type>"
},
"name": "explain_prediction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| clause_type | Yes |