generate_loki_explore_url
Create Grafana Explore URLs for Loki log queries to analyze log data with specific time ranges and refresh settings.
Instructions
Generate an Explore URL for Loki log queries
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": {
"datasourceUid": "<datasourceUid>",
"query": "<query>"
},
"name": "generate_loki_explore_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| datasourceUid | Yes | ||
| query | Yes | ||
| from | No | ||
| to | No | ||
| refresh | No |