analyze_shell_commands
Analyze shell scripts for cross-platform compatibility issues, detecting platform-specific commands and environment variable problems across Linux, macOS, and Windows.
Instructions
Analyze shell commands and scripts for cross-platform compatibility
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": {
"path": "<path>"
},
"name": "analyze_shell_commands"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Directory or file path to analyze | |
| checkEnvVars | No | Check environment variable usage | |
| targetShells | No | Target shell environments |