Skip to content

Custom tool

igardev edited this page Sep 15, 2025 · 5 revisions

Custom tool

Overview

llama-vscode provides to the users the posibility to partially create their own tool. Custom tool is a simple one - has not parameters and returns always the same result.

How to use it

Configure the description of the tool and the returned result, enable the tool and ask the agent questions related to the tool.

Settings:

  • Tool_custom_tool_description: Description of the tool. This description will be used by the AI to decide if this tool should be used. Example: "Use this tool for information about llama.cpp and llama-server - how to build it, how to use it, options, etc."
  • Custom_tool_source: What should be returned by the tool. Could be file or a web page. Eample: https://blog.steelph0enix.dev/posts/llama-cpp-guide/ ​The tool returns the content of the file or the web page.
CustomTool.mp4
CustomToolCheck.mp4
Clone this wiki locally