update_data_source
Updates the metadata of an existing source (cadence, connectionInfo, extractionLogic). The connectionInfo provided is MERGED key by key into the existing one by default (keys not sent back are kept); connectionInfoMode: 'replace' gives an explicit full replacement. If connectionInfo contains a key that looks like a credential (password/token/secret/api_key/…), even nested at any depth, the WHOLE call is refused with an explicit error naming the offending key — no silent filtering, nothing is written.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| desc | No | ||
| name | No | ||
| colorKey | No | ||
| sourceType | No | ||
| connectionInfo | No | MERGED into the existing connectionInfo, key by key (update_cell pattern): only the keys provided are written, the others stay. `connectionInfoMode: 'replace'` REPLACES the old one ENTIRELY (keys not sent back are lost). | |
| refreshCadence | No | ||
| extractionLogic | No | ||
| expectedProjectId | No | UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted. | |
| connectionInfoMode | No | 'merge' (DEFAULT): the `connectionInfo` provided is merged key by key into the existing one, keys not mentioned are kept. 'replace': the `connectionInfo` provided REPLACES the old one ENTIRELY (any key not sent back is lost) — requires `connectionInfo` (an empty `{}` clears everything). |