Datasource Add To Report
datasource_add_to_reportAttaches an existing datasource to a report, assigns its report alias, and verifies the report lists it as attached; repeat calls are idempotent.
Instructions
Add an existing datasource to the report (Add data > My data sources): names it in the report's datasourceAlias and verifies the report lists it as attached. Idempotent. Remove with datasources_remove_from_report.
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>"
},
"name": "datasource_add_to_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| report_id | No | ||
| datasource_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||