Datasource Fields Rename
datasource_fields_renameRename datasource field labels while preserving internal IDs and other definitions. Use fingerprint checks to prevent conflicts and preview changes with a dry run.
Instructions
Rename datasource field labels, preserving internal IDs and all other definitions.
Shared sources require allow_shared_source=true and report external impact. Requires matching draft/published to avoid publishing human drafts. Get fingerprint from datasource_get. Publishes full draft, independently reads both states, journals before/after for operation_restore. No automatic retry. This API has no characterized server CAS; preflight cannot lock out other clients.
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": {
"datasource_id": "<datasource_id>",
"changes": "<changes>",
"expected_fingerprint": "<expected_fingerprint>"
},
"name": "datasource_fields_rename"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | Yes | ||
| dry_run | No | ||
| report_id | No | ||
| datasource_id | Yes | ||
| allow_shared_source | No | ||
| expected_fingerprint | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||