calculate_dose_by_weight
Calculate weight-based dosage using dose per kg and patient weight. Supports optional max dose limit to ensure safe dosing.
Instructions
Calculate weight-based dosage (mg/kg). Agent contract: use structuredContent as the source of truth; preserve schema_version/status/sources/warnings/errors/meta when forwarding the result and never infer missing clinical facts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locale | No | BCP 47 locale for labels and messages (for example zh-TW). | zh-TW |
| max_dose | No | ||
| dose_unit | No | mg | |
| dose_per_kg | Yes | ||
| output_format | No | Text rendering. structuredContent always follows the versioned outputSchema. | json |
| patient_weight_kg | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| meta | Yes | ||
| errors | Yes | ||
| status | Yes | ||
| sources | Yes | ||
| warnings | Yes | ||
| schema_version | Yes |