<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Tools on Chen Kai Blog</title><link>https://www.chenk.top/en/tags/tools/</link><description>Recent content in Tools on Chen Kai Blog</description><generator>Hugo</generator><language>en</language><lastBuildDate>Thu, 02 Apr 2026 09:00:00 +0000</lastBuildDate><atom:link href="https://www.chenk.top/en/tags/tools/index.xml" rel="self" type="application/rss+xml"/><item><title>LLM Engineering (7): Function Calling and Tool Use</title><link>https://www.chenk.top/en/llm-engineering/07-function-calling/</link><pubDate>Thu, 02 Apr 2026 09:00:00 +0000</pubDate><guid>https://www.chenk.top/en/llm-engineering/07-function-calling/</guid><description>&lt;p>Function calling connects an LLM to the world outside its weights. It combines chat-template details (&lt;a href="https://www.chenk.top/en/llm-engineering/02-tokenization/">Chapter 2&lt;/a>
), structured-output kernels (&lt;a href="https://www.chenk.top/en/llm-engineering/05-inference/">Chapter 5&lt;/a>
), and prompt engineering (&lt;a href="https://www.chenk.top/en/llm-engineering/09-prompting/">Chapter 9&lt;/a>
). This chapter explores what happens under the hood, the guarantees you can rely on, and the agent-loop patterns that handle real workloads.&lt;/p>
&lt;p>The intellectual lineage matters. Tool use as an LLM capability traces back to two near-simultaneous papers in 2022: &lt;strong>MRKL Systems&lt;/strong> (Karpas et al., AI21) which proposed expert-routing among neuro-symbolic modules, and &lt;strong>ReAct&lt;/strong> (&lt;a href="https://arxiv.org/abs/2210.03629" target="_blank" rel="noopener noreferrer">Yao et al., 2022 &lt;span aria-hidden="true" style="font-size:0.75em; opacity:0.55; margin-left:2px;">↗&lt;/span>&lt;/a>
) which interleaved chain-of-thought reasoning with tool actions. &lt;strong>Toolformer&lt;/strong> (&lt;a href="https://arxiv.org/abs/2302.04761" target="_blank" rel="noopener noreferrer">Schick et al., 2023 &lt;span aria-hidden="true" style="font-size:0.75em; opacity:0.55; margin-left:2px;">↗&lt;/span>&lt;/a>
) showed self-supervised teaching of tool use, generating training data by having a model insert tool-call markers into existing text. By 2024 every frontier model had post-training data structured around the tool-use format, and tool calling moved from &amp;ldquo;research demo&amp;rdquo; to &amp;ldquo;API feature.&amp;rdquo;&lt;/p></description></item><item><title>Linux (9): Vim Essentials</title><link>https://www.chenk.top/en/linux/09-vim-essentials/</link><pubDate>Sat, 02 Apr 2022 10:00:00 +0000</pubDate><guid>https://www.chenk.top/en/linux/09-vim-essentials/</guid><description>&lt;p>Most people quit Vim because they try to memorize shortcuts. That&amp;rsquo;s the wrong approach. Vim is a &lt;em>small language&lt;/em>: learn the grammar — &lt;strong>operator + motion&lt;/strong> — and you can express any edit without ever opening a cheat sheet. This guide covers the 80% of Vim you&amp;rsquo;ll use daily and shows how the remaining 20% naturally follows from the same basic rules.&lt;/p>
&lt;hr>
&lt;h2 id="what-you-will-learn" class="heading-anchor">What You Will Learn&lt;a href="#what-you-will-learn" class="heading-link" aria-label="Permalink to this section" title="Copy link to this section">#&lt;/a>
&lt;/h2>&lt;ul>
&lt;li>The single core idea: &lt;strong>modes&lt;/strong> plus &lt;strong>composable operations&lt;/strong> (operator + motion)&lt;/li>
&lt;li>The handful of motions, text objects, and operators that cover almost everything&lt;/li>
&lt;li>File operations, search &amp;amp; replace, macros, marks, registers&lt;/li>
&lt;li>Buffers vs windows vs tabs — the mental model people most often get wrong&lt;/li>
&lt;li>A minimal &lt;code>.vimrc&lt;/code> and a one-week deliberate-practice plan to build muscle memory&lt;/li>
&lt;/ul>
&lt;h2 id="prerequisites" class="heading-anchor">Prerequisites&lt;a href="#prerequisites" class="heading-link" aria-label="Permalink to this section" title="Copy link to this section">#&lt;/a>
&lt;/h2>&lt;ul>
&lt;li>Any terminal (Vim ships with virtually every Unix-like system)&lt;/li>
&lt;li>A willingness to feel slow for about a week&lt;/li>
&lt;/ul>
&lt;hr>
&lt;h2 id="the-core-idea--modes-plus-a-tiny-grammar" class="heading-anchor">The core idea — modes plus a tiny grammar&lt;a href="#the-core-idea--modes-plus-a-tiny-grammar" class="heading-link" aria-label="Permalink to this section" title="Copy link to this section">#&lt;/a>
&lt;/h2>&lt;p>&lt;figure class="article-figure">
 &lt;img src="https://blog-pic-ck.oss-cn-beijing.aliyuncs.com/posts/en/standalone/vim-essentials/fig1_mode_state_diagram.png" alt="The Four Modes of Vim" loading="lazy" decoding="async" class="content-image">
 
&lt;/figure>
&lt;/p></description></item></channel></rss>