search_logs
Search application logs by service, level, trace ID, or message content to troubleshoot incidents; returns newest matches first with sensitive values masked.
Instructions
Search logs by service, level, trace id or message content.
Returns the newest matches first. Credential-shaped values in log messages are masked before the result leaves the server.
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": "search_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | ERROR, WARN, INFO, DEBUG. | |
| limit | No | ||
| since | No | NRQL time window, e.g. '30 MINUTES AGO'. | |
| trace_id | No | Correlate logs with one distributed trace. | |
| account_ids | No | ||
| entity_guid | No | ||
| service_name | No | Matched against service.name, entity.name, faas.name. | |
| message_contains | No | Substring match on the log message. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |