《宋史·列传·卷六十七》
在晋王官邸任书记官，太宗即位，补任殿直。
以笔札事晋邸，太宗即位，补殿直。
Member of royal family and the Emperor Taizong appointed him as the Palace Guard after his accession to the throne.
<s>[INST] 请提供这段文言文的现代汉语解释: 以笔札事晋邸，太宗即位，补殿直。 [/INST] 在晋王官邸任书记官，太宗即位，补任殿直。</s>
请提供这段文言文的现代汉语解释: 以笔札事晋邸，太宗即位，补殿直。
user
在晋王官邸任书记官，太宗即位，补任殿直。
assistant