Find treatment protocols
search_protocolsFind acupuncture protocols for given symptom names – the same ranked pipeline behind GET /api/protocols. Returns matches (each with point codes, cred, modality and course where the source states them, the result once someone has read it, and provenance: sourceKind, source, caveat) plus a points dictionary giving each referenced code its name, meridian, location and warnings ONCE, and studyBacked, false when no study covers the query. It returns 10 matches by default; raise limit (max 50) if you need more. directMatches lists indicated points when no protocol covers the query – index entries, not prescriptions. Pass symptom names from search_symptoms, not a description.
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": {
"symptoms": "<symptoms>"
},
"name": "search_protocols"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| age | No | Patient age. Drops protocols whose recorded cohort age is more than 20 years away; rows that recorded no age are kept. | |
| sex | No | Patient sex. Drops protocols recorded in the opposite sex; rows that recorded no sex are kept. | |
| limit | No | Max protocols to return (default 10, max 50) | |
| symptoms | Yes | Comma-separated symptom names, max 10 (e.g. "headache,neck pain") |