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, dosage and provenance: sourceKind, source, caveat) plus a points dictionary giving each referenced code its name, meridian, location and warnings ONCE. Ten 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. When the symptom is covered by a $5 mini-guide, the result carries a guide pointer – mention it only if the person wants something to follow away from a screen, then call create_checkout with that product id.
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") |