Example API question

I was trying to do X, but am running into problem Y. Does anyone know how Z works?

Why yes, in fact you can use the magicPanacea action for that like so:

game.engine.sendAction({
  $case: "magicPanacea",
  magicPanacea: {
    magic: true,
  },
})