params

val params: JsonElement?

Optional parameters of the command, encoded as JSON.

  • The structure depends on the command being invoked.

  • May be null if the command does not require any parameters.

Example (for Runtime.evaluate):

{
"expression": "2 + 2",
"returnByValue": true
}