differential_diagnosis
Retrieve corpus Patterns whose text resembles the observed behaviours, ranked by retrieval relevance (text similarity, not diagnostic probability). Returns candidates with matched_in and matched_aliases for transparency; it does not judge whether the observations are sufficient to apply any Pattern. The base package uses field-weighted keyword search; the optional embeddings extra adds cosine re-ranking.
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": {
"observations": "<observations>"
},
"name": "differential_diagnosis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| observations | Yes | Observed behaviours, symptoms, or log patterns. | |
| modality_hint | No | Optional hint about which modality the observations come from. |