search_logs
Search Datadog logs by query over a chosen time range and limit to retrieve matching log entries for troubleshooting and monitoring.
Instructions
Search Datadog logs
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": {
"query": "<query>"
},
"name": "search_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| timeTo | No | now | |
| timeFrom | No | now-15m |