Custom command with arguments?

How do you specify that your custom command takes arguments? Clearly some commands (such as those from the lock capabilities set) take one or more arguments. I can’t figure out the syntax to tell the device type settings that my commands require args.

Since I just beat my head against this, for anyone else who wants to know, it goes something like this:

command “name”, [“NUMBER”, “STRING”, …]