Grafana: List Datasources
grafana_list_datasourcesList Grafana datasources with their UID, name, type, and default status to choose the correct source for queries. Filter results by plugin type or name substring.
Instructions
List the datasources: uid, name, type (prometheus, loki, alertmanager, postgres…), and which one is the default. Every query tool takes a datasource by uid or name. Credentials and plugin settings are never returned.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "grafana_list_datasources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Only datasources of this plugin type, e.g. "prometheus" or "loki". | |
| search | No | Case-insensitive substring to filter by, e.g. `nginx`. |