List data sources
datasource_listLists a report’s data sources—aliases, IDs, usage, connections, credentials, freshness, status—and optionally their fields to inspect or select sources before editing charts or queries.
Instructions
Lists the data sources a report uses: alias (ds1, ds2 …), name, id, how many charts and report filters or parameters use each, the connection (BigQuery table path, or a custom query's SQL and billing project), whether it is embedded in the report or reusable, whose credentials it reads with (owner or viewer), data freshness, status and query parameters. Use it before adding charts, removing or changing a source, to learn the aliases the other data source tools take. With fields: true each source also lists its fields with type, dimension or metric, and default aggregation, which is how to spot a custom query column Looker Studio typed wrongly (fix it with field_update). Google Sheets worksheet settings and GA4 account/property IDs are also identified. Other connectors are listed by native type.
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": {
"report_id": "<report_id>"
},
"name": "datasource_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Also list every field of each source with its type, dimension or metric, and default aggregation. | |
| report_id | Yes | Report id or its Looker Studio URL. | |
| data_source | No | Show only this data source (alias such as ds2, id, or name). All of them when left out. |