save_meal_plan
Save a generated meal plan JSON to SQLite using patient ID and plan data, enabling persistent storage for later retrieval.
Instructions
把已生成的食谱 JSON 字符串写入 SQLite(plan_json 来自 generate_meal_plan 的原始输出)。
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": {
"patient_id": "<patient_id>",
"plan_json": "<plan_json>"
},
"name": "save_meal_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_json | Yes | ||
| patient_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |