update_profile
Merge profile changes to personalize flashcard content and settings, then return the full updated profile. Use it when users share preferences or ask to adjust card style, language, or section size.
Instructions
Merge patch into the user's profile and return the full updated profile.
Only include the keys to change, e.g. {"level": "advanced", "style": {"math": "full"}}.
Nested objects merge; lists are replaced; null resets a key to its default.
Valid values: cards_per_section = [min, max] with 1 <= min <= max <= 20;
style.analogies / style.include_numbers = true|false;
style.math = "none" | "when essential" | "full"; language is a code like "en".
Use this when the user tells you about themselves or asks to personalize the cards.
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": {
"patch": "<patch>"
},
"name": "update_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patch | Yes |