get_coredumps
Inspect systemd-coredump crash records on a remote Linux host over SSH: list recent core dumps or show details and stack traces for a PID or the latest crash.
Instructions
Inspects crashes (core dumps) recorded by systemd-coredump on a remote Linux host via SSH.
command='list' lists the last lines core dumps (time, PID, signal, executable), below the column header.
When there are no core dumps, coredumpctl exits with code 1 and ok is False - that is not a failure.
command='info' shows details of a core dump (signal, command line, stack trace if available):
of the given pid, or of the most recent one when pid is omitted.
Optional since limits them to a time window: '30 min ago', '2 hours ago', 'today',
'yesterday' or 'YYYY-MM-DD HH:MM:SS'.
Seeing other users' core dumps usually requires root.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"host": "<host>",
"user": "<user>"
},
"name": "get_coredumps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | No | ||
| host | Yes | ||
| port | No | ||
| user | Yes | ||
| lines | No | ||
| since | No | ||
| command | No | list | |
| timeout | No | ||
| key_path | No | ||
| password | No | ||
| accept_new_hostkey | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||