The Book of the Dead was part of a tradition of funerary texts which includes the earlier Pyramid Texts and Coffin Texts, which were painted onto objects, not papyrus.
Spell 6 Spell for causing a shabti to do work for a man in the realm of the dead: O shabti, allotted to me, if I be summoned or if I be detailed to do any work which has to be done in the realm of the dead, if indeed any obstacles are implanted for you therewith as a man at his duties, you shall detail yourself for me on every occasion of making arable the fields, of flooding the banks or of conveying sand from east to west; 'Here I am', you shall say.