All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Comparing Approaches to LLM Tool Descriptions: Direct Tool Calls vs. Shell Command Integration

By

zerf

4mo ago· 7 min readenInsight

Summary

The article discusses evolving industry practices in 2026 for structuring tool descriptions within LLM context windows. It compares two main approaches: providing top-level tools for fine-grained actions (like listing GitHub pull requests) versus informing models about useful shell commands they can invoke directly. Both approaches allow for reusable skills that guide models on performing useful work, with the key difference being whether models emit direct tool calls or exec_bash calls referencing CLIs.

Key quotes

· 5 pulled
Industry practice is divided on how to structure tool descriptions within the context window of an LLM.
One strategy is to provide top-level tools that perform fine grained actions (e.g. list pull requests in a GitHub repo).
Another increasingly popular strategy is to eschew new tools per se and to simply inform the model of useful shell commands it may invoke.
In both cases reusable skills can be defined that give the model tips on how to perform useful work with the tools.
The main difference is whether the model emits a direct tool call or instead an exec_bash call containing a reference to CLIs.
Snippet from the RSS feed
It’s early 2026. Industry practice is divided on how to structure tool descriptions within the context window of an LLM. One strategy is to provide top-level tools that perform fine grained actions (e.g. list pull requests in a GitHub repo). Another incre

You might also wanna read