update_user_preferences
Update news preferences for the authenticated user. Each preference is defined by news category(or search parameter), region, output language. Optional values include last_n_hours for recency filter, search_type, and enable_decay. Leave search_type as auto (default) — the system will classify the best type from the category. Login is required to access this tool.
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": {
"id": "<id>",
"preference": "<preference>"
},
"name": "update_user_preferences"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the preference to update | |
| preference | Yes | Preference to update for the user |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| region | Yes | ||
| category | Yes | ||
| language | Yes | ||
| search_type | Yes | ||
| enable_decay | Yes | ||
| last_n_hours | Yes | ||
| similarity_threshold | Yes |