get_sys_info
Retrieve system information from Linux crash dumps to analyze system state and configuration during failures.
Instructions
Convenience tool to get system info (runs 'sys' command).
Uses default session if session_id is not provided.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No |
Implementation Reference
- src/crash_mcp/server.py:151-158 (handler)The main handler function for the 'get_sys_info' tool. It is decorated with @mcp.tool() for automatic registration and executes the 'sys' command via run_crash_command on the specified or default crash session.@mcp.tool() def get_sys_info(session_id: Optional[str] = None) -> str: """ Convenience tool to get system info (runs 'sys' command). Uses default session if session_id is not provided. """ return run_crash_command("sys", session_id)