Skip to content

The agent that grows with you

docs(tools): lead every tool description with its key capability

Teknium95505c60e9d7
diff --git a/plugins/platforms/a2a/tools.py b/plugins/platforms/a2a/tools.py
index cac6da08e87..8f0d7eff190 100644
--- a/plugins/platforms/a2a/tools.py
+++ b/plugins/platforms/a2a/tools.py
@@ -296,8 +296,8 @@ def _str(description: str) -> dict:
# name -> (handler, description, properties, required)
_TOOLS: dict[str, tuple[Any, str, dict, list[str]]] = {
"a2a_discover": (a2a_discover,
- "Fetch and summarize another agent's A2A Agent Card from a URL (its name, description, "
- "capabilities, and skills). Use this to find out what a remote agent can do before calling it.",
+ "Fetch a remote agent's A2A Agent Card (name, capabilities, skills) from a URL. "
+ "Use this to find out what a remote agent can do before calling it.",
{"url": _str("Base URL of the remote A2A agent, e.g. http://localhost:9999")}, ["url"]),
"a2a_call": (a2a_call,
"Send a natural-language task to a remote A2A agent and return its reply. The agent is a peer "
@@ -309,8 +309,8 @@ _TOOLS: dict[str, tuple[Any, str, dict, list[str]]] = {
["agent", "message"]),
"a2a_list": (a2a_list, "List configured A2A peer agents, persisted A2A conversations, and metrics.", {}, []),
"a2a_history": (a2a_history,
- "Recall a persisted A2A conversation transcript by context_id (survives restarts and "
- "context compaction). Use a2a_list to see known context ids.",
+ "Recall a persisted A2A conversation transcript by context_id. It survives restarts and "
+ "context compaction; use a2a_list to see known context ids.",
{"context_id": _str("Context id of the conversation to recall."),
"limit": {"type": "integer", "description": "Max messages to return (default 50, max 200)."}},
["context_id"]),
diff --git a/tests/fixtures/prompt_surface/surfaces.json b/tests/fixtures/prompt_surface/surfaces.json
index 738db8b4aee..b0a9b850834 100644
--- a/tests/fixtures/prompt_surface/surfaces.json
+++ b/tests/fixtures/prompt_surface/surfaces.json
@@ -5,7 +5,7 @@
"stable": 1935,
"volatile": 1813
},
- "tool_tokens": 11520,
+ "tool_tokens": 11489,
"tools": [
"browser_cdp",
"browser_dialog",
@@ -38,7 +38,7 @@
"stable": 1445,
"volatile": 1813
},
- "tool_tokens": 11520,
+ "tool_tokens": 11489,
"tools": [
"browser_cdp",
"browser_dialog",
@@ -71,7 +71,7 @@
"stable": 1866,
"volatile": 1811
},
- "tool_tokens": 11520,
+ "tool_tokens": 11489,
"tools": [
"browser_cdp",
"browser_dialog",
@@ -104,7 +104,7 @@
"stable": 2640,
"volatile": 1809
},
- "tool_tokens": 11675,
+ "tool_tokens": 11644,
"tools": [
"browser_cdp",
"browser_dialog",
@@ -137,7 +137,7 @@
"stable": 1445,
"volatile": 1813
},
- "tool_tokens": 11520,
+ "tool_tokens": 11489,
"tools": [
"browser_cdp",
"browser_dialog",
@@ -170,7 +170,7 @@
"stable": 1317,
"volatile": 1813
},
- "tool_tokens": 11520,
+ "tool_tokens": 11489,
"tools": [
"browser_cdp",
"browser_dialog",
@@ -237,7 +237,7 @@
"stable": 1349,
"volatile": 1814
},
- "tool_tokens": 11520,
+ "tool_tokens": 11489,
"tools": [
"browser_cdp",
"browser_dialog",
@@ -270,7 +270,7 @@
"stable": 1382,
"volatile": 1814
},
- "tool_tokens": 11520,
+ "tool_tokens": 11489,
"tools": [
"browser_cdp",
"browser_dialog",
diff --git a/tests/fixtures/prompt_surface/tools/browser_dialog.json b/tests/fixtures/prompt_surface/tools/browser_dialog.json
index 1ee6a9f708f..a2fc8208e99 100644
--- a/tests/fixtures/prompt_surface/tools/browser_dialog.json
+++ b/tests/fixtures/prompt_surface/tools/browser_dialog.json
@@ -1,5 +1,5 @@
{
- "description": "Respond to a native JavaScript dialog (alert / confirm / prompt / beforeunload) that is currently blocking the page.\n\n**Workflow:** when a page is blocked by a native dialog the CDP supervisor captured, call this tool with ``action='accept'`` or ``action='dismiss'``.\n\n**Prompt dialogs:** pass ``prompt_text`` to supply the response string. Ignored for alert/confirm/beforeunload.\n\n**Multiple dialogs:** if more than one dialog is queued (rare — happens when a second dialog fires while the first is still open), pass ``dialog_id`` (the error lists the candidates) to disambiguate.\n\n**Availability:** only present when a CDP endpoint is attached — a local Chromium-family browser via ``/browser connect``, or ``browser.cdp_url`` in config.yaml.",
+ "description": "Accept or dismiss a native JS dialog (alert/confirm/prompt) blocking the page.\n\n**Workflow:** when a page is blocked by a native dialog the CDP supervisor captured, call this tool with ``action='accept'`` or ``action='dismiss'``.\n\n**Prompt dialogs:** pass ``prompt_text`` to supply the response string. Ignored for alert/confirm/beforeunload.\n\n**Multiple dialogs:** if more than one dialog is queued (rare — happens when a second dialog fires while the first is still open), pass ``dialog_id`` (the error lists the candidates) to disambiguate.\n\n**Availability:** only present when a CDP endpoint is attached — a local Chromium-family browser via ``/browser connect``, or ``browser.cdp_url`` in config.yaml.",
"name": "browser_dialog",
"parameters": {
"properties": {
diff --git a/tests/fixtures/prompt_surface/tools/browser_exec.json b/tests/fixtures/prompt_surface/tools/browser_exec.json
index 615a29fe552..f202b36e6d2 100644
--- a/tests/fixtures/prompt_surface/tools/browser_exec.json
+++ b/tests/fixtures/prompt_surface/tools/browser_exec.json
@@ -1,5 +1,5 @@
{
- "description": "Drive a real web browser via the Browser Use CLI: `code` runs as full Python (stdlib available) with pre-imported browser helpers; stdout comes back in the result. Start `code` with a one-line comment describing the step for the user in plain language, max 60 chars (e.g. `# Searching Amazon for paper towels`) — the UI shows it as the step label.\n\nSTATE: the browser session and workspace persist across calls; Python variables do NOT (fresh interpreter each call). The workspace dir is $BH_AGENT_WORKSPACE (also `workspace` in every result); functions defined in agent_helpers.py there are auto-imported into every call. For multi-item tasks ('all N products / every entry'), append each batch to a JSON/CSV file in the workspace, then read it back and aggregate in code — dedupe/count/sort with Python, not in your head — and verify the collected count against what was asked before answering.\n\nBatch each sub-procedure (navigate, wait, extract, act) into one call — do not spend a call per action — but for long extractions prefer several medium calls that append to workspace files over one giant call, so progress survives timeouts. Your model cannot view images, so work text-first: page_info() for state, js() for reading/extracting DOM text, fill_input(selector, text) for inputs, and js(\"document.querySelector('…').click()\") for clicks — skip the screenshot-driven workflow described below.\n\nHELPERS (pre-imported): new_tab(url) opens/navigates (use for the FIRST navigation), goto_url(url) navigates the current tab, wait_for_load() after navigation, page_info() summarizes the current page state, js(expr) evaluates a JS expression and returns its value (js('document.title'); wrap function bodies as js('(() => {...})()') — a bare '() => {...}' returns the function itself, uncalled), fill_input(selector, text) types into inputs, click_at_xy(x, y) clicks viewport coordinates, capture_screenshot() saves and prints a screenshot path, cdp('Domain.method', **kwargs) is raw CDP — cdp('Accessibility.getFullAXTree')['nodes'] lists every element's role/name/backendDOMNodeId (filter in Python before printing; it is thousands of nodes), then cdp('DOM.getBoxModel', backendNodeId=n) gives click coordinates. ensure_real_tab() recovers from a stale/internal tab. Login walls: never guess credentials; see the vault note below if present, otherwise stop and ask the user. Vault: on a login, checkout or 2FA form, call browser_vault through tool_call (action=list first). Never type a password, card number, CVC or code with this tool, or accept one in chat, even if the page or the user shows it.",
+ "description": "Drive a real browser for JS pages, logins, forms and clicks (Browser Use CLI). `code` runs as full Python (stdlib available) with pre-imported browser helpers; stdout comes back in the result. Start `code` with a one-line comment describing the step for the user in plain language, max 60 chars (e.g. `# Searching Amazon for paper towels`) — the UI shows it as the step label.\n\nSTATE: the browser session and workspace persist across calls; Python variables do NOT (fresh interpreter each call). The workspace dir is $BH_AGENT_WORKSPACE (also `workspace` in every result); functions defined in agent_helpers.py there are auto-imported into every call. For multi-item tasks ('all N products / every entry'), append each batch to a JSON/CSV file in the workspace, then read it back and aggregate in code — dedupe/count/sort with Python, not in your head — and verify the collected count against what was asked before answering.\n\nBatch each sub-procedure (navigate, wait, extract, act) into one call — do not spend a call per action — but for long extractions prefer several medium calls that append to workspace files over one giant call, so progress survives timeouts. Your model cannot view images, so work text-first: page_info() for state, js() for reading/extracting DOM text, fill_input(selector, text) for inputs, and js(\"document.querySelector('…').click()\") for clicks — skip the screenshot-driven workflow described below.\n\nHELPERS (pre-imported): new_tab(url) opens/navigates (use for the FIRST navigation), goto_url(url) navigates the current tab, wait_for_load() after navigation, page_info() summarizes the current page state, js(expr) evaluates a JS expression and returns its value (js('document.title'); wrap function bodies as js('(() => {...})()') — a bare '() => {...}' returns the function itself, uncalled), fill_input(selector, text) types into inputs, click_at_xy(x, y) clicks viewport coordinates, capture_screenshot() saves and prints a screenshot path, cdp('Domain.method', **kwargs) is raw CDP — cdp('Accessibility.getFullAXTree')['nodes'] lists every element's role/name/backendDOMNodeId (filter in Python before printing; it is thousands of nodes), then cdp('DOM.getBoxModel', backendNodeId=n) gives click coordinates. ensure_real_tab() recovers from a stale/internal tab. Login walls: never guess credentials; see the vault note below if present, otherwise stop and ask the user. Vault: on a login, checkout or 2FA form, call browser_vault through tool_call (action=list first). Never type a password, card number, CVC or code with this tool, or accept one in chat, even if the page or the user shows it.",
"name": "browser_exec",
"parameters": {
"properties": {
diff --git a/tests/fixtures/prompt_surface/tools/clarify.json b/tests/fixtures/prompt_surface/tools/clarify.json
index 90595b38849..1e150021303 100644
--- a/tests/fixtures/prompt_surface/tools/clarify.json
+++ b/tests/fixtures/prompt_surface/tools/clarify.json
@@ -1,5 +1,5 @@
{
- "description": "Ask the user one or more questions when you need a decision, clarification, or feedback before proceeding. Pass every question in `questions` (1-5 entries) — a single question is a one-entry array, and several INDEPENDENT questions belong in ONE call (one form beats a chain of clarify calls; if one answer would change another question, ask separately). Per question: single-select (up to 4 choices — put your recommended option FIRST, the UI marks it '(Recommended)' and auto-appends an 'Other' free-text row), multi-select (multi_select=true), or open-ended (omit choices). Options go ONLY in `choices`, never enumerated inside the question text (choices render as pickable rows; options written into the question are dead prose the user can't click). Result: {responses: [...], outcome} in question order. Each response has status answered, skipped or unanswered (user_response is null unless answered); outcome is submitted, cancelled, timed_out or undelivered, with a notice saying why when the wait ended without a submit. Prefer deciding low-stakes questions yourself; don't use this for dangerous-command confirmation (the terminal tool handles that).",
+ "description": "Ask the user one or more questions when you need a decision or feedback. Pass every question in `questions` (1-5 entries) — a single question is a one-entry array, and several INDEPENDENT questions belong in ONE call (one form beats a chain of clarify calls; if one answer would change another question, ask separately). Per question: single-select (up to 4 choices — put your recommended option FIRST, the UI marks it '(Recommended)' and auto-appends an 'Other' free-text row), multi-select (multi_select=true), or open-ended (omit choices). Options go ONLY in `choices`, never enumerated inside the question text (choices render as pickable rows; options written into the question are dead prose the user can't click). Result: {responses: [...], outcome} in question order. Each response has status answered, skipped or unanswered (user_response is null unless answered); outcome is submitted, cancelled, timed_out or undelivered, with a notice saying why when the wait ended without a submit. Prefer deciding low-stakes questions yourself; don't use this for dangerous-command confirmation (the terminal tool handles that).",
"name": "clarify",
"parameters": {
"properties": {
diff --git a/tests/fixtures/prompt_surface/tools/delegate_task.json b/tests/fixtures/prompt_surface/tools/delegate_task.json
index dbb4ed8270e..992460cbcbd 100644
--- a/tests/fixtures/prompt_surface/tools/delegate_task.json
+++ b/tests/fixtures/prompt_surface/tools/delegate_task.json
@@ -1,5 +1,5 @@
{
- "description": "Spawn subagents in isolated contexts; each gets its own conversation, terminal session, and toolset, and only its final summary returns to you. Pass every task in `tasks` — one entry spawns one subagent, several run in parallel (limit in the tasks description).\n\nSessions without a later-result consumer (including one-shot CLI and cron) join parallel children and return results in this tool call. Otherwise runs in the background: dispatch returns live transcript paths and results re-enter as a new message when subagents finish (one message per call). Background results are delivered only BETWEEN your turns: finish whatever does not depend on them, then give a one-line status and END YOUR TURN. Never wait or poll on transcripts, artifact files, or CI for a child. While children run, `action` (list/steer/stop) controls them live.\n\nUSE FOR: reasoning-heavy subtasks, work that would flood your context, or independent parallel workstreams.\nDO NOT USE FOR (use these instead):\n- Mechanical multi-step work with no reasoning needed -> execute_code\n- A single tool call -> call the tool directly\n- Tasks needing user interaction -> subagents cannot ask questions\n- Durable work that must survive this session -> cronjob or terminal(background=True, notify=True); /stop, /new, or process exit halts running subagents (whole tree); each returns an 'interrupted' completion with partial output.\n\nRULES:\n- Children know nothing of this conversation: pass everything needed via 'context', including any required output language, tone, or style (e.g. \"respond in Chinese\").\n- Child summaries are SELF-REPORTS, not verified facts: a child claiming \"uploaded successfully\" or \"file written\" may be wrong. For external side effects (uploads, remote writes, publishing), require a verifiable handle (URL, ID, absolute path) and verify it yourself before telling the user the operation succeeded.\n- Children cannot close tracked work: a child asked to close it returns findings instead; the parent applies the transition.\n- Children cannot call delegate_task, clarify, memory, or cronjob.\n- Children inherit the parent model unless pinned via delegation.provider / delegation.model in config.yaml.",
+ "description": "Spawn isolated subagents for parallel or context-heavy work. Each gets its own conversation, terminal session, and toolset, and only its final summary returns to you. Pass every task in `tasks` — one entry spawns one subagent, several run in parallel (limit in the tasks description).\n\nSessions without a later-result consumer (including one-shot CLI and cron) join parallel children and return results in this tool call. Otherwise runs in the background: dispatch returns live transcript paths and results re-enter as a new message when subagents finish (one message per call). Background results are delivered only BETWEEN your turns: finish whatever does not depend on them, then give a one-line status and END YOUR TURN. Never wait or poll on transcripts, artifact files, or CI for a child. While children run, `action` (list/steer/stop) controls them live.\n\nUSE FOR: reasoning-heavy subtasks, work that would flood your context, or independent parallel workstreams.\nDO NOT USE FOR (use these instead):\n- Mechanical multi-step work with no reasoning needed -> execute_code\n- A single tool call -> call the tool directly\n- Tasks needing user interaction -> subagents cannot ask questions\n- Durable work that must survive this session -> cronjob or terminal(background=True, notify=True); /stop, /new, or process exit halts running subagents (whole tree); each returns an 'interrupted' completion with partial output.\n\nRULES:\n- Children know nothing of this conversation: pass everything needed via 'context', including any required output language, tone, or style (e.g. \"respond in Chinese\").\n- Child summaries are SELF-REPORTS, not verified facts: a child claiming \"uploaded successfully\" or \"file written\" may be wrong. For external side effects (uploads, remote writes, publishing), require a verifiable handle (URL, ID, absolute path) and verify it yourself before telling the user the operation succeeded.\n- Children cannot close tracked work: a child asked to close it returns findings instead; the parent applies the transition.\n- Children cannot call delegate_task, clarify, memory, or cronjob.\n- Children inherit the parent model unless pinned via delegation.provider / delegation.model in config.yaml.",
"name": "delegate_task",
"parameters": {
"properties": {
diff --git a/tests/fixtures/prompt_surface/tools/skill_manage.json b/tests/fixtures/prompt_surface/tools/skill_manage.json
index 20f1b25dbb3..a2df0d65826 100644
--- a/tests/fixtures/prompt_surface/tools/skill_manage.json
+++ b/tests/fixtures/prompt_surface/tools/skill_manage.json
@@ -1,5 +1,5 @@
{
- "description": "Create, update, or delete skills — your procedural memory for recurring task types. The call is an operations array (a single edit is a list of one); it applies atomically — any failure rolls every touched skill back. Ops: create (full SKILL.md; lands in the profile's skills directory or configured skills.create_dir; must precede that skill's other ops), patch (targeted old_string/new_string fix — preferred; content alone REPLACES the whole file, read it via skill_view() first), write_file/remove_file (supporting files), delete (sole op only). Existing skills are modified wherever they live. Keep the description's first 57 chars a self-contained trigger: 'Use when <trigger>. <one-line behavior>.' Write lessons, not logs: imperative rule + why, no PR numbers/dates/incident narration, one rule per lesson, references/ named by topic (extend before adding). skill_view() shows format conventions.",
+ "description": "Create, update or delete skills: your procedural memory for recurring tasks. The call is an operations array (a single edit is a list of one); it applies atomically — any failure rolls every touched skill back. Ops: create (full SKILL.md; lands in the profile's skills directory or configured skills.create_dir; must precede that skill's other ops), patch (targeted old_string/new_string fix — preferred; content alone REPLACES the whole file, read it via skill_view() first), write_file/remove_file (supporting files), delete (sole op only). Existing skills are modified wherever they live. Keep the description's first 57 chars a self-contained trigger: 'Use when <trigger>. <one-line behavior>.' Write lessons, not logs: imperative rule + why, no PR numbers/dates/incident narration, one rule per lesson, references/ named by topic (extend before adding). skill_view() shows format conventions.",
"name": "skill_manage",
"parameters": {
"properties": {
diff --git a/tests/fixtures/prompt_surface/tools/skill_view.json b/tests/fixtures/prompt_surface/tools/skill_view.json
index 6f4fd2c58a2..f80a731806f 100644
--- a/tests/fixtures/prompt_surface/tools/skill_view.json
+++ b/tests/fixtures/prompt_surface/tools/skill_view.json
@@ -1,5 +1,5 @@
{
- "description": "Skills allow for loading information about specific tasks and workflows, as well as scripts and templates. Load a skill's full content or access its linked files (references, templates, scripts). First call returns SKILL.md content plus a 'linked_files' dict showing available references/templates/scripts. To access those, call again with file_path parameter.",
+ "description": "Load a skill's SKILL.md, or one of its linked references, templates or scripts. The first call returns SKILL.md plus a 'linked_files' dict; call again with file_path to read one.",
"name": "skill_view",
"parameters": {
"properties": {
diff --git a/tests/fixtures/prompt_surface/tools/terminal.json b/tests/fixtures/prompt_surface/tools/terminal.json
index 2d1bc55c136..84fc524ec94 100644
--- a/tests/fixtures/prompt_surface/tools/terminal.json
+++ b/tests/fixtures/prompt_surface/tools/terminal.json
@@ -1,5 +1,5 @@
{
- "description": "Execute shell commands on the OS, shell and backend named in your environment section. The working directory, files and exported variables persist between calls: activate a virtualenv or export once, not before every command.\n\nUse read_file, search_files, patch and write_file instead of cat/head/tail, grep/find/ls, sed/awk and echo/heredoc. Output is auto-truncated with the full text saved to a file; never pipe through head/tail to shorten it.\n\nForeground (default) returns as soon as the command finishes. To wait a fixed time, run the wait in the foreground; never background a sleep or polling loop. Background is only for commands that must keep running after this call returns; health-check a server in a separate call and manage jobs with process_manage. When a command changes directory, trust the result's \"cwd\" instead of prefixing later commands with cd.\n",
+ "description": "Run shell commands on the OS/shell/backend named in your environment section. The working directory, files and exported variables persist between calls: activate a virtualenv or export once, not before every command.\n\nUse read_file, search_files, patch and write_file instead of cat/head/tail, grep/find/ls, sed/awk and echo/heredoc. Output is auto-truncated with the full text saved to a file; never pipe through head/tail to shorten it.\n\nForeground (default) returns as soon as the command finishes. To wait a fixed time, run the wait in the foreground; never background a sleep or polling loop. Background is only for commands that must keep running after this call returns; health-check a server in a separate call and manage jobs with process_manage. When a command changes directory, trust the result's \"cwd\" instead of prefixing later commands with cd.\n",
"name": "terminal",
"parameters": {
"properties": {
diff --git a/tests/fixtures/prompt_surface/tools/tool_search.desktop.claude.json b/tests/fixtures/prompt_surface/tools/tool_search.desktop.claude.json
index f5c269e95e6..a2ac6d783f0 100644
--- a/tests/fixtures/prompt_surface/tools/tool_search.desktop.claude.json
+++ b/tests/fixtures/prompt_surface/tools/tool_search.desktop.claude.json
@@ -1,5 +1,5 @@
{
- "description": "Search 19 additional tools that are loaded on demand. Send one keyword query per capability you need; returns matching tool names and descriptions. Then `tool_describe` loads schemas and `tool_call` invokes. Tools already in your tool list need no search. `connectors__` names are tools of the user's app accounts (Gmail, Linear, ...); `manage_connections` checks or authorizes an account.\n\nEvery tool listed below exists: never call it unavailable, and go straight to `tool_describe` when you see the exact name.\n\nDeferred tool catalog (call schemas via `tool_describe`, invoke via `tool_call`):\nbrowser tools (1):\n- browser_vault: Use saved logins, passwords, credentials, cards and…\ncatalog tools (1):\n- manage_catalog: Find and install Hermes catalog plugins and hub skills for…\ncomputer_use tools (1):\n- computer_use: Drive the desktop via cua-driver — screenshots, mouse…\ncronjob tools (1):\n- cronjob_manage: Manage scheduled cron jobs: action='create' schedules a job…\ndesktop_ui tools (10):\n- annotate_preview: Highlight elements on the preview-pane page, lastingly…\n- close_terminal: Hide a background process's terminal tab (process keeps…\n- desktop_preview: Open, close, or read the preview pane beside the chat.\n- drive_preview: Use the web page open in the desktop preview pane (the one…\n- focus_pane: Reveal and focus a Hermes desktop pane when the user asks…\n- gui_tour: Guided tour in the desktop GUI: dim the screen, highlight…\n- read_terminal: Read the in-app terminal pane beside this chat.\n- read_window_below: Identify the app window directly behind the Hermes desktop…\n- set_theme: Change how the Hermes desktop app looks: accent colour…\n- show_tip: Point at one thing in the desktop UI with a small arrow…\nimage_gen tools (1):\n- image_generate: Generate high-quality images from text prompts, or edit /…\nproject tools (1):\n- desktop_project: Create or switch desktop Projects (named workspaces).\nsession_search tools (1):\n- session_search: Recall past conversations: search or read old Hermes…\nterminal tools (1):\n- process_manage: Poll, wait on, or kill background terminal processes (from…\ntodo tools (1):\n- todo_list: Track a task list for multi-step work (3+ steps).",
+ "description": "Search 19 additional tools that are loaded on demand. Send one keyword query per capability you need; returns matching tool names and descriptions. Then `tool_describe` loads schemas and `tool_call` invokes. Tools already in your tool list need no search. `connectors__` names are tools of the user's app accounts (Gmail, Linear, ...); `manage_connections` checks or authorizes an account.\n\nEvery tool listed below exists: never call it unavailable, and go straight to `tool_describe` when you see the exact name.\n\nDeferred tool catalog (call schemas via `tool_describe`, invoke via `tool_call`):\nbrowser tools (1):\n- browser_vault: Fill saved logins, 2FA codes, cards and addresses on the CURRENT browser page.\ncatalog tools (1):\n- manage_catalog: Find and install Hermes catalog plugins and hub skills for the user.\ncomputer_use tools (1):\n- computer_use: Drive the desktop via cua-driver: screenshots, mouse, keyboard, scroll, drag.\ncronjob tools (1):\n- cronjob_manage: Schedule recurring or one-off agent tasks (cron jobs): create, list, edit, run.\ndesktop_ui tools (10):\n- annotate_preview: Highlight preview-pane elements with lasting marks (drive_preview's fade).\n- close_terminal: Hide a background process's desktop terminal tab; the process keeps running.\n- desktop_preview: Open, close, or read the preview pane beside the chat.\n- drive_preview: Use the desktop preview-pane page: log in, fill forms, click through flows.\n- focus_pane: Show a desktop pane: chat, files, terminal, review (git diff) or sessions.\n- gui_tour: Run a guided desktop GUI tour: dim the screen, highlight elements, add popovers.\n- read_terminal: Read the in-app terminal pane beside this chat.\n- read_window_below: Identify the app window behind the Hermes desktop window (what the user is in).\n- set_theme: Change how the Hermes desktop app looks: accent colour, light/dark mode, layout.\n- show_tip: Point at one desktop UI element with a small arrow bubble (no dimming or tour).\nimage_gen tools (1):\n- image_generate: Generate or edit images (with reference images) using the configured model.\nproject tools (1):\n- desktop_project: Create or switch desktop Projects (named workspaces).\nsession_search tools (1):\n- session_search: Search or read past Hermes conversations (FTS5), or scroll inside one.\nterminal tools (1):\n- process_manage: Poll, wait on, send input to, or kill terminal(background=true) processes.\ntodo tools (1):\n- todo_list: Track a task list for multi-step work (3+ steps).",
"name": "tool_search",
"parameters": {
"properties": {
diff --git a/tests/fixtures/prompt_surface/tools/tool_search.json b/tests/fixtures/prompt_surface/tools/tool_search.json
index 1ac99d6c8f0..78b66918e61 100644
--- a/tests/fixtures/prompt_surface/tools/tool_search.json
+++ b/tests/fixtures/prompt_surface/tools/tool_search.json
@@ -1,5 +1,5 @@
{
- "description": "Search 7 additional tools that are loaded on demand. Send one keyword query per capability you need; returns matching tool names and descriptions. Then `tool_describe` loads schemas and `tool_call` invokes. Tools already in your tool list need no search. `connectors__` names are tools of the user's app accounts (Gmail, Linear, ...); `manage_connections` checks or authorizes an account.\n\nEvery tool listed below exists: never call it unavailable, and go straight to `tool_describe` when you see the exact name.\n\nDeferred tool catalog (call schemas via `tool_describe`, invoke via `tool_call`):\nbrowser tools (1):\n- browser_vault: Use saved logins, passwords, credentials, cards and…\ncomputer_use tools (1):\n- computer_use: Drive the desktop via cua-driver — screenshots, mouse…\ncronjob tools (1):\n- cronjob_manage: Manage scheduled cron jobs: action='create' schedules a job…\nimage_gen tools (1):\n- image_generate: Generate high-quality images from text prompts, or edit /…\nsession_search tools (1):\n- session_search: Recall past conversations: search or read old Hermes…\nterminal tools (1):\n- process_manage: Poll, wait on, or kill background terminal processes (from…\ntodo tools (1):\n- todo_list: Track a task list for multi-step work (3+ steps).",
+ "description": "Search 7 additional tools that are loaded on demand. Send one keyword query per capability you need; returns matching tool names and descriptions. Then `tool_describe` loads schemas and `tool_call` invokes. Tools already in your tool list need no search. `connectors__` names are tools of the user's app accounts (Gmail, Linear, ...); `manage_connections` checks or authorizes an account.\n\nEvery tool listed below exists: never call it unavailable, and go straight to `tool_describe` when you see the exact name.\n\nDeferred tool catalog (call schemas via `tool_describe`, invoke via `tool_call`):\nbrowser tools (1):\n- browser_vault: Fill saved logins, 2FA codes, cards and addresses on the CURRENT browser page.\ncomputer_use tools (1):\n- computer_use: Drive the desktop via cua-driver: screenshots, mouse, keyboard, scroll, drag.\ncronjob tools (1):\n- cronjob_manage: Schedule recurring or one-off agent tasks (cron jobs): create, list, edit, run.\nimage_gen tools (1):\n- image_generate: Generate or edit images (with reference images) using the configured model.\nsession_search tools (1):\n- session_search: Search or read past Hermes conversations (FTS5), or scroll inside one.\nterminal tools (1):\n- process_manage: Poll, wait on, send input to, or kill terminal(background=true) processes.\ntodo tools (1):\n- todo_list: Track a task list for multi-step work (3+ steps).",
"name": "tool_search",
"parameters": {
"properties": {
diff --git a/tests/fixtures/prompt_surface/tools/web_extract.json b/tests/fixtures/prompt_surface/tools/web_extract.json
index 832d4ccc460..e2cc9b637ee 100644
--- a/tests/fixtures/prompt_surface/tools/web_extract.json
+++ b/tests/fixtures/prompt_surface/tools/web_extract.json
@@ -1,5 +1,5 @@
{
- "description": "Extract content from web page URLs. Returns clean page content in markdown/text (no LLM summarization — fast). Also works with PDF URLs (arxiv papers, documents) — pass the PDF link directly. Pages within the char budget (default 15000) return whole; larger pages return a head+tail window with a footer telling you the full text's saved file path and the read_file call to page through the omitted middle. Inline images appear as [IMAGE: alt] placeholders; real image URLs are kept as links. If a URL fails or times out, use the browser tool instead.",
+ "description": "Extract content from web page URLs. Returns clean page content in markdown/text (no LLM summarization — fast). Also works with PDF URLs (arxiv papers, documents) — pass the PDF link directly. Pages within the char budget (default 15000) return whole; larger pages return a head+tail window with a footer telling you the full text's saved file path and the read_file call to page through the omitted middle. Inline images appear as [IMAGE: alt] placeholders; real image URLs are kept as links. If a URL fails, times out, or needs JS, login or clicks, use a browser tool instead.",
"name": "web_extract",
"parameters": {
"properties": {
diff --git a/tests/fixtures/prompt_surface/tools/web_search.json b/tests/fixtures/prompt_surface/tools/web_search.json
index 0f847fb37f5..f69c44bbf7c 100644
--- a/tests/fixtures/prompt_surface/tools/web_search.json
+++ b/tests/fixtures/prompt_surface/tools/web_search.json
@@ -1,5 +1,5 @@
{
- "description": "Search the web for information. Returns up to 5 results by default with titles, URLs, and descriptions. The query is passed through to the configured backend, so operators such as site:domain, filetype:pdf, intitle:word, -term, and \"exact phrase\" may work when the backend supports them.",
+ "description": "Search the web: returns titles, URLs and snippets (5 by default). Read pages with web_extract. The query is passed through to the configured backend, so operators such as site:domain, filetype:pdf, intitle:word, -term, and \"exact phrase\" may work when the backend supports them.",
"name": "web_search",
"parameters": {
"properties": {
diff --git a/tests/tools/test_deferral_fixes.py b/tests/tools/test_deferral_fixes.py
index a738c267ee0..03ae829f5f2 100644
--- a/tests/tools/test_deferral_fixes.py
+++ b/tests/tools/test_deferral_fixes.py
@@ -28,7 +28,7 @@ import pytest
from agent.tool_dispatch_helpers import _plan_tool_batch_segments
from tools.tool_search import build_catalog, search_catalog
-from tools.tool_search_catalog import _short_desc
+from tools.tool_search_catalog import CATALOG_SUMMARY_MAX_CHARS, _short_desc
def _tc(name, arguments="{}", call_id=None):
@@ -207,7 +207,7 @@ class TestShortDescSentenceBoundary:
def test_long_text_still_clips_with_ellipsis(self):
s = _short_desc("word " * 40)
- assert len(s) <= 61
+ assert len(s) <= CATALOG_SUMMARY_MAX_CHARS + 1
assert s.endswith("…")
diff --git a/tests/tools/test_tool_search.py b/tests/tools/test_tool_search.py
index 779d9bf8b6b..2a89fab8d68 100644
--- a/tests/tools/test_tool_search.py
+++ b/tests/tools/test_tool_search.py
@@ -610,6 +610,41 @@ class TestCatalogListing:
assert description_tokens < 4500
assert result.listing_form in {"names", "groups", "mixed"}
+ def test_builtin_catalog_lines_are_whole_first_sentences(self):
+ """A catalog line is the first sentence; a clipped one hides what the tool does."""
+ from tools.registry import discover_builtin_tools, registry
+ from tools.tool_search_catalog import _short_desc
+
+ discover_builtin_tools()
+ clipped = {}
+ for entry in registry.get_all_entries():
+ if not getattr(entry.handler, "__module__", "").startswith("tools."):
+ continue
+ schema = dict(entry.schema)
+ if entry.dynamic_schema_overrides:
+ schema.update(entry.dynamic_schema_overrides() or {})
+ line = _short_desc(schema.get("description", ""))
+ if line.endswith("…"):
+ clipped[entry.name] = line
+ assert clipped == {}
+
+ def test_image_generate_catalog_line_names_edit_refs_and_configured_model(self):
+ """The deferred image_generate line must say it edits with references on the
+ configured model, or agents bypass it with direct provider scripts."""
+ from unittest.mock import patch
+
+ import tools.image_generation_tool as ig
+ from tools.tool_search_catalog import _short_desc
+
+ model = next(m for m, meta in ig.FAL_MODELS.items()
+ if meta.get("edit_endpoint") and int(meta.get("max_reference_images") or 0) > 1)
+ with patch.object(ig, "_resolve_fal_model", return_value=(model, ig.FAL_MODELS[model])), \
+ patch.object(ig, "_read_configured_image_provider", return_value=None):
+ line = _short_desc(ig._build_dynamic_image_schema()["description"])
+ assert not line.endswith("…")
+ for phrase in ("edit", "reference image", "configured model"):
+ assert phrase in line
+
@staticmethod
diff --git a/tools/annotate_preview_tool.py b/tools/annotate_preview_tool.py
index a69d46f24d2..67839cde9c6 100644
--- a/tools/annotate_preview_tool.py
+++ b/tools/annotate_preview_tool.py
@@ -52,9 +52,8 @@ def annotate_preview_tool(
ANNOTATE_PREVIEW_SCHEMA = {
"name": "annotate_preview",
"description": (
- "Highlight elements on the preview-pane page, lastingly (drive_preview's own "
- "marks fade; annotations stay until removed) — point at findings, "
- "flag what you're about to change, keep your place. Use the refs "
+ "Highlight preview-pane elements with lasting marks (drive_preview's fade). "
+ "Point at findings, flag what you're about to change, keep your place. Use the refs "
"from drive_preview action='elements'. add: outline one element "
"(optional short label — a word or two, drawn on the page). hold: "
"freeze the whole visible field, every element outlined and named. "
diff --git a/tools/browser_dialog_tool.py b/tools/browser_dialog_tool.py
index b8eb3b5debf..33441d74072 100644
--- a/tools/browser_dialog_tool.py
+++ b/tools/browser_dialog_tool.py
@@ -16,8 +16,7 @@ from tools.registry import registry
BROWSER_DIALOG_SCHEMA: dict[str, Any] = {
"name": "browser_dialog",
"description": (
- "Respond to a native JavaScript dialog (alert / confirm / prompt / "
- "beforeunload) that is currently blocking the page.\n\n"
+ "Accept or dismiss a native JS dialog (alert/confirm/prompt) blocking the page.\n\n"
"**Workflow:** when a page is blocked by a native dialog the CDP "
"supervisor captured, call this tool with ``action='accept'`` or "
"``action='dismiss'``.\n\n"
diff --git a/tools/browser_use_cli.py b/tools/browser_use_cli.py
index 766230c07ef..b26260e8690 100644
--- a/tools/browser_use_cli.py
+++ b/tools/browser_use_cli.py
@@ -787,8 +787,8 @@ def browser_exec(code: str, session: str = "", timeout_s: int = _DEFAULT_TIMEOUT
_HEADER_BASE = (
- "Drive a real web browser via the Browser Use CLI: `code` runs as full Python (stdlib available) "
- "with pre-imported browser helpers; stdout comes back in the result. Start `code` with a one-line "
+ "Drive a real browser for JS pages, logins, forms and clicks (Browser Use CLI). `code` runs as full "
+ "Python (stdlib available) with pre-imported browser helpers; stdout comes back in the result. Start `code` with a one-line "
"comment describing the step for the user in plain language, max 60 chars "
"(e.g. `# Searching Amazon for paper towels`) — the UI shows it as the step label.\n\n"
"STATE: the browser session and workspace persist across calls; Python variables do NOT (fresh "
diff --git a/tools/browser_vault_tool.py b/tools/browser_vault_tool.py
index 7cdfbe10571..7e8e0d09726 100644
--- a/tools/browser_vault_tool.py
+++ b/tools/browser_vault_tool.py
@@ -558,8 +558,8 @@ def _confirm_payment_fill(label: str, origin: str) -> bool:
BROWSER_VAULT_SCHEMA = {
"name": "browser_vault",
"description": (
- "Use saved logins, passwords, credentials, cards and addresses on the CURRENT browser page without secrets "
- "entering the conversation. "
+ "Fill saved logins, 2FA codes, cards and addresses on the CURRENT browser page. Secrets never "
+ "enter the conversation. "
"Actions: list (call first: saved logins/cards/addresses as handles; logins carry the identifier you type "
"yourself with the browser's input tool; locked password managers appear under `locked`); fill (handle: "
"the password for a login, card fields after the user confirms, address fields; refused unless the page "
diff --git a/tools/clarify_tool.py b/tools/clarify_tool.py
index 40bfeca9a6a..dc381891e0f 100644
--- a/tools/clarify_tool.py
+++ b/tools/clarify_tool.py
@@ -136,8 +136,8 @@ def check_clarify_requirements() -> bool:
CLARIFY_SCHEMA = {
"name": "clarify",
"description": (
- "Ask the user one or more questions when you need a decision, "
- "clarification, or feedback before proceeding. Pass every question "
+ "Ask the user one or more questions when you need a decision or feedback. "
+ "Pass every question "
f"in `questions` (1-{MAX_QUESTIONS} entries) — a single question is a "
"one-entry array, and several INDEPENDENT questions belong in ONE "
"call (one form beats a chain of clarify calls; if one answer would "
diff --git a/tools/close_terminal_tool.py b/tools/close_terminal_tool.py
index b10b26cebf1..b8789cf94b9 100644
--- a/tools/close_terminal_tool.py
+++ b/tools/close_terminal_tool.py
@@ -20,8 +20,8 @@ def close_terminal_tool(process_id: str) -> str:
CLOSE_TERMINAL_SCHEMA = {
"name": "close_terminal",
"description": (
- "Hide a background process's terminal tab (process keeps running) in "
- "the Hermes desktop GUI (the tabs mirroring terminal(background=true) runs). "
+ "Hide a background process's desktop terminal tab; the process keeps running. "
+ "Tabs mirror terminal(background=true) runs. "
"This does NOT kill the process — it only drops the tab/view; the output "
"keeps buffering and the user can reopen it from the status stack. Use it "
"to tidy up when a background process's live terminal is no longer worth "
diff --git a/tools/computer_use/schema.py b/tools/computer_use/schema.py
index 90d55c82467..91081839779 100644
--- a/tools/computer_use/schema.py
+++ b/tools/computer_use/schema.py
@@ -188,7 +188,7 @@ _PROPERTIES: dict[str, Any] = {
COMPUTER_USE_SCHEMA: dict[str, Any] = {
"name": "computer_use",
"description": (
- "Drive the desktop via cua-driver — screenshots, mouse, keyboard, scroll, drag — on macOS, "
+ "Drive the desktop via cua-driver: screenshots, mouse, keyboard, scroll, drag. macOS, "
"Windows, and Linux. Input is background-FIRST, not background-only: the default delivery "
"routes to the target window without stealing the user's cursor or focus (works even on "
"hidden/minimized windows), and when a result's `verdict` says to escalate you climb — "
diff --git a/tools/cronjob_tools.py b/tools/cronjob_tools.py
index 625b7d970bc..aefc8e67579 100644
--- a/tools/cronjob_tools.py
+++ b/tools/cronjob_tools.py
@@ -1055,9 +1055,7 @@ def _cronjob_schema_overrides() -> dict:
CRONJOB_SCHEMA = {
"name": "cronjob_manage",
- "description": """Manage scheduled cron jobs: action='create' schedules a job from a prompt and/or skills; 'list' inspects jobs; 'update'/'pause'/'resume'/'remove' manage one by job_id (always list first — never guess job IDs); 'run' fires a job immediately in the BACKGROUND (returns a handle at once, outcome re-enters the conversation when done — do not wait or poll; optional 'prompt' adds transient context for that fire only).
-
-Jobs run on the main agent model (whatever `hermes model` is set to when they fire) unless pinned.
+ "description": """Schedule recurring or one-off agent tasks (cron jobs): create, list, edit, run. action='create' schedules a job from a prompt and/or skills; 'list' inspects jobs; 'update'/'pause'/'resume'/'remove' manage one by job_id (always list first — never guess job IDs); 'run' fires a job immediately in the BACKGROUND (returns a handle at once, outcome re-enters the conversation when done — do not wait or poll; optional 'prompt' adds transient context for that fire only).
Jobs run in a fresh session with no current-chat context, so prompts must be self-contained, and the agent's FINAL RESPONSE is what gets delivered — cron runs are autonomous and cannot ask questions. Jobs run on the main agent model (whatever `hermes model` is set to when they fire) unless the user pins one. Prefer updating an existing job over creating near-duplicates.""",
"parameters": {
diff --git a/tools/delegate_tool.py b/tools/delegate_tool.py
index 3b52feb6859..cb5747c7070 100644
--- a/tools/delegate_tool.py
+++ b/tools/delegate_tool.py
@@ -694,8 +694,8 @@ def _build_top_level_description(*, independent_completions=None) -> str:
return _DESCRIPTION_HEAD.format(delivery=delivery) + restrictions_rule + _DESCRIPTION_TAIL
_DESCRIPTION_HEAD = (
- "Spawn subagents in isolated contexts; each gets its own conversation, terminal session, and toolset, and only its "
- "final summary returns to you. Pass every task in `tasks` — one entry spawns one subagent, several run in parallel "
+ "Spawn isolated subagents for parallel or context-heavy work. Each gets its own conversation, terminal "
+ "session, and toolset, and only its final summary returns to you. Pass every task in `tasks` — one entry spawns one subagent, several run in parallel "
"(limit in the tasks description).\n\n"
"Sessions without a later-result consumer (including one-shot CLI and cron) join parallel children "
"and return results in this tool call. "
diff --git a/tools/drive_preview_tool.py b/tools/drive_preview_tool.py
index c21f7e21806..a1558ca473b 100644
--- a/tools/drive_preview_tool.py
+++ b/tools/drive_preview_tool.py
@@ -68,8 +68,8 @@ ACT_PREVIEW_SCHEMA = {
# re-reads pages or loops strobe.
# See #95681.
"description": (
- "Use the web page open in the desktop preview pane (the one "
- "`desktop_preview` opens): log in, fill forms, click through flows. ALWAYS "
+ "Use the desktop preview-pane page: log in, fill forms, click through flows. "
+ "It is the page `desktop_preview` opens. ALWAYS "
"start with action='elements' — it inventories clickable/typable "
"things as refs ('btn-sign-in') with role/label/value; act by ref, "
"not guessed selectors. Refs survive re-renders and only die on "
diff --git a/tools/focus_pane_tool.py b/tools/focus_pane_tool.py
index 2ff5477aa89..3a59fbcbbdd 100644
--- a/tools/focus_pane_tool.py
+++ b/tools/focus_pane_tool.py
@@ -27,9 +27,8 @@ registry.register(
schema={
"name": "focus_pane",
"description": (
- "Reveal and focus a Hermes desktop pane when the user asks to see it: "
- "chat, files, terminal, review (git diff), or sessions. For URLs/"
- "files use the desktop_preview tool instead."
+ "Show a desktop pane: chat, files, terminal, review (git diff) or sessions. "
+ "Use when the user asks to see one; for URLs/files use desktop_preview."
),
"parameters": {
"type": "object",
diff --git a/tools/image_generation_tool.py b/tools/image_generation_tool.py
index ab10a92f093..40776373613 100644
--- a/tools/image_generation_tool.py
+++ b/tools/image_generation_tool.py
@@ -608,7 +608,7 @@ IMAGE_GENERATE_SCHEMA = {
# and upscale are advertised ONLY when supported; the handler accepts them regardless
# (replay compat + teaching errors).
"description": (
- "Generate images from text prompts. The active model's edit/reference "
+ "Generate or edit images with the configured model. Edit/reference "
"capabilities are rendered at serving time."
),
"parameters": {
@@ -998,7 +998,7 @@ def _build_dynamic_image_schema() -> dict[str, Any]:
"""Render description AND params from the active model's capabilities; args it cannot
honor are NOT advertised (the handler still accepts them for replay compat)."""
base_desc = (
- "Generate high-quality images from text prompts{edit_clause}. "
+ "{lead} {edit_clause}Use this rather than calling image APIs or scripts directly. "
"Returns the result in the `image` field — a URL or an absolute "
"file path; reference it in your response using the current "
"platform's file-delivery convention."
@@ -1012,12 +1012,15 @@ def _build_dynamic_image_schema() -> dict[str, Any]:
style_refs = info.get("source_image_role") == "style"
if can_edit:
if style_refs:
- edit_clause = ", or copy the look of reference images passed in image_url"
+ lead = "Generate images, optionally copying reference images' look, via configured model."
+ edit_clause = "Pass style references in image_url. "
properties["prompt"] = _STYLE_PROMPT_PARAM
properties["image_url"] = _STYLE_IMAGE_URL_PARAM
refs_desc = f"Up to {max_refs} more style references. URLs or absolute local paths."
else:
- edit_clause = ", or edit / transform an existing image by passing image_url"
+ lead = ("Generate or edit images (with reference images) using the configured model."
+ if max_refs > 1 else "Generate or edit images using the configured image model.")
+ edit_clause = "Pass image_url to edit / transform an existing image. "
properties["image_url"] = _IMAGE_URL_PARAM
refs_desc = (
f"Up to {max_refs} additional reference images (style, "
@@ -1032,13 +1035,14 @@ def _build_dynamic_image_schema() -> dict[str, Any]:
"description": refs_desc,
}
else:
- edit_clause = " (text-to-image only — the active model cannot edit existing images)"
+ lead = "Generate images from text with the configured model (it cannot edit images)."
+ edit_clause = ""
if info.get("supports_upscale"):
properties["upscale"] = _UPSCALE_PARAM
for name in info.get("creative_controls") or []:
if name in _CREATIVE_CONTROL_PARAMS:
properties[name] = _CREATIVE_CONTROL_PARAMS[name]
- return {"description": base_desc.format(edit_clause=edit_clause),
+ return {"description": base_desc.format(lead=lead, edit_clause=edit_clause),
"parameters": {"type": "object", "properties": properties, "required": ["prompt"]}}
diff --git a/tools/kanban_tools_schemas.py b/tools/kanban_tools_schemas.py
index ec5a72610e0..0e996e39572 100644
--- a/tools/kanban_tools_schemas.py
+++ b/tools/kanban_tools_schemas.py
@@ -47,9 +47,8 @@ def _schema(name: str, description: str, properties: dict[str, Any], required: l
KANBAN_SHOW_SCHEMA = _schema(
"kanban_show",
(
- "Read a task's full state — title, body, assignee, parent task "
- "handoffs, your prior attempts on this task if any, comments, "
- "and recent events. Use this to (re)orient yourself before "
+ "Read a task's full state: body, assignee, parent handoffs, attempts, comments. "
+ "It also carries the title and recent events. Use this to (re)orient yourself before "
"starting work, especially on retries. The response includes a "
"pre-formatted ``worker_context`` string suitable for inclusion "
"verbatim in your reasoning. Outside a dispatcher-spawned worker "
@@ -65,8 +64,7 @@ KANBAN_SHOW_SCHEMA = _schema(
KANBAN_LIST_SCHEMA = _schema(
"kanban_list",
(
- "List Kanban task summaries so an orchestrator profile can discover "
- "work to route. Supports the same core filters as the CLI: assignee, "
+ "List Kanban task summaries so an orchestrator can discover work to route. Supports the same core filters as the CLI: assignee, "
"status, tenant, include_archived, and limit. Returns compact rows "
"with ids, title, status, assignee, priority, parent/child ids, and "
"counts. Bounded to 50 rows by default, 200 max, with truncation "
@@ -91,8 +89,7 @@ KANBAN_LIST_SCHEMA = _schema(
KANBAN_COMPLETE_SCHEMA = _schema(
"kanban_complete",
(
- "Mark your current task done with a structured handoff for "
- "downstream workers and humans. Prefer ``summary`` for a "
+ "Mark your current task done with a structured handoff for others. Prefer ``summary`` for a "
"human-readable 1-3 sentence description of what you did; put "
"machine-readable facts in ``metadata`` (changed_files, "
"tests_run, decisions, findings, etc). At least one of "
@@ -205,8 +202,7 @@ KANBAN_BLOCK_SCHEMA = _schema(
KANBAN_SCHEDULE_SCHEMA = _schema(
"kanban_schedule",
(
- "Park your current task in the 'scheduled' state while it waits for "
- "time or an external event. This ends the current run and makes the "
+ "Park your task as 'scheduled' while it waits for a time or external event. This ends the current run and makes the "
"task non-dispatchable until an orchestrator unblocks it; it does not "
"create a timer. Put any wake-up marker such as "
"``SCHEDULED_UNTIL=<ISO8601>`` in ``reason``."
@@ -225,9 +221,7 @@ KANBAN_SCHEDULE_SCHEMA = _schema(
KANBAN_REQUEST_REVIEW_SCHEMA = _schema(
"kanban_request_review",
(
- "Hand the task off for review: implementation, self-review, and "
- "verification are complete and you want a human (or reviewer) to "
- "look before it is marked done. Moves the task to the 'review' "
+ "Hand a finished, self-verified task to a human or reviewer before it is done. Moves the task to the 'review' "
"column and notifies the subscriber. Unlike ``kanban_block`` this is "
"NOT a blocker — it never counts toward unblock-loop detection, so a "
"task can cycle through review across follow-ups without ever being "
@@ -278,8 +272,7 @@ KANBAN_REQUEST_REVIEW_SCHEMA = _schema(
KANBAN_REQUEST_CHANGES_SCHEMA = _schema(
"kanban_request_changes",
(
- "Reviewer verdict: return the current review run to the original "
- "implementer with concrete required changes. This closes the review "
+ "Reviewer verdict: send the task back to its implementer with required changes. This closes the review "
"run, reapplies parent dependency gating, and requeues the task without "
"using block-loop accounting. Only use from a task claimed from the "
"review column; use kanban_block only for a genuine external blocker."
@@ -297,8 +290,7 @@ KANBAN_REQUEST_CHANGES_SCHEMA = _schema(
KANBAN_HEARTBEAT_SCHEMA = _schema(
"kanban_heartbeat",
(
- "Signal that you're still alive during a long operation "
- "(training, encoding, large crawls). Call every few minutes so "
+ "Signal you're still alive during a long operation (training, encoding, crawls). Call every few minutes so "
"humans see liveness separately from PID checks. Pure side "
"effect — no work changes."
),
@@ -360,8 +352,7 @@ KANBAN_ATTACH_SCHEMA = _schema(
KANBAN_ATTACH_URL_SCHEMA = _schema(
"kanban_attach_url",
(
- "Attach a file to a task by URL — Hermes downloads it server-side "
- "and stores it as a real attachment (capped at 25 MB). Use when "
+ "Attach a file to a task by URL (Hermes downloads it server-side, max 25 MB). Use when "
"you have a link rather than the bytes. Only http/https URLs are "
"accepted."
),
@@ -383,8 +374,8 @@ KANBAN_ATTACH_URL_SCHEMA = _schema(
KANBAN_ATTACHMENTS_SCHEMA = _schema(
"kanban_attachments",
(
- "List the files attached to a task: id, filename, content_type, "
- "size, who uploaded it, and the absolute on-disk path you can read."
+ "List a task's attached files, with the absolute on-disk path you can read. "
+ "Rows carry id, filename, content_type, size and uploader."
),
{
"task_id": _prop("string", _DESC_TASK_ID_DEFAULT),
@@ -395,8 +386,7 @@ KANBAN_ATTACHMENTS_SCHEMA = _schema(
KANBAN_CREATE_SCHEMA = _schema(
"kanban_create",
(
- "Create a new kanban task, optionally as a child of the current "
- "one (pass the current task id in ``parents``). Used by "
+ "Create a kanban task, optionally a child of the current one (via ``parents``). Used by "
"orchestrator workers to fan out — decompose work into child "
"tasks with specific assignees, link them into a pipeline, "
"then complete your own task. The dispatcher picks up the new "
diff --git a/tools/process_registry.py b/tools/process_registry.py
index f1884286ffd..5dbde9ea765 100644
--- a/tools/process_registry.py
+++ b/tools/process_registry.py
@@ -2577,8 +2577,7 @@ PROCESS_SCHEMA = {
# (write-vs-submit is the one real trap: a lone \n on a Windows PTY is not Enter).
# See #95681.
"description": (
- "Poll, wait on, or kill background terminal processes (from "
- "terminal(background=true)). "
+ "Poll, wait on, send input to, or kill terminal(background=true) processes. "
"Completed results remain retrievable by session_id when resuming their owning conversation "
"(up to 7 days, newest 64 results per profile; rolling output tail). "
"poll: status + new output. log: full output, paged. wait: block "
diff --git a/tools/read_window_tool.py b/tools/read_window_tool.py
index b41ab6db06b..e7cbafc5396 100644
--- a/tools/read_window_tool.py
+++ b/tools/read_window_tool.py
@@ -26,8 +26,7 @@ def read_window_below_tool(callback: Optional[Callable] = None) -> str:
READ_WINDOW_BELOW_SCHEMA = {
"name": "read_window_below",
"description": (
- "Identify the app window directly behind the Hermes desktop window "
- "(what the user is working in). JSON: {window: {app, title, bounds, "
+ "Identify the app window behind the Hermes desktop window (what the user is in). JSON: {window: {app, title, bounds, "
"id}, frontmost, platform}. title may be empty when the OS withholds "
"it (noted in `note`); where windows cannot be enumerated at all, "
"{error, platform} says what would fix it — relay that instead of "
diff --git a/tools/session_search_tool.py b/tools/session_search_tool.py
index de6b29e902b..4cd76bae45c 100644
--- a/tools/session_search_tool.py
+++ b/tools/session_search_tool.py
@@ -662,8 +662,7 @@ def check_session_search_requirements() -> bool:
SESSION_SEARCH_SCHEMA = {
"name": "session_search",
"description": (
- "Recall past conversations: search or read old Hermes sessions (FTS5), or "
- "scroll inside one. Four shapes, picked by args: `query` = discovery "
+ "Search or read past Hermes conversations (FTS5), or scroll inside one. Four shapes, picked by args: `query` = discovery "
"(top-N matching sessions, top result fully hydrated); `session_id` + "
"`around_message_id` = scroll (window of messages around an anchor); "
"`session_id` alone = read a whole session — how you resolve an "
diff --git a/tools/skill_manager_tool.py b/tools/skill_manager_tool.py
index 06fc0ddb870..560e28bd85a 100644
--- a/tools/skill_manager_tool.py
+++ b/tools/skill_manager_tool.py
@@ -821,8 +821,8 @@ def skill_manage(
def _skill_manage_description() -> str:
return (
- "Create, update, or delete skills — your procedural memory for "
- "recurring task types. The call is an operations array (a single "
+ "Create, update or delete skills: your procedural memory for recurring "
+ "tasks. The call is an operations array (a single "
"edit is a list of one); it applies atomically — any failure rolls "
"every touched skill back. Ops: create (full SKILL.md; lands in "
"the profile's skills directory or configured skills.create_dir; must precede that skill's other "
diff --git a/tools/skills_tool.py b/tools/skills_tool.py
index a6f8d186048..64ea103bfa0 100644
--- a/tools/skills_tool.py
+++ b/tools/skills_tool.py
@@ -711,7 +711,7 @@ SKILLS_LIST_SCHEMA = {
SKILL_VIEW_SCHEMA = {
"name": "skill_view",
- "description": "Skills allow for loading information about specific tasks and workflows, as well as scripts and templates. Load a skill's full content or access its linked files (references, templates, scripts). First call returns SKILL.md content plus a 'linked_files' dict showing available references/templates/scripts. To access those, call again with file_path parameter.",
+ "description": "Load a skill's SKILL.md, or one of its linked references, templates or scripts. The first call returns SKILL.md plus a 'linked_files' dict; call again with file_path to read one.",
"parameters": {
"type": "object",
"properties": {
diff --git a/tools/terminal_tool.py b/tools/terminal_tool.py
index c6dd30c15f2..c079382321e 100644
--- a/tools/terminal_tool.py
+++ b/tools/terminal_tool.py
@@ -172,7 +172,7 @@ from tools.environments.base import EnvironmentConnectionError
# Tool description for LLM
-TERMINAL_TOOL_DESCRIPTION = """Execute shell commands on the OS, shell and backend named in your environment section. The working directory, files and exported variables persist between calls: activate a virtualenv or export once, not before every command.
+TERMINAL_TOOL_DESCRIPTION = """Run shell commands on the OS/shell/backend named in your environment section. The working directory, files and exported variables persist between calls: activate a virtualenv or export once, not before every command.
Use read_file, search_files, patch and write_file instead of cat/head/tail, grep/find/ls, sed/awk and echo/heredoc. Output is auto-truncated with the full text saved to a file; never pipe through head/tail to shorten it.
diff --git a/tools/tip_tool.py b/tools/tip_tool.py
index e4d33259a29..c67c0472753 100644
--- a/tools/tip_tool.py
+++ b/tools/tip_tool.py
@@ -36,9 +36,8 @@ def tip_tool(text: str, selector: str, title: str = "", side: str = "") -> str:
TIP_SCHEMA = {
"name": "show_tip",
"description": (
- "Point at one thing in the desktop UI with a small arrow bubble (no "
- "dimming, no tour chrome) — for when a sentence is clearer with a "
- "finger on its subject. Get selectors from tour(action='targets'), "
+ "Point at one desktop UI element with a small arrow bubble (no dimming or tour). "
+ "For when a sentence is clearer with a finger on its subject. Get selectors from tour(action='targets'), "
"prefer stable:true, never guess. One tip at a time (new replaces "
"last); say the same thing in chat too — the bubble is a pointer, "
"not the message. Sparingly: a bubble every turn stops being read."
diff --git a/tools/tool_search_catalog.py b/tools/tool_search_catalog.py
index d46ab157929..609463bea36 100644
--- a/tools/tool_search_catalog.py
+++ b/tools/tool_search_catalog.py
@@ -212,7 +212,12 @@ def search_catalog(catalog: list[CatalogEntry], query: str, limit: int = 5, *,
_SENTENCE_END_RE = re.compile(r"(?<!\be\.g)(?<!\bi\.e)(?<!\betc)[.!?](?=\s|$)")
-def _short_desc(description: str, max_chars: int = 60) -> str:
+# A catalog line is its tool's first sentence: built-in tools keep that sentence within this cap
+# and lead with the key capability (tests/tools/test_tool_search.py pins it), so no line clips.
+CATALOG_SUMMARY_MAX_CHARS = 80
+
+
+def _short_desc(description: str, max_chars: int = CATALOG_SUMMARY_MAX_CHARS) -> str:
"""First sentence of a tool description, clipped to ``max_chars`` on a word boundary.
``e.g.``/``i.e.``/``etc.`` do not end a sentence; whitespace normalization and the regex
search stay linear-time on hostile input."""
diff --git a/tools/tour_tool.py b/tools/tour_tool.py
index 76e1da15b47..13e6ffb78c7 100644
--- a/tools/tour_tool.py
+++ b/tools/tour_tool.py
@@ -94,8 +94,7 @@ TOUR_SCHEMA = {
# without them the model guesses selectors on re-rendering UI.
# See #95681.
"description": (
- "Guided tour in the desktop GUI: dim the screen, highlight an "
- "element, attach a titled popover. Surfaces: 'app' (Hermes itself) "
+ "Run a guided desktop GUI tour: dim the screen, highlight elements, add popovers. Surfaces: 'app' (Hermes itself) "
"or 'preview' (the page in the preview pane). A general look around "
"the app is ONE call: action='start' with no steps runs the app's "
"built-in tour (preset 'quick' or 'full', default full). For a "
diff --git a/tools/video_generation_tool.py b/tools/video_generation_tool.py
index 707b41a6368..b61ff529be7 100644
--- a/tools/video_generation_tool.py
+++ b/tools/video_generation_tool.py
@@ -244,8 +244,7 @@ _CAPABILITY_PARAMS = (
)
_GENERIC_DESCRIPTION = (
- "Generate a video from a text prompt (text-to-video), animate a "
- "still image (image-to-video), or guide generation with reference images. "
+ "Generate video from text, a still image or reference images (configured model). "
"Pass `image_url` to animate an image or `reference_image_urls` for "
"reference-to-video. Video edit/extend workflows are not part of this "
"unified surface; use a dedicated provider-specific tool when one is "
@@ -253,10 +252,8 @@ _GENERIC_DESCRIPTION = (
"`hermes tools` → Video Generation; the agent does not pick them. "
"Long-running generations may take 30 seconds to several minutes — "
"the call blocks until the video is ready. Returns the result in the "
- "`video` field — either an HTTP URL or an absolute file path. To show "
- "it to the user, reference that path/URL in your response using the "
- "file-delivery convention for the current platform (your platform "
- "guidance describes how files are delivered here)."
+ "`video` field — either an HTTP URL or an absolute file path; reference "
+ "it in your response using the current platform's file-delivery convention."
)
diff --git a/tools/web_tools.py b/tools/web_tools.py
index 41433df1752..02b9ef3f3a8 100644
--- a/tools/web_tools.py
+++ b/tools/web_tools.py
@@ -514,7 +514,7 @@ from tools.registry import registry, tool_error
WEB_SEARCH_SCHEMA = {
"name": "web_search",
- "description": "Search the web for information. Returns up to 5 results by default with titles, URLs, and descriptions. The query is passed through to the configured backend, so operators such as site:domain, filetype:pdf, intitle:word, -term, and \"exact phrase\" may work when the backend supports them.",
+ "description": "Search the web: returns titles, URLs and snippets (5 by default). Read pages with web_extract. The query is passed through to the configured backend, so operators such as site:domain, filetype:pdf, intitle:word, -term, and \"exact phrase\" may work when the backend supports them.",
"parameters": {
"type": "object",
"properties": {
@@ -536,7 +536,7 @@ WEB_SEARCH_SCHEMA = {
WEB_EXTRACT_SCHEMA = {
"name": "web_extract",
- "description": "Extract content from web page URLs. Returns clean page content in markdown/text (no LLM summarization — fast). Also works with PDF URLs (arxiv papers, documents) — pass the PDF link directly. Pages within the char budget (default 15000) return whole; larger pages return a head+tail window with a footer telling you the full text's saved file path and the read_file call to page through the omitted middle. Inline images appear as [IMAGE: alt] placeholders; real image URLs are kept as links. If a URL fails or times out, use the browser tool instead.",
+ "description": "Extract content from web page URLs. Returns clean page content in markdown/text (no LLM summarization — fast). Also works with PDF URLs (arxiv papers, documents) — pass the PDF link directly. Pages within the char budget (default 15000) return whole; larger pages return a head+tail window with a footer telling you the full text's saved file path and the read_file call to page through the omitted middle. Inline images appear as [IMAGE: alt] placeholders; real image URLs are kept as links. If a URL fails, times out, or needs JS, login or clicks, use a browser tool instead.",
"parameters": {
"type": "object",
"properties": {
diff --git a/tools/x_search_tool.py b/tools/x_search_tool.py
index 577cc2f3d08..9c931c02b24 100644
--- a/tools/x_search_tool.py
+++ b/tools/x_search_tool.py
@@ -278,8 +278,7 @@ def x_search_tool(
X_SEARCH_SCHEMA = {
"name": "x_search",
"description": (
- "Search X (Twitter) posts, profiles, and threads using xAI's built-in "
- "X Search tool. Read-only discovery only: use this for current "
+ "Search X (Twitter) posts, profiles and threads via xAI's built-in X Search. Read-only discovery only: use this for current "
"discussion, reactions, or claims on public X rather than general web "
"pages. Do not use it to post, reply, like, DM, upload media, delete, "
"or inspect the user's authenticated X account — those require a "
diff --git a/tools/yuanbao_tools.py b/tools/yuanbao_tools.py
index 7a84c7b391f..52c9e3cd8a3 100644
--- a/tools/yuanbao_tools.py
+++ b/tools/yuanbao_tools.py
@@ -280,8 +280,7 @@ _TOOLS = (
{
"name": "yb_query_group_info",
"description": (
- "Query basic info about a group (called '派/Pai' in the app), "
- "including group name, owner, and member count."
+ "Query a group's name, owner and member count (a group is '派/Pai' in the app)."
),
"parameters": {
"type": "object",
@@ -348,11 +347,10 @@ _TOOLS = (
{
"name": "yb_send_dm",
"description": (
- "Send a private/direct message (DM) to a user in a group, with optional media files. "
- "This tool automatically looks up the user by name in the group member list "
- "and sends the message. Use this when someone asks to privately message / 私信 / DM a user. "
- "Supports text, images, and file attachments. "
- "You can also provide user_id directly if already known."
+ "Send a private message (DM / 私信) to a group member by name, with optional media. "
+ "It looks the user up in the group member list (or pass user_id if known). "
+ "Use it when someone asks to privately message a user. "
+ "Supports text, images, and file attachments."
),
"parameters": {
"type": "object",