search_addon_logs
Fetch Home Assistant add-on logs and filter lines by a case-insensitive substring to avoid exceeding token limits. Optionally return only the last N matching lines.
Instructions
Fetch add-on logs and filter lines by a case-insensitive substring.
Avoids blowing the token limit when logs are very large.
Args:
slug: Add-on slug (e.g. "45df7312_zigbee2mqtt").
grep: Case-insensitive substring to filter lines by.
tail: Return only the last N matching lines (default 200).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | ||
| grep | Yes | ||
| tail | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |