Check a raidcom command line
raidcom_check_commandValidates and explains an existing Hitachi raidcom command line without executing it: parses input, rejects shell operators, and returns normalized syntax, option meanings, and all detected problems.
Instructions
Validate and explain a raidcom command line the user already has (for example one pasted from a runbook). It is parsed, not executed: shell operators such as ; | & > are refused. Returns the normalised command, what each option means, and every problem found. Credentials after -login are dropped.
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_line": "<command_line>"
},
"name": "raidcom_check_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Storage model, so values are checked against its limits: vsp-one-b24, vsp-one-b26, vsp-one-b28, vsp-5000, vsp-e590, vsp-e790, vsp-e990, vsp-e1090. Aliases such as B28 or E990 work. Omit it to check against the widest range of any model. | |
| strict | No | Default true. The command catalogue is parsed from the manual, whose syntax lines are occasionally incomplete, so a "needs <option>" error can be a false alarm. If one looks wrong after reading raidcom_describe_command, retry with strict=false: missing-option errors then become warnings. Unknown options and out-of-range values stay errors. | |
| command_line | Yes | One raidcom command, e.g. "raidcom add lun -port CL1-A-0 -ldev_id 200 -lun_id 1". |