record_allergy
Add a reported allergy to the health record with allergen, reaction, severity, and verification status. Stores it as approved immediately for later review and query.
Instructions
Add an allergy the user reports (stored immediately as approved, with manual provenance). allergen: what causes it (e.g. penicillin); reaction: e.g. rash, anaphylaxis; severity: mild / moderate / severe; verified: true only if confirmed by a doctor or test — unverified allergies are still treated as real; allergen_type: drug / food / environmental / other. Check get_allergies first to avoid duplicates.
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": {
"allergen": "<allergen>"
},
"name": "record_allergy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| allergen | Yes | ||
| reaction | No | ||
| severity | No | ||
| verified | No | ||
| allergen_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |