I made a written book command full of op items but unfortunately I'm stuck because of this problem.
12 Answers
Creat a function with the command in it and run it from your game to get the item.
Functions do not have a character limit, instead they have a commands limit (which is pretty big).
Just split it into two commands. Half the items in one, half in the other.