Tools & toolsets
Tools are functions that extend the agent’s capabilities, organized into logical toolsets that can be enabled or disabled per platform and per specialist. Headmaster ships with a broad built-in tool registry — over 60 tools across 10+ categories.Available tool categories
| Category | Tools | Description |
|---|---|---|
| Web | web_search, web_extract | Search the web and extract page content as markdown |
| X (Twitter) search | x_search | Search X/Twitter — gated on xAI credentials, off by default |
| Terminal & files | terminal, process, read_file, patch, write_file, search_files | Execute commands, read/write/edit files, search file contents |
| Browser | browser_navigate, browser_snapshot, browser_click, browser_type, browser_vision | Interactive browser automation — text and vision based |
| Media | vision_analyze, image_generate, text_to_speech | Analyze images, generate images, convert text to speech audio |
| Agent orchestration | todo, clarify, execute_code, delegate_task | Planning, clarification, code execution, subagent delegation |
| Memory & recall | memory, session_search | Persistent memory and cross-session search |
| Automation & delivery | cronjob, send_message | Scheduled tasks and outbound messaging to channels |
| Integrations | Home Assistant, MCP server tools, Spotify, Discord | Smart home, external tools, music, chat platforms |
| Code execution | execute_code | Run Python scripts that call Headmaster tools programmatically |
| Delegation | delegate_task | Spawn isolated subagents for parallel workstreams |
| Advanced reasoning | mixture_of_agents | Route a hard problem through multiple LLMs collaboratively |
Enabling and disabling tools
Per specialist
- Open Settings → Specialists and pick a specialist.
- Go to the Tools section.
- Toggle toolsets on or off with checkboxes.
- Save.
Per platform
Tools can be configured per platform (desktop, Telegram, Discord, etc.). This lets you give the desktop agent full tool access while restricting the Telegram agent to safe tools only.- Open Settings → Headmaster’s Library → Advanced → Toolsets.
- Pick a platform.
- Toggle toolsets on or off for that platform.
- Save.
Platform presets
Headmaster has built-in platform presets that define sensible tool defaults:| Preset | Tools included |
|---|---|
| Desktop | All tools — full power |
| Telegram | Web, terminal, file, memory, skills, cron, messaging (no destructive tools) |
| Discord | Web, terminal, file, memory, skills, cron, messaging |
| CLI | All tools — same as desktop |
| Safe | Web, memory, skills, clarify, todo (no terminal, no file write, no code execution) |
Bundled tools
Some tools — web search, image generation, text-to-speech, and browser automation — can be enabled with a single bundled configuration instead of separate API keys for each service. Check the Headmaster site for current availability. When the bundle is configured:- Web search works out of the box — no Firecrawl or SerpAPI key needed.
- Image generation works — no separate FAL or OpenAI images key needed.
- Text-to-speech works — no OpenAI TTS key needed.
- Browser automation works — no separate browser service needed.
Using tools from chat
You don’t need to explicitly call tools — the agent picks the right tool based on your request. But you can guide it:web_search and web_extract automatically.
terminal to run the command.
browser_navigate and browser_vision.
image_generate.
Tool call display
Every tool call appears in the chat as an expandable block:execute_code — programmatic tool calling
Theexecute_code tool lets the agent run Python scripts that call other Headmaster tools programmatically. This collapses multi-step pipelines into a single inference call.
Instead of the agent calling web_search 5 times in sequence, it can write a Python script that calls web_search 5 times in a loop, processes the results, and returns a single summary. This is faster, cheaper, and more reliable.
- Calls
web_searchfor each framework. - Calls
web_extracton each result. - Parses the content.
- Builds a comparison table.
- Returns the table.
mixture_of_agents — collaborative reasoning
Themixture_of_agents tool routes a hard problem through multiple frontier LLMs collaboratively. It makes 5 API calls (4 reference models + 1 aggregator) with maximum reasoning effort.
Use it for:
- Complex math or algorithms.
- Multi-step analytical reasoning.
- Problems that benefit from diverse perspectives.
Tool configuration
Configure tools in Settings → Headmaster’s Library → Advanced → Tools:| Setting | What it controls |
|---|---|
| Web search | Enable/disable, choose backend (bundled or your own API key) |
| Image generation | Enable/disable, choose model |
| Text-to-speech | Enable/disable, choose voice and provider |
| Browser automation | Enable/disable, choose backend |
| Terminal | Enable/disable, choose backend (see Terminal backends) |
| X (Twitter) search | Enable/disable, requires xAI credentials |
| Home Assistant | Enable/disable, requires HA URL and token |
| Spotify | Enable/disable, requires Spotify credentials |
| Discord | Enable/disable, requires bot token |
Related
- Terminal backends — local, Docker, SSH, Modal, Daytona
- Browser — web automation details
- Image generation — full image gen guide
- Connections (MCP) — extending tools with MCP servers