list_log_templates
Retrieve learned log templates from the active Graylog connection, with options to filter by label and sort by count or timestamp, to understand recurring log patterns.
Instructions
List learned log templates for the active connection.
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": "list_log_templates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max templates to return. Default 50. | |
| sortBy | No | Sort key. Default 'count'. | |
| filterLabel | No | Only return templates with this label. |