get-session-logs
Get current session system logs. IMPORTANT - when commands fail, encounter errors, or need to understand previous operation results, call this tool. Logs contain command details, error info, system status.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Get Session Logs
获取当前会话的系统日志。
Parameters
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| count | integer | 否 | 返回的日志条数,默认 20,最大 200 |
| level | string | 否 | 过滤日志级别:DEBUG, INFO, WARNING, ERROR |
When to Use
- 命令返回错误码
- 操作没有预期效果
- 需要了解之前发生了什么
Returns
- 命令执行详情
- 错误信息
- 系统状态
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-03-11
- Index updated
- 2026-03-11
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!