Each item in Minecraft has a unique ID assigned to it, known as an item ID, this can be used in commands to spawn the item into the game. The item ID for knowledge book in Minecraft is shown below:
The Knowledge Book item can be spawned in Minecraft with the below command. Cheats must be enabled before this will work.
This item can only be spawned in using its spawn commands that are found on this page. This book can be used to unlock crafting recipes (if they are locked, for example by the doLimitedCrafting gamerule).