get_sys_info
Retrieve system information by executing the 'sys' command to analyze Linux system configurations and environment details.
Instructions
Convenience tool to get system info (runs 'sys' command).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- src/crash_mcp/server.py:159-163 (handler)The get_sys_info tool handler, registered via @mcp.tool() decorator. It delegates to run_crash_command('sys') to retrieve system information from the crash dump session.
@mcp.tool() def get_sys_info(session_id: Optional[str] = None) -> str: """Convenience tool to get system info (runs 'sys' command).""" return run_crash_command("sys", session_id)