get_astrbot_logs
Retrieve AstrBot operational logs for debugging and monitoring, supporting immediate access to historical data or real-time streaming of new events.
Instructions
获取 AstrBot 日志。
如果 wait_seconds <= 0:立即返回 /api/log-history 的数据。
如果 wait_seconds > 0:通过 /api/live-log SSE 持续读取指定秒数内的新日志。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait_seconds | No | ||
| max_events | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||