update_config
Change Amazon site, sign-in browser, account, or request settings; save preferences or apply tuning changes that last until restart unless saved.
Instructions
Change a setting. Change a preference, like the Amazon site (domain) or the browser to sign in with (browser), only when the user asks. You may change a tuning setting yourself when calls keep failing (e.g. a longer request_timeout after timeouts, or a smaller thread_pool_size when Amazon throttles requests), and tell the user what you changed. warn_on_missing_required_field returns partial data instead of an error, so say so if you change it. A preference is saved, and tuning lasts until the server restarts unless save is true, which you can offer if a change keeps helping. domain is the default site, which tools read when they aren't given site, so to read another site once, pass it as site instead. After changing domain, check with check_session, since the user may need to sign in to the new default site. account is the default account the same way, one from check_session. What each setting does: https://amazon-orders.readthedocs.io/api.html#amazonorders.conf.AmazonOrdersConfig
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": {
"key": "<key>",
"value": "<value>"
},
"name": "update_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The setting, from `get_config`. | |
| save | No | Whether to save the change. By default, a preference is saved and tuning isn't. | |
| value | Yes | The new value. Null or an empty string sets it back to the default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The setting. | |
| saved | Yes | Whether the change was saved, or only made until the server restarts. | |
| value | No | The value now in effect. A null value means the default. |