pub async fn command(
commands: &CommandSender,
world: WorldId,
job: impl FnOnce(&mut World) -> Result<Value, String> + Send + 'static,
) -> ToolResultAvailable on crate feature
mcp and non-WebAssembly only.Expand description
Send a job to the world world names and await its JSON result.