update_settings
Update import settings for a company with incremental patches. Provide only the fields to modify to avoid overwriting unrelated settings.
Instructions
Updates per-company import settings. Pass only the fields you want to change inside 'settings' (e.g. { dateFormat: 'dd/MM/yyyy' }). Fetch current values with get_settings first so you don't clobber unrelated fields. Returns the updated settings.
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": {
"companyId": "<companyId>",
"settings": "<settings>"
},
"name": "update_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| companyId | Yes | Company id from list_companies. | |
| settings | Yes | Settings patch. Common fields: dateFormat ('MM/dd/yyyy' | 'dd/MM/yyyy' | 'yyyy-MM-dd'), incrementDocNumber, createMissingProducts, createMissingAccounts, skipDuplicates. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dateFormat | No | Date parse format. | |
| incrementDocNumber | No | ||
| createMissingProducts | No | ||
| createMissingAccounts | No | ||
| skipDuplicates | No |