Community Viz Register
community_viz_registerRegister a community visualization manifest in a report before creating components that use its type, or remove it when no components depend on it.
Instructions
Add (or with register=false remove) a community visualization to the report (needed before components_create can use its type). viz_id: manifest path (gs://bucket/path or google://...) plus U+00A0 and the component ID, e.g. "google://devrel/googlecharts gauge", "gs://datastudio_visualizations/funnel/v4/prod pmaMetricFunnel". Then components_create with type=viz_id (no explicit fields: the editor binds its defaults; adjust data slots with components_patch). Removal is refused while components use it. Journalled, verified, restorable.
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": {
"viz_id": "<viz_id>",
"expected_fingerprint": "<expected_fingerprint>"
},
"name": "community_viz_register"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| viz_id | Yes | ||
| dry_run | No | ||
| register | No | ||
| report_id | No | ||
| expected_fingerprint | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||