analyze_result
Analyzes command exit codes, outputs, and execution context to generate smart suggestions for post-mortem failure analysis.
Instructions
Analyze an already-executed command result and generate smart suggestions. Useful for post-mortem analysis and understanding failures.
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": {
"command": "<command>",
"exitCode": "<exitCode>"
},
"name": "analyze_result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stderr | No | Standard error from command | |
| stdout | No | Standard output from command | |
| command | Yes | Command that was executed | |
| context | No | Additional context for better suggestions | |
| duration | No | Execution duration in milliseconds | |
| exitCode | Yes | Exit code from command execution |