Components Patch
components_patchPatch existing components on a single report page in one versioned write with RFC 6902 operations and fingerprint checks; dry_run previews changes before applying.
Instructions
Patch existing components on ONE page in a single versioned write.
Each change identifies a component and RFC 6902 add/replace/remove/test operations relative to that component. Preserve all unknown fields. Use page_get's fingerprint. Geometry is in attributeConfig.componentAttribute; styles and bindings are in propertyConfig.componentProperty and conceptDefs. dry_run previews changes without a remote write. Returns a durable operation ID and read-back status. Does not change a component's ID or datasource.
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": {
"page_id": "<page_id>",
"changes": "<changes>",
"expected_fingerprint": "<expected_fingerprint>"
},
"name": "components_patch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | Yes | ||
| dry_run | No | ||
| page_id | Yes | ||
| report_id | No | ||
| expected_fingerprint | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||