Prompt profiles
Nearly every sentence Mewrk adds to a conversation on its own, from the environment block to tool descriptions, tool results and notices, is a key with built-in English text. A prompt profile is a JSON file that overrides the keys you name; every other key keeps the built-in wording.
What a profile changes
A profile can reword or remove:
- the environment block, and the skills, MCP servers and hooks sections of the system prompt;
- the descriptions of built-in tools and of MCP tools;
- what tools report back when they succeed, such as memory and handoff confirmations and background task status;
- the notices Mewrk delivers mid-conversation, such as plan-mode guidance and the handoff request;
- the texts around memory, project instructions, subagents, workflows and web search.
A profile changes only what the model reads. It does not change:
- the conversation's own system prompt card. Edit that on the timeline, or in a preset's conversation template;
- which tools exist, their parameters (apart from a few parameter descriptions that have keys), or what needs approval;
- tool error messages, which are fixed English;
- markers Mewrk reads back, such as
[Image #N]and<task-notification>, or the header line ofMEMORY.md; - the app's interface, including approval cards and dialogs, which stays in the app's language whichever profile you pick.
Mewrk has one built-in profile, Mewrk concise: English, part of the app, updated with each version and not editable. It keeps only what a capable model cannot work out for itself, and it is the default: selecting no profile is the same as selecting it, and the built-in mewrk preset names no file either. A setting that still points at the retired Mewrk guided is read as Mewrk concise.
Where profile files live
Mewrk lists every .json and .jsonc file directly inside ~/.mewrk/tool-descriptions/. Sub-folders and symbolic links are ignored, and a workspace's own .mewrk/tool-descriptions/ is not read. Mewrk never creates, changes or deletes these files.
Choose a profile
- Open More options → Conversation settings → Tool descriptions.
- Tick one of your files. Ticking another replaces it, and unticking goes back to the built-in Mewrk concise.
The page lists only your files. It has no row for Mewrk concise, because with none ticked the conversation already uses it, and with no files in the folder it shows No tool-description files discovered. The same page is in a preset's settings, and new conversations copy the preset's choice (see presets). Only the role window offers Mewrk concise by name: a role's Tool descriptions menu lists Follow the caller (the default), Mewrk concise and your files, and picking Mewrk concise keeps the built-in wording for that role's subagents even when the calling conversation uses a file. The list refreshes when you open conversation settings, or when you press Rescan on its Skills, MCP or Hooks page.
| In the list | Meaning |
|---|---|
| {name} (unavailable) | The file is not valid JSON (comments are fine), or has no known key and no tool row with text. If you select one, the conversation runs with Mewrk concise. |
| {id} (no longer in the catalog) | The selected file was renamed, moved or deleted. The conversation runs with Mewrk concise until you pick another. |
A selection is tied to where the file is. Changing name inside the file keeps it selected; renaming or moving the file, or its workspace folder, does not.
When changes apply
- The selected file is read again at the start of every run: edit it, save, and send your next message.
- New texts apply from the next run. Tool results and notices already in the conversation keep their old wording.
- Subagents and workflow steps use the profile the conversation had when they started, unless their role picks its own. A role set to Follow the caller (the default) uses the profile of the calling conversation. Pick a profile for the role and its subagent's tool descriptions and prompts, and the tool results and notices of its own run, use that one instead; an edit to that file reaches the next subagent started or resumed. What the caller's model reads about the subagent (its result, for example) keeps the caller's own wording.
- Switching profiles, or editing the selected file, mid-conversation changes the start of the request, so the next request cannot reuse the provider's prompt cache. After the conversation's first request, the Tool descriptions row is drawn orange like the other settings that cost the cache, and Mewrk asks once before switching.
File format
{
// Shown in the Tool descriptions list
"name": "Terse",
"prompts": {
"task.wait_idle": "Nothing is running.",
"system.environment.date": "Date: {date}",
"project_memory.untrusted_banner": ""
},
"tools": [
{
"toolName": "grep",
"description": "Search file contents. Prefer grep to reading whole files."
}
]
}| Field | Type | What it does |
|---|---|---|
name |
string | The name shown in Tool descriptions, up to 120 characters. Default: the file name without its extension. |
prompts |
object | Key to text. Each entry replaces that key's built-in text. Unknown keys and values that are not strings are ignored. |
tools |
array | Rows that override one tool each. |
tools[].toolName |
string, required | A built-in tool name such as grep, or an MCP tool's full name as the model sees it, starting with mcp__ (copy it from the tools row in More options → History). |
tools[].variant |
string | Built-in tools only; leave it out for the standard form. Some tools have another description for a particular situation, and this says which one you are replacing: child (pwsh, powershell, bash, zsh, sh and task_wait, inside a subagent), unguarded (write and edit, while the conversation's file write guards are off), text_only (read, for a model that does not take images), native (web_search, when the conversation's own model runs the search) and async (agent_spawn and workflow, for a model that takes asynchronous tool calls, so the result arrives later as the call's own output). |
tools[].description |
string | Replaces the tool's description. For a built-in tool this is the same text as its tool.<name>.description key (tool.<name>.<variant>.description for a variant), and it wins over a prompts entry for that key. For an MCP tool it replaces the server's description. Blank keeps the current text. The older name schemaNotes still works; with both, description is used. |
If one tool (one variant) has several rows, the first row with any text wins.
- Comments. A profile file is read as JSONC:
//and/* */comments are allowed, and so is a trailing comma after the last entry. The file name may end in.jsonor.jsonc. - Fallback. For each key, Mewrk uses the selected file's text when the file has the key, and the built-in English text otherwise. A selected file that is missing or not valid JSON means the built-in profile.
- Empty strings.
""means "say nothing here". An emptysystem.environment_sectionremoves the whole environment block; an emptyproject_memory.untrusted_bannerdrops the banner from project instructions. - Keys that ship empty.
web.findings_notice,web.results_notice(anoticeon web search and fetch results) andweb.untrusted_marker(a prefix for retrieved lines that look like instructions) add nothing until you fill them in. - Placeholders. Words in braces, such as
{date}, are filled in when the text is used; the key reference lists each key's placeholders. You can leave one out. A placeholder the key does not declare stays in the text as written. - Sentences that follow the tools. In tool and parameter descriptions,
{?read}…{/}keeps its text only when the request offersread,{?read|grep}…{/}when it offers either, and{!read}…{/}when it offers none of them. Markers nest, and@shellstands for every shell tool. The subagent addendum,subagent.addendum, takes them too, checked against that subagent's own tools. - Lists. When Mewrk joins names into a list, it puts
format.list_separatorbetween them (,by default). - Size. The file must be UTF-8 JSON, at most 1 MiB.
Write your own
Start from a template: a commented file that holds every key with its current built-in text, and says in comments what each key does and which placeholders it takes. The built-in profile without comments, and the key manifest, which lists each key's placeholders and where it appears, are here too:
tool-description-template.en-US.jsonc— The commented template, comments in Englishtool-description-template.zh-CN.jsonc— The commented template, comments in Chineseprompt-profile.en-US.json— The built-in profile, without commentsprompt-profile-keys.json— The key manifest
- Download the template of your language,
tool-description-template.en-US.jsoncortool-description-template.zh-CN.jsonc, and save a copy as~/.mewrk/tool-descriptions/<name>.jsonc. The two differ only in the language of their comments; both hold the built-in English texts. - Set
name, then delete every key you are not changing. Keys you leave out keep following Mewrk's updates; a key you keep stays at the text you wrote. - Edit the texts you kept, keeping the placeholders each one uses.
- Open More options → Conversation settings → Tool descriptions and tick the file. If it is not listed, close conversation settings and open them again.
- Send a message, then open More options → History. The
systemrows show the system prompt Mewrk sent, and thetoolsrow shows the tool descriptions.
To have a model work in Chinese, or any other language, translate every key and keep the whole file: a key missing from the file falls back to English.
Key reference
Every key, grouped by its prefix, with the placeholders it accepts and where its text appears. Open a group to see its keys.
system.* 36
| Key | Placeholders | Where it appears |
|---|---|---|
system.environment_section | {facts} | Frame of the environment block at the head of the host system prompt: the heading and the sentence introducing the fact list. {facts} is the list, one - item per system.environment.* line. Emptying this key removes the whole block, facts included. |
system.environment.working_directory | {path} | Environment fact naming the directory this conversation's tools resolve relative paths against — its worktree when it has one, otherwise the workspace root. |
system.environment.worktree | — | Environment fact added when the conversation runs on an isolated worktree, telling the model to stay in it rather than reaching for the original checkout. |
system.environment.worktree_stash | — | Environment fact added alongside the worktree line: the stash stack is shared with every other checkout of the repository, so a bare git stash pop can take another session's work. |
system.environment.git_repository | {value} | Environment fact stating whether the working directory sits inside a Git checkout. {value} is true or false. |
system.environment.workspaces | — | Heading of the environment block's numbered workspace list. It appears only when the conversation has more than one workspace, because the number is how a tool call names which one it acts in; each workspace follows as its own nested item. |
system.environment.workspace_entry | {number} {path} {location} | One item of the numbered workspace list. {number} is the value a tool's workspace parameter takes, {path} is the root on that machine, and {location} is the rendered machine phrase from the system.environment.workspace_on_* keys. |
system.environment.workspace_on_host | — | Machine phrase for a workspace on the machine Mewrk itself runs on. It is what {location} becomes for a local workspace. |
system.environment.workspace_on_wsl | {name} | Machine phrase for a workspace inside a WSL distribution. {name} is the distribution name. |
system.environment.workspace_on_ssh | {name} | Machine phrase for a workspace on a registered SSH machine. {name} is the machine's name in the catalog. |
system.environment.platform | {platform} | Environment fact naming the host operating system, as Rust's std::env::consts::OS spells it (windows, macos, linux). |
system.environment.os_version | {version} | Environment fact naming the host operating-system version. The line is omitted when the version could not be read. |
system.environment.date | {date} | Environment fact naming today's date on the host, as YYYY-MM-DD. |
system.mcp_section | {servers} | Section appended to the system prompt listing the MCP servers selected for the conversation; {servers} is one system.capability_row per server. |
system.mcp_server_default_description | — | Description used for an MCP server whose configuration has no description. |
system.mcp_server_place | {machine} {workspaces} | Appended to an MCP server's row in system.mcp_section when the conversation's workspaces are not all one folder on this computer: the machine the server runs on and the workspaces there. {machine} is a system.environment.workspace_on_* phrase and {workspaces} the joined workspace numbers. |
system.mcp_server_place_none | {machine} | Appended to an MCP server's row like system.mcp_server_place when none of the conversation's workspaces is on the machine the server runs on. |
system.hooks_section | {hook_names} {hooks} | Section appended to the system prompt listing the lifecycle hooks selected for the conversation; {hook_names} is the joined name list and {hooks} one system.capability_row per hook. |
system.skill_folder | {directory} | Line after a skill's body in the system prompt (and in system.skill_added_body) when skills are delivered in the prompt, saying where the skill's files are. {directory} is the folder, or system.skill_workspace_directory / system.skill_local_directory when the conversation's workspaces are not all one folder on this computer. |
system.skill_workspace_directory | {path} {workspace} | The folder of a skill a workspace declared, as system.skill_folder and the skill tool's result give it when the conversation has more than one workspace or its one workspace is on another machine. {path} is the folder on that workspace's machine and {workspace} its number. |
system.skill_local_directory | {path} | The folder of a global skill (~/.mewrk/skills) in the same situation as system.skill_workspace_directory: it is on this computer, whichever machines the workspaces are on. {path} is the folder. |
system.skill_added_body | {name} {body} | The host message delivering a skill selected after the conversation started, when skill bodies go into the prompt rather than behind the skill tool. |
system.skill_added_trigger | {name} {trigger} | The host message announcing a skill selected after the conversation started, when skills are loaded on demand; the body stays behind the skill tool. |
system.skill_added_untriggered | {name} | system.skill_added_trigger for a skill whose SKILL.md gives no description to use as its trigger: the skill is still announced, since the skill tool serves it, but with no trigger to fill a {trigger} slot. |
system.capability_row | {name} {description} | One row of the MCP-server or hook list in the system prompt. |
system.hook_matcher_detail | {matcher} | Suffix added to a hook's description when the hook has a matcher. |
system.hook_event.session_start | — | Description of a SessionStart hook. |
system.hook_event.instructions_loaded | — | Description of an InstructionsLoaded hook. |
system.hook_event.user_prompt_submit | — | Description of a UserPromptSubmit hook. |
system.hook_event.pre_tool_use | — | Description of a PreToolUse hook. |
system.hook_event.permission_request | — | Description of a PermissionRequest hook. |
system.hook_event.post_tool_use | — | Description of a PostToolUse hook. |
system.hook_event.stop | — | Description of a Stop hook. |
system.plan_mode | — | System prompt appended at the point the user turns plan mode on, every time they do: what plan mode forbids, how the plan document works, and the workflow that ends in exit_plan_mode. It travels as a mid-conversation system message where the model and endpoint take one, and as a host message (a <system-reminder> user message, or a box result, as the conversation chose) where they do not. Child agents never receive it. |
system.plan_mode_exit | — | System prompt appended at the point the user turns plan mode off before approving a plan, carried like system.plan_mode. An approved plan needs no such note: the exit_plan_mode result says so. |
system.host_messages | — | Section of the system prompt of every run whose host messages come as user messages (the conversation's host-message container is user) and whose prompt was assembled with a tool that can start a background task (agent_spawn, workflow, a shell, preview_start), saying what the user-role messages the host writes are: <system-reminder> notices, and background task results as <task-notification> behind Claude Code's [SYSTEM NOTIFICATION - NOT USER INPUT] preamble. None of them is the user speaking. Such a tool enabled after the prompt was assembled without one brings the same text with it, as a system prompt appended where it joins (a <system-reminder> on a model that takes no system message mid-conversation). Where host messages come in box, tool.box.description says it instead. |
tool.* 296
| Key | Placeholders | Where it appears |
|---|---|---|
tool.ls.description | — | Root description of the ls schema — what the model reads to decide what the tool is. A profile's tools[].description for ls overrides this key. |
tool.ls.param.path | — | Description of ls's path parameter. |
tool.ls.param.depth | — | Description of ls's depth parameter. |
tool.grep.description | — | Root description of the grep schema — what the model reads to decide what the tool is. A profile's tools[].description for grep overrides this key. |
tool.grep.param.pattern | — | Description of grep's pattern parameter. |
tool.grep.param.path | — | Description of grep's path parameter. |
tool.grep.param.case_sensitive | — | Description of grep's case_sensitive parameter. |
tool.grep.param.limit | — | Description of grep's limit parameter. |
tool.grep.param.offset | — | Description of grep's offset parameter. |
tool.grep.param.output_mode | — | Description of grep's output_mode parameter. |
tool.grep.param.context | — | Description of grep's context parameter. |
tool.grep.param.before | — | Description of grep's before parameter. |
tool.grep.param.after | — | Description of grep's after parameter. |
tool.grep.param.glob | — | Description of grep's glob parameter. |
tool.find.description | — | Root description of the find schema — what the model reads to decide what the tool is. A profile's tools[].description for find overrides this key. |
tool.find.param.query | — | Description of find's query parameter. |
tool.find.param.path | — | Description of find's path parameter. |
tool.read.description | — | Root description of the read schema for a model that takes images: it reads text files and shows images, the standard variant (see tool_surface). A profile's tools[].description for read overrides this key. |
tool.read.param.path | — | Description of read's path parameter. |
tool.read.param.start_line | — | Description of read's start_line parameter. |
tool.read.param.end_line | — | Description of read's end_line parameter. |
tool.read.text_only.description | — | Root description of the read schema in its text_only variant (see tool_surface): offered to a model that does not take images, so it reads text files and refuses an image. A profile's tools[].description for read with variant: "text_only" overrides this key. |
tool.read.text_only.param.start_line | — | Description of read's start_line parameter in the text_only variant. |
tool.read.text_only.param.end_line | — | Description of read's end_line parameter in the text_only variant. |
tool.lsp.description | — | Root description of the lsp schema — what the model reads to decide what the tool is. A profile's tools[].description for lsp overrides this key. |
tool.lsp.param.operation | — | Description of lsp's operation parameter. |
tool.lsp.param.file_path | — | Description of lsp's filePath parameter. |
tool.lsp.param.line | — | Description of lsp's line parameter. |
tool.lsp.param.character | — | Description of lsp's character parameter. |
tool.lsp.param.query | — | Description of lsp's query parameter. |
tool.write.description | — | Root description of the write schema while the conversation's file write guards are on: an existing file has to have been read in this conversation first, the standard variant (see tool_surface). A profile's tools[].description for write overrides this key. |
tool.write.unguarded.description | — | Root description of the write schema in its unguarded variant (see tool_surface): offered while the conversation's file write guards are off, so nothing has to have been read first and nothing is refused as stale. A profile's tools[].description for write with variant: "unguarded" overrides this key. |
tool.write.param.path | — | Description of write's path parameter. |
tool.write.param.content | — | Description of write's content parameter. |
tool.edit.description | — | Root description of the edit schema while the conversation's file write guards are on: the file has to have been read in this conversation first, the standard variant (see tool_surface). A profile's tools[].description for edit overrides this key. |
tool.edit.unguarded.description | — | Root description of the edit schema in its unguarded variant (see tool_surface): offered while the conversation's file write guards are off, so nothing has to have been read first and nothing is refused as stale. A profile's tools[].description for edit with variant: "unguarded" overrides this key. |
tool.edit.param.path | — | Description of edit's path parameter. |
tool.edit.param.find | — | Description of edit's find parameter. |
tool.edit.param.replace | — | Description of edit's replace parameter. |
tool.edit.param.replace_all | — | Description of edit's replace_all parameter. |
tool.pwsh.description | — | Root description of the pwsh schema (PowerShell 7) in a top-level run: a background command outlives the turn and wakes an idle conversation, the standard variant (see tool_surface). A profile's tools[].description for pwsh overrides this key. |
tool.pwsh.child.description | — | Root description of the pwsh schema (PowerShell 7) in its child variant (see tool_surface): offered to a child agent, whose background commands are stopped when it gives its final reply. A profile's tools[].description for pwsh with variant: "child" overrides this key. |
tool.pwsh.param.command | — | Description of pwsh's command parameter. |
tool.powershell.description | — | Root description of the powershell schema (Windows PowerShell 5.1) in a top-level run: a background command outlives the turn and wakes an idle conversation, the standard variant (see tool_surface). A profile's tools[].description for powershell overrides this key. |
tool.powershell.child.description | — | Root description of the powershell schema (Windows PowerShell 5.1) in its child variant (see tool_surface): offered to a child agent, whose background commands are stopped when it gives its final reply. A profile's tools[].description for powershell with variant: "child" overrides this key. |
tool.powershell.param.command | — | Description of powershell's command parameter. |
tool.bash.description | — | Root description of the bash schema in a top-level run: a background command outlives the turn and wakes an idle conversation, the standard variant (see tool_surface). A profile's tools[].description for bash overrides this key. |
tool.bash.child.description | — | Root description of the bash schema in its child variant (see tool_surface): offered to a child agent, whose background commands are stopped when it gives its final reply. A profile's tools[].description for bash with variant: "child" overrides this key. |
tool.bash.param.command | — | Description of bash's command parameter. |
tool.zsh.description | — | Root description of the zsh schema in a top-level run: a background command outlives the turn and wakes an idle conversation, the standard variant (see tool_surface). A profile's tools[].description for zsh overrides this key. |
tool.zsh.child.description | — | Root description of the zsh schema in its child variant (see tool_surface): offered to a child agent, whose background commands are stopped when it gives its final reply. A profile's tools[].description for zsh with variant: "child" overrides this key. |
tool.zsh.param.command | — | Description of zsh's command parameter. |
tool.sh.description | — | Root description of the sh schema in a top-level run: a background command outlives the turn and wakes an idle conversation, the standard variant (see tool_surface). A profile's tools[].description for sh overrides this key. |
tool.sh.child.description | — | Root description of the sh schema in its child variant (see tool_surface): offered to a child agent, whose background commands are stopped when it gives its final reply. A profile's tools[].description for sh with variant: "child" overrides this key. |
tool.sh.param.command | — | Description of sh's command parameter. |
tool.shell.param.description | — | Description of the description parameter the shell tools (pwsh, powershell, bash, zsh, sh) share: what the one-sentence summary of a command should say. |
tool.shell.param.timeout | {default_ms} {max_ms} | Description of the timeout parameter the shell tools share; {default_ms} and {max_ms} are the default and the ceiling in milliseconds. |
tool.shell.param.run_in_background | — | Description of the run_in_background parameter the shell tools share. |
tool.shell.child.param.run_in_background | — | Description of the run_in_background parameter the shell tools share, in their child variant: a background command ends with the child's final reply. |
tool.web_search.description | — | Root description of the web_search schema answered by a search provider: the result is a list whose entries carry citable ids, the standard variant (see tool_surface). A profile's tools[].description for web_search overrides this key. |
tool.web_search.native.description | — | Root description of the web_search schema in its native variant (see tool_surface): offered when the conversation's own model runs the search, so the result is its written report and the sites it consulted, with no ids. A profile's tools[].description for web_search with variant: "native" overrides this key. |
tool.web_search.param.query | — | Description of web_search's query parameter. |
tool.web_fetch.description | — | Root description of the web_fetch schema — what the model reads to decide what the tool is. A profile's tools[].description for web_fetch overrides this key. |
tool.web_fetch.param.urls | — | Description of web_fetch's urls parameter. |
tool.web_fetch.param.urls.item | — | Description of each element of web_fetch's urls parameter. |
tool.preview_start.description | — | Root description of the preview_start schema — what the model reads to decide what the tool is. A profile's tools[].description for preview_start overrides this key. |
tool.preview_start.param.name | — | Description of preview_start's name parameter. |
tool.preview.param.server_id | — | Description of the serverId parameter of the preview tools that act on the conversation's page (every preview_* tool except preview_start, preview_stop, preview_logs and preview_list). |
tool.preview.param.named_server_id | {description} | Description of the serverId parameter of the preview tools that address one dev server by its launch.json name (preview_stop, preview_logs); {description} is the lead phrase the tool gives it. |
tool.preview_stop.description | — | Root description of the preview_stop schema — what the model reads to decide what the tool is. A profile's tools[].description for preview_stop overrides this key. |
tool.preview_list.description | — | Root description of the preview_list schema — what the model reads to decide what the tool is. A profile's tools[].description for preview_list overrides this key. |
tool.preview_logs.description | — | Root description of the preview_logs schema — what the model reads to decide what the tool is. A profile's tools[].description for preview_logs overrides this key. |
tool.preview_logs.param.level | — | Description of preview_logs's level parameter. |
tool.preview_logs.param.lines | — | Description of preview_logs's lines parameter. |
tool.preview_logs.param.search | — | Description of preview_logs's search parameter. |
tool.preview_console_logs.description | — | Root description of the preview_console_logs schema — what the model reads to decide what the tool is. A profile's tools[].description for preview_console_logs overrides this key. |
tool.preview_console_logs.param.level | — | Description of preview_console_logs's level parameter. |
tool.preview_console_logs.param.lines | — | Description of preview_console_logs's lines parameter. |
tool.preview_screenshot.description | — | Root description of the preview_screenshot schema — what the model reads to decide what the tool is. A profile's tools[].description for preview_screenshot overrides this key. |
tool.preview_screenshot.param.scale | — | Description of preview_screenshot's scale parameter. |
tool.preview_snapshot.description | — | Root description of the preview_snapshot schema — what the model reads to decide what the tool is. A profile's tools[].description for preview_snapshot overrides this key. |
tool.preview_inspect.description | — | Root description of the preview_inspect schema — what the model reads to decide what the tool is. A profile's tools[].description for preview_inspect overrides this key. |
tool.preview_inspect.param.selector | — | Description of preview_inspect's selector parameter. |
tool.preview_inspect.param.styles | — | Description of preview_inspect's styles parameter. |
tool.preview_click.description | — | Root description of the preview_click schema — what the model reads to decide what the tool is. A profile's tools[].description for preview_click overrides this key. |
tool.preview_click.param.selector | — | Description of preview_click's selector parameter. |
tool.preview_click.param.uid | — | Description of preview_click's uid parameter. |
tool.preview_click.param.double_click | — | Description of preview_click's doubleClick parameter. |
tool.preview_fill.description | — | Root description of the preview_fill schema — what the model reads to decide what the tool is. A profile's tools[].description for preview_fill overrides this key. |
tool.preview_fill.param.selector | — | Description of preview_fill's selector parameter. |
tool.preview_fill.param.uid | — | Description of preview_fill's uid parameter. |
tool.preview_fill.param.value | — | Description of preview_fill's value parameter. |
tool.preview_eval.description | — | Root description of the preview_eval schema — what the model reads to decide what the tool is. A profile's tools[].description for preview_eval overrides this key. |
tool.preview_eval.param.expression | — | Description of preview_eval's expression parameter. |
tool.preview_network.description | — | Root description of the preview_network schema — what the model reads to decide what the tool is. A profile's tools[].description for preview_network overrides this key. |
tool.preview_network.param.filter | — | Description of preview_network's filter parameter. |
tool.preview_network.param.request_id | — | Description of preview_network's requestId parameter. |
tool.preview_resize.description | — | Root description of the preview_resize schema — what the model reads to decide what the tool is. A profile's tools[].description for preview_resize overrides this key. |
tool.preview_resize.param.preset | — | Description of preview_resize's preset parameter. |
tool.preview_resize.param.width | — | Description of preview_resize's width parameter. |
tool.preview_resize.param.height | — | Description of preview_resize's height parameter. |
tool.preview_resize.param.color_scheme | — | Description of preview_resize's colorScheme parameter. |
tool.preview_upload_image.description | — | Root description of the preview_upload_image schema — what the model reads to decide what the tool is. A profile's tools[].description for preview_upload_image overrides this key. |
tool.preview_upload_image.param.image_id | — | Description of preview_upload_image's image_id parameter. |
tool.preview_upload_image.param.selector | — | Description of preview_upload_image's selector parameter. |
tool.preview_upload_image.param.filename | — | Description of preview_upload_image's filename parameter. |
tool.preview_dialog.description | — | Root description of the preview_dialog schema — what the model reads to decide what the tool is. A profile's tools[].description for preview_dialog overrides this key. |
tool.preview_dialog.param.accept | — | Description of preview_dialog's accept parameter. |
tool.preview_dialog.param.prompt_text | — | Description of preview_dialog's prompt_text parameter. |
tool.preview_dialog.param.button | — | Description of preview_dialog's button parameter. |
tool.preview_input.description | — | Root description of the preview_input schema — what the model reads to decide what the tool is. A profile's tools[].description for preview_input overrides this key. |
tool.preview_input.param.server_id | — | Description of preview_input's serverId parameter. |
tool.preview_input.param.screenshot | — | Description of preview_input's screenshot parameter. |
tool.agent_spawn.description | — | Root description of the agent_spawn schema on a model without asynchronous tool calls: the call answers with a dispatch receipt, and the result comes later through task_wait or a host notification, the standard variant (see tool_surface). A profile's tools[].description for agent_spawn overrides this key. |
tool.agent_spawn.async.description | — | Root description of the agent_spawn schema in its async variant (see tool_surface): offered to a model that takes asynchronous tool calls, where the call is declared asynchronous, returns nothing at first, and the child's result arrives later as its own output. A profile's tools[].description for agent_spawn with variant: "async" overrides this key. |
tool.agent_spawn.param.prompt | — | Description of agent_spawn's prompt parameter. |
tool.agent_spawn.param.agent_type | — | Description of agent_spawn's agent_type parameter in the static schema, which the model sees only when the conversation's roles could not be read for the request (api::role_policy unknown): no names are listed, and a name is checked when the child is spawned. Once roles are known the parameter carries tool.agent_spawn.param.agent_type_roles and an enum instead, or is removed when there are none. |
tool.agent_spawn.param.agent_type_roles | — | Description of agent_spawn's agent_type parameter when the conversation has roles and the schema lists them as an enum. |
tool.agent_spawn.param.name | — | Description of agent_spawn's name parameter. |
tool.agent_spawn.param.label | — | Description of agent_spawn's label parameter. |
tool.agent_spawn.param.context | — | Description of agent_spawn's context parameter. |
tool.agent_spawn.param.schema | — | Description of agent_spawn's schema parameter. |
tool.task_wait.description | — | Root description of the task_wait schema in a top-level run, the standard variant (see tool_surface). A profile's tools[].description for task_wait overrides this key. |
tool.task_wait.child.description | — | Root description of the task_wait schema in its child variant (see tool_surface): offered to a child agent, which has background commands, terminals and pages to wait on but no children or workflows, and whose commands still running at its final reply are stopped. A profile's tools[].description for task_wait with variant: "child" overrides this key. |
tool.task_wait.param.tasks | — | Description of task_wait's tasks parameter. |
tool.task_wait.child.param.tasks | — | Description of task_wait's tasks parameter in the child variant: what an omitted list waits for in a child agent, which has no children or workflows. |
tool.task_wait.param.tasks.item | — | Description of each element of task_wait's tasks parameter. |
tool.task_wait.param.timeout_seconds | — | Description of task_wait's timeout_seconds parameter. |
tool.task_wait.child.param.timeout_seconds | — | Description of task_wait's timeout_seconds parameter in the child variant: ending the round at the deadline ends the child, and stops what it still runs. |
tool.task_list.description | — | Root description of the task_list schema — what the model reads to decide what the tool is. A profile's tools[].description for task_list overrides this key. |
tool.task_stop.description | — | Root description of the task_stop schema — what the model reads to decide what the tool is. A profile's tools[].description for task_stop overrides this key. |
tool.task_stop.param.task | — | Description of task_stop's task parameter. |
tool.send_message.description | — | Root description of the send_message schema — what the model reads to decide what the tool is. A profile's tools[].description for send_message overrides this key. Declared only to a top-level run whose conversation has subagent communication on and agent_spawn enabled. |
tool.send_message.param.to | — | Description of send_message's to parameter: the name the child was spawned with. |
tool.send_message.param.message | — | Description of send_message's message parameter. |
tool.send_message.param.summary | — | Description of send_message's summary parameter: the short preview the timeline shows. |
tool.box.description | — | Root description of the box schema — what the model reads to decide what the tool is. A profile's tools[].description for box overrides this key. Declared only where the conversation's host messages come in box. |
tool.box.param.none | — | Description of box's none parameter, the one (always empty) argument the host's fabricated calls carry. |
tool.read_global_memory.description | — | Root description of the read_global_memory schema — what the model reads to decide what the tool is. A profile's tools[].description for read_global_memory overrides this key. |
tool.read_project_memory.description | — | Root description of the read_project_memory schema — what the model reads to decide what the tool is. A profile's tools[].description for read_project_memory overrides this key. |
tool.create_global_memory.description | — | Root description of the create_global_memory schema — what the model reads to decide what the tool is. A profile's tools[].description for create_global_memory overrides this key. |
tool.create_project_memory.description | — | Root description of the create_project_memory schema — what the model reads to decide what the tool is. A profile's tools[].description for create_project_memory overrides this key. |
tool.edit_global_memory.description | — | Root description of the edit_global_memory schema — what the model reads to decide what the tool is. A profile's tools[].description for edit_global_memory overrides this key. |
tool.edit_project_memory.description | — | Root description of the edit_project_memory schema — what the model reads to decide what the tool is. A profile's tools[].description for edit_project_memory overrides this key. |
tool.memory.param.read_name | — | Description of the name parameter of read_global_memory and read_project_memory. |
tool.memory.param.create_name | — | Description of the name parameter of create_global_memory and create_project_memory. |
tool.memory.param.create_content | — | Description of the content parameter of create_global_memory and create_project_memory. |
tool.memory.param.create_description | — | Description of the description parameter of create_global_memory and create_project_memory. |
tool.memory.param.edit_name | — | Description of the name parameter of edit_global_memory and edit_project_memory. |
tool.memory.param.edit_old_text | — | Description of the old_text parameter of edit_global_memory and edit_project_memory. |
tool.memory.param.edit_new_text | — | Description of the new_text parameter of edit_global_memory and edit_project_memory. |
tool.memory.param.edit_description | — | Description of the description parameter of edit_global_memory and edit_project_memory. |
tool.ask_user.description | — | Root description of the ask_user schema — what the model reads to decide what the tool is. A profile's tools[].description for ask_user overrides this key. |
tool.ask_user.param.questions | — | Description of ask_user's questions parameter. |
tool.ask_user.param.questions.question | — | Description of ask_user's questions[].question parameter. |
tool.ask_user.param.questions.header | — | Description of ask_user's questions[].header parameter. |
tool.ask_user.param.questions.options | — | Description of ask_user's questions[].options parameter. |
tool.ask_user.param.questions.options.label | — | Description of ask_user's questions[].options[].label parameter. |
tool.ask_user.param.questions.options.description | — | Description of ask_user's questions[].options[].description parameter. |
tool.ask_user.param.questions.options.preview | — | Description of ask_user's questions[].options[].preview parameter. |
tool.ask_user.param.questions.multi_select | — | Description of ask_user's questions[].multiSelect parameter. |
tool.ask_user.param.answers | — | Description of ask_user's answers parameter. |
tool.ask_user.param.annotations | — | Description of ask_user's annotations parameter. |
tool.ask_user.param.annotations.preview | — | Description of ask_user's annotations.preview parameter. |
tool.ask_user.param.annotations.notes | — | Description of ask_user's annotations.notes parameter. |
tool.ask_user.param.metadata | — | Description of ask_user's metadata parameter. |
tool.ask_user.param.metadata.source | — | Description of ask_user's metadata.source parameter. |
tool.fork.description | — | Root description of the fork schema — what the model reads to decide what the tool is. A profile's tools[].description for fork overrides this key. |
tool.fork.param.prompt | — | Description of fork's prompt parameter. |
tool.workflow.description | — | Root description of the workflow schema on a model without asynchronous tool calls: the call answers at once, and the run's return value comes later through task_wait or a host notification, the standard variant (see tool_surface). A profile's tools[].description for workflow overrides this key. |
tool.workflow.async.description | — | Root description of the workflow schema in its async variant (see tool_surface): offered to a model that takes asynchronous tool calls, where the call is declared asynchronous, returns nothing at first, and the run's return value arrives later as its own output. A profile's tools[].description for workflow with variant: "async" overrides this key. |
tool.workflow.param.script | {signature} {agent_type_clause} | Description of workflow's script parameter. {signature} is the agent() signature line and {agent_type_clause} is one of the tool.workflow.param.script.agent_type_* texts. |
tool.workflow.param.script.agent_type_unresolved | — | {agent_type_clause} of tool.workflow.param.script in the static schema, which the model sees only when the conversation's roles could not be read for the request: no $defs.agentType is given, and a name is checked when its step starts. |
tool.workflow.param.script.agent_type_none | — | {agent_type_clause} of tool.workflow.param.script when no role is available to the conversation: none is selected, or none of the selected ones could be loaded. |
tool.workflow.param.script.agent_type_optional | — | {agent_type_clause} of tool.workflow.param.script when roles exist and naming one is optional. |
tool.workflow.param.script.agent_type_required | — | {agent_type_clause} of tool.workflow.param.script when roles exist and every agent() call must name one. |
tool.workflow.param.name | — | Description of workflow's name parameter. |
tool.workflow.param.args | — | Description of workflow's args parameter. |
tool.workflow.param.token_budget | — | Description of workflow's token_budget parameter. |
tool.workflow.param.resume_run_id | — | Description of workflow's resume_run_id parameter. |
tool.workflow.defs.agent_type | — | Description of workflow's $defs.agentType entry, which lists the legal role names for the script's agentType option. |
tool.plan.description | — | Root description of the plan schema — what the model reads to decide what the tool is. A profile's tools[].description for plan overrides this key. |
tool.plan.param.action | — | Description of plan's action parameter. |
tool.plan.param.content | — | Description of plan's content parameter. |
tool.exit_plan_mode.description | — | Root description of the exit_plan_mode schema — what the model reads to decide what the tool is. A profile's tools[].description for exit_plan_mode overrides this key. |
tool.read_handoff_note.description | — | Root description of the read_handoff_note schema — what the model reads to decide what the tool is. A profile's tools[].description for read_handoff_note overrides this key. |
tool.read_handoff_note.param.name | — | Description of read_handoff_note's name parameter. |
tool.create_handoff_note.description | — | Root description of the create_handoff_note schema — what the model reads to decide what the tool is. A profile's tools[].description for create_handoff_note overrides this key. |
tool.create_handoff_note.param.name | — | Description of create_handoff_note's name parameter. |
tool.create_handoff_note.param.content | — | Description of create_handoff_note's content parameter. |
tool.create_handoff_note.param.description | — | Description of create_handoff_note's description parameter. |
tool.edit_handoff_note.description | — | Root description of the edit_handoff_note schema — what the model reads to decide what the tool is. A profile's tools[].description for edit_handoff_note overrides this key. |
tool.edit_handoff_note.param.name | — | Description of edit_handoff_note's name parameter. |
tool.edit_handoff_note.param.old_text | — | Description of edit_handoff_note's old_text parameter. |
tool.edit_handoff_note.param.new_text | — | Description of edit_handoff_note's new_text parameter. |
tool.edit_handoff_note.param.description | — | Description of edit_handoff_note's description parameter. |
tool.handoff.description | — | Root description of the handoff schema — what the model reads to decide what the tool is. A profile's tools[].description for handoff overrides this key. |
tool.param.workspace | {default} | Description of the workspace parameter of the tools that act in a directory, added when the conversation has more than one workspace; {default} is the number a call that names none lands on. |
tool.param.workspace_server | — | Description of the workspace parameter of the tools that address one dev server, added when the conversation has more than one workspace. |
tool.param.workspace_shell_suffix | {shell} | Sentence appended to a shell tool's workspace description when only some workspaces have that shell; {shell} is the shell's name and the leading space belongs to the text. |
tool.param.workspace_project_memory | — | Description of the workspace parameter of the project memory tools, added when the conversation has more than one workspace. |
tool.preview_zoom.description | — | Root description of the preview_zoom schema — what the model reads to decide what the tool is. A profile's tools[].description for preview_zoom overrides this key. |
tool.preview_zoom.param.x | — | Description of preview_zoom's x parameter. |
tool.preview_zoom.param.y | — | Description of preview_zoom's y parameter. |
tool.preview_zoom.param.width | — | Description of preview_zoom's width parameter. |
tool.preview_zoom.param.height | — | Description of preview_zoom's height parameter. |
tool.screen.param.server_id | {screen} | Description of the serverId parameter of the remote-control screen tools (preview_zoom, preview_wait, screen_*, android_*), which all act on one remote-control screen; {screen} is what that screen is: remote-control screen, Android device, iPhone or iPad, iPhone, iPad or desktop or Android device. |
tool.preview_wait.description | — | Root description of the preview_wait schema — what the model reads to decide what the tool is. A profile's tools[].description for preview_wait overrides this key. |
tool.preview_wait.param.until | — | Description of preview_wait's until parameter. |
tool.preview_wait.param.timeout | — | Description of preview_wait's timeout parameter. |
tool.preview_wait.param.x | — | Description of preview_wait's x parameter. |
tool.preview_wait.param.y | — | Description of preview_wait's y parameter. |
tool.preview_wait.param.width | — | Description of preview_wait's width parameter. |
tool.preview_wait.param.height | — | Description of preview_wait's height parameter. |
tool.screen_app.description | — | Root description of the screen_app schema — what the model reads to decide what the tool is. A profile's tools[].description for screen_app overrides this key. |
tool.screen_app.param.action | — | Description of screen_app's action parameter. |
tool.screen_app.param.app | — | Description of screen_app's app parameter. |
tool.screen_app.param.url | — | Description of screen_app's url parameter. |
tool.screen_app.param.filter | — | Description of screen_app's filter parameter. |
tool.screen_app.param.limit | — | Description of screen_app's limit parameter. |
tool.screen_app.param.scope | — | Description of screen_app's scope parameter. |
tool.screen_app.param.activity | — | Description of screen_app's activity parameter. |
tool.screen_app.param.restart | — | Description of screen_app's restart parameter. |
tool.screen_app.param.arguments | — | Description of screen_app's arguments parameter. |
tool.screen_app.param.environment | — | Description of screen_app's environment parameter. |
tool.screen_device.description | — | Root description of the screen_device schema — what the model reads to decide what the tool is. A profile's tools[].description for screen_device overrides this key. |
tool.screen_device.param.action | — | Description of screen_device's action parameter. |
tool.screen_device.param.value | — | Description of screen_device's value parameter. |
tool.screen_device.param.sections | — | Description of screen_device's sections parameter. |
tool.screen_device.param.latitude | — | Description of screen_device's latitude parameter. |
tool.screen_device.param.longitude | — | Description of screen_device's longitude parameter. |
tool.screen_clipboard.description | — | Root description of the screen_clipboard schema — what the model reads to decide what the tool is. A profile's tools[].description for screen_clipboard overrides this key. |
tool.screen_clipboard.param.action | — | Description of screen_clipboard's action parameter. |
tool.screen_clipboard.param.text | — | Description of screen_clipboard's text parameter. |
tool.screen_package.description | — | Root description of the screen_package schema — what the model reads to decide what the tool is. A profile's tools[].description for screen_package overrides this key. |
tool.screen_package.param.action | — | Description of screen_package's action parameter. |
tool.screen_package.param.path | — | Description of screen_package's path parameter. |
tool.screen_package.param.app | — | Description of screen_package's app parameter. |
tool.screen_package.param.permission | — | Description of screen_package's permission parameter. |
tool.screen_package.param.keep_data | — | Description of screen_package's keep_data parameter. |
tool.screen_package.param.replace_existing | — | Description of screen_package's replace_existing parameter. |
tool.screen_package.param.downgrade | — | Description of screen_package's downgrade parameter. |
tool.screen_package.param.grant_permissions | — | Description of screen_package's grant_permissions parameter. |
tool.android_logcat.description | — | Root description of the android_logcat schema — what the model reads to decide what the tool is. A profile's tools[].description for android_logcat overrides this key. |
tool.android_logcat.param.lines | — | Description of android_logcat's lines parameter. |
tool.android_logcat.param.level | — | Description of android_logcat's level parameter. |
tool.android_logcat.param.tag | — | Description of android_logcat's tag parameter. |
tool.android_logcat.param.package | — | Description of android_logcat's package parameter. |
tool.android_logcat.param.buffer | — | Description of android_logcat's buffer parameter. |
tool.android_logcat.param.contains | — | Description of android_logcat's contains parameter. |
tool.android_shell.description | — | Root description of the android_shell schema — what the model reads to decide what the tool is. A profile's tools[].description for android_shell overrides this key. |
tool.android_shell.param.command | — | Description of android_shell's command parameter. |
tool.android_shell.param.timeout | — | Description of android_shell's timeout parameter. |
tool.ls_limit | {limit} {depth} | Line of an ls result the character budget cut, naming the depth down to which the listing is complete. |
tool.ls_limit_partial | {limit} | Line of an ls result the character budget cut partway through the first level. |
tool.ls_ignored_note | — | Line of an ls result that listed ignored directories without expanding them. |
tool.ls_empty | — | ls result for an empty directory. |
tool.ignored_entry | {path} | An ignored entry in an ls or find result: a directory ls did not expand, a match find listed last. |
tool.grep_skipped | {error} | Line in a grep or ls result for an entry that could not be read. |
tool.grep_limit | {from} {to} {next} | Last line of a grep page when more matches follow, with the offset of the next page. |
tool.grep_no_match | — | grep result when nothing matched. |
tool.grep_no_match_at_offset | {offset} {count} | grep result when the requested offset is past the last match. |
tool.grep_count_total | {matches} {files} | Last line of a grep result in count mode: the matching lines and files of the whole search, not only of the page. |
tool.grep_context_unavailable | — | Line of a remote grep result that was asked for context lines but ran on a machine whose grep cannot print them unambiguously. |
tool.find_limit | {shown} {total} | Line of a find result that returned only some of its matches. |
tool.find_ignored_note | {count} | Line of a find result some of whose matches are in ignored paths, listed last. |
tool.find_scan_limit | {limit} | Line of a find result that stopped examining entries, so its total is a floor. |
tool.find_no_match | — | find result when nothing matched. |
tool.read_image | {path} {mime} {width} {height} {bytes} | read result for an image file (the image itself is attached). |
tool.read_empty_file | — | read result for a file with no content. |
tool.read_range_out_of_bounds | {total} | read result when the requested start line is past the end of the file, with the file's line count. |
tool.read_limit | {from} {to} {total} {next} | Last line of a read result that stopped before the end of the file or of the requested range. |
tool.read_limit_uncounted | {from} {to} {next} | Last line of a read result that stopped early in a file too large to count the lines of. |
tool.read_line_truncated | {omitted} | Marker closing a line of a read result that was cut because the line alone is more than one read can return. |
tool.read_lossy_note | — | Last line of a read result decoded lossily because the file is not valid UTF-8. |
tool.read_utf16_note | {encoding} | Last line of a read result decoded from UTF-16, which edit cannot modify. |
tool.read_binary | {path} | read error for a file that holds binary data rather than text. |
tool.write_done | {bytes} {path} | write result. The default is a bare acknowledgement; the values stay available to a profile that wants to name the file. |
tool.edit_done | {path} | edit result. The default is a bare acknowledgement; the value stays available to a profile that wants to name the file. |
tool.edit_done_all | {path} {count} | edit result with replace_all: how many occurrences were replaced. The default leaves out the file; the value stays available to a profile that wants to name it. |
tool.file_state_current | — | Suffix on a write/edit result while the conversation's file write guards are on: the model need not read the file back. Never sent with the guards off. |
tool.file_changed_notice | {path} {snippet} | Notice that a file the model read or wrote changed on disk — behind its back between rounds, or by a PostToolUse hook right after its write/edit — with every changed region rendered with line numbers. The model's copy then counts as current, so its next write/edit of the file goes through; a text that leaves out {snippet} shows it nothing and gets the omitted notice instead. Part of the file write guards: never sent with them off. |
tool.file_changed_omitted | {path} | The same notice when the changes cannot all be shown (too large, the round's snippet budget spent, or the earlier text no longer remembered). The model's copy is then out of date, so its next write/edit of the file is refused until it reads the file again. |
tool.shell_stale_read_hint | {count} {files} | Suffix on a shell result after a formatter-looking command changed files the model had read. Part of the file write guards: never sent with them off. |
tool.shell_stale_read_more | {count} | Tail of the file list in the shell stale-read hint once more than five files changed. |
tool.shell_cwd_outside_workspace | {directory} {workspace} {root} | Suffix on a successful shell result whose command ended outside its workspace, so the next command there starts at the workspace root. |
tool.shell_output_omitted | {size} | Line standing in for the middle of a command's output, past what is kept of its start and end. |
tool.shell_user_aborted | — | Shell result when the user aborted the command. |
tool.shell_exit_unknown | — | Stands in for the exit code when the process reported none. |
tool.shell_completed | {code} | Status line of a finished shell command that printed nothing. |
tool.shell_exit_code | {code} | Leading line of a failed shell result, before its stderr and stdout. |
tool.shell_timed_out | {seconds} | Shell result when the deadline expired and the running command could not be moved to the background (its run was going away), so it was stopped. |
tool.shell_left_running_stopped | — | Closes the result of a command that finished while processes it started still held its output, when those could not be moved to the background and were stopped. |
tool.output_truncated | — | Suffix when a tool result was cut to the output limit. |
tool.output_spilled | {size} {path} {preview_size} {preview} | What a shell or grep result too long to return whole becomes: where the full output was saved, and its start. |
tool.diff_truncated | — | Suffix when a write/edit diff was cut to the limit. |
subagent.* 22
| Key | Placeholders | Where it appears |
|---|---|---|
subagent.addendum | — | Addendum appended (after a --- separator) to the system prompt of every spawned subagent and workflow step. What depends on the conversation's subagent communication is marked with the child's update tool, which a child holds only while that is on: {?subagent_update}…{/} wraps what only such a child is told (that the main agent's later messages reach it and carry instructions, and the sentence telling it to report progress with the update tool), {!subagent_update}…{/} what every other child is told instead. |
subagent.addendum.browser_note | — | Item added to the end of subagent.addendum's notes list when the child holds a preview_* tool, which acts on the browser session it shares with the conversation. |
subagent.addendum.shell_note | — | Item added last to subagent.addendum's notes list when the child holds a shell tool: how its commands run in the background and that they stop with its final reply. |
subagent.update_tool_description | — | Schema description of the child-only subagent_update tool. |
subagent.update_message_description | — | Schema description of subagent_update.message. |
subagent.update_ack | — | Tool result a child receives after a successful subagent_update call. |
subagent.structured_output_root_seed | — | Root description of the child-only structured_output tool when the spawning schema has none. |
subagent.structured_output_lifecycle | — | Sentence appended to every structured_output schema description. |
subagent.structured_output_nudge | — | User context injected once when a schema-bound child ends a round without calling structured_output. |
subagent.structured_output_settled | — | Tool result of a valid structured_output call. |
subagent.structured_output_rejected | {error} {attempt} {max_attempts} | Tool result of a structured_output call that failed schema validation. |
subagent.structured_output_exhausted | {max_attempts} | Final assistant text of a child whose structured_output calls failed validation too many times. |
subagent.missing_structured_output | — | Notice prepended to a schema-bound child's final text when it never called structured_output. |
subagent.failed | {reason} | Result envelope body (or suffix) when a child's model request failed. |
subagent.failed_unknown_reason | — | Reason used in subagent.failed when the host has none. |
subagent.no_text_result | — | Result envelope body when a child finished without any text. |
subagent.result_truncated | — | Suffix appended when a child's final text was cut to the output limit. |
subagent.forced_stop | {name} | Result envelope body when the host force-stopped a child that ignored a stop request. |
subagent.worker_panic | — | Result envelope body when a task worker crashed. |
subagent.structured_result_block | {body} | Fenced block appended to a result envelope that carries a structured result. |
subagent.structured_unserializable | — | Body of subagent.structured_result_block when the value cannot be serialized. |
subagent.structured_truncated | — | Suffix inside subagent.structured_result_block when the value was cut to the inline limit. |
skill.* 6
| Key | Placeholders | Where it appears |
|---|---|---|
skill.tool_description | — | Schema description of the on-demand skill tool. |
skill.name_description | — | Schema description of skill.name. |
skill.listing_heading | — | Heading of the skill trigger list in the system prompt. |
skill.listing_row | {name} {trigger} | One row of the skill trigger list. |
skill.listing_row_untriggered | {name} | One row of the skill trigger list for a skill whose SKILL.md gives no description to use as its trigger. It is listed anyway: the skill tool serves it, and skill.name_description tells the model the names are in its context. |
skill.result | {directory} {body} | Tool result of a successful skill call. |
tool_search.* 8
| Key | Placeholders | Where it appears |
|---|---|---|
tool_search.tool_description | — | Schema description of the tool_search tool, exposed whenever a run is holding MCP tool schemas back. It has to teach the whole mechanism: that the announced names have no parameter schema until they are fetched, that the result is a <functions> block in the same encoding as the tool list at the top of the prompt, and the three query forms. |
tool_search.query_description | — | Schema description of tool_search.query. |
tool_search.max_results_description | — | Schema description of tool_search.max_results. |
tool_search.announcement | {tools} | Context injected at the head of every step of a run that withheld MCP tool schemas; {tools} is one tool_search.announcement_row per withheld tool. Announcing the names is what makes them findable — the model cannot search for a capability it has never heard of. |
tool_search.announcement_row | {server} {names} | One row of the withheld-tool announcement: every tool one server declared. Grouping by server is what makes a keyword query like +slack reach them. |
tool_search.result | {functions} | Tool result of a tool_search call that matched something; {functions} is the <functions> block carrying one <function> line per matched tool. |
tool_search.no_match | {query} {total} | Tool result of a tool_search call that matched nothing. |
tool_search.not_loaded | {name} | Rejection returned when the model calls an MCP tool whose schema this run has not handed out yet. Repairable on purpose: it names the call that fixes it. |
role.* 2
| Key | Placeholders | Where it appears |
|---|---|---|
role.listing_heading | — | Heading of the agent-role list appended to the agent_spawn / workflow tool description. |
role.listing_row | {name} {description} | One row of the agent-role list. |
task.* 76
| Key | Placeholders | Where it appears |
|---|---|---|
task.wait_timeout_all_pending | {seconds} {pending} {max_seconds} | Leading notice of a task_wait result that timed out before any named task settled. |
task.wait_timeout_partial | {seconds} {delivered} {pending} {max_seconds} | Leading notice of a task_wait result that timed out with some results delivered. |
task.wait_pending_fallback | — | Stands in for {pending} when the wait named no specific task. |
task.wait_idle | — | task_wait result when nothing is running and nothing is waiting to be collected. |
task.progress_update_label | — | Status word of a progress-update envelope: [agent · progress update]. |
task.no_text_result | — | Body of a result envelope whose task returned no text. |
task.cost_line | {tokens} {tool_uses} {duration_ms} | Footer line of a result envelope in a task_wait result. |
task.cost_unknown_tokens | — | Stands in for {tokens} when the provider reported no usage. |
task.wait_delivered_on_call | — | Body of a task_wait result section whose task's result went to the asynchronous call that started it, as that call's output, rather than into the wait's own result. |
task.wait_status_heading | — | Heading of the status roll-up that ends a task_wait result. The renderer recognizes the built-in English heading, and the Chinese one in transcripts older builds wrote. |
task.status.completed | — | Status word of a completed task. |
task.status.interrupted | — | Status word of an interrupted task. |
task.status.failed | — | Status word of a failed task. |
task.status.stopped | — | Status word of a task stopped by the user. |
task.status.round_limit | — | Status word of a task that hit its round limit. |
task.status.running | — | Status word of a running task. |
task.status.idle | — | Status word of a subagent that finished its turn and is waiting. |
task.list_empty | — | task_list result when the conversation has no tasks. |
task.list_total | {total} | First line of a non-empty task_list result. |
task.list_row_label | {label} | Suffix of a task_list row (and a task_wait observation) carrying the task's label. |
task.list_latest_update | {update} | Line under a task_list row showing the task's latest progress update. |
task.list_result_in_timeline | — | Suffix of a task_list status for a finished task whose result is in the timeline. |
task.group.subagents | — | task_list group title for subagents. |
task.group.workflows | — | task_list group title for workflow runs. |
task.group.terminals | — | task_list group title for terminals. |
task.group.shell_commands | — | task_list group title for background shell commands. |
task.group.preview_servers | — | task_list group title for dev servers. |
task.preview.starting | — | Status of a dev server that is still coming up. |
task.preview.running | — | Status of a dev server that is answering. |
task.preview.stopped | — | Status of a dev server that is no longer registered. |
task.terminal.running | — | Status of a terminal with a running command. |
task.terminal.idle | — | Status of an idle terminal. |
task.terminal.exited | — | Status of a terminal whose shell exited. |
task.terminal.closed | — | Status of a closed terminal. |
task.shell.completed | {code} | Status of a background command that exited successfully. |
task.shell.failed | {code} | Status of a background command that exited with an error. |
task.shell.aborted | — | Status of a background command that was aborted. |
task.shell.aborting | — | Status of a background command that is being aborted. |
task.shell.running | — | Status of a running background command. |
task.shell.finished | — | Status of a background command that finished without an exit code. |
task.shell_result | {shell_ref} {tool_name} {exit} {body} | Result envelope body of a finished background shell command. |
task.shell_exit_code | {code} | Stands in for {exit} when the exit code is known. |
task.shell_exit_unknown | — | Stands in for {exit} when the exit code is unknown. |
task.shell_no_output | — | Stands in for {body} when the command produced no output. |
task.shell_stopped_by_user | {shell_ref} {tool_name} {body} | Result envelope body of a background command the user stopped, carrying whatever it printed first. |
task.shell_stopped_by_model | {shell_ref} {tool_name} {body} | Result envelope body of a background command the model itself stopped with task_stop, carrying whatever it printed first. |
task.shell_failed_to_run | {shell_ref} {error} | Result envelope body of a background command that failed to execute. |
task.shell_timeout_backgrounded | {shell_ref} {seconds} | Receipt of a foreground command that ran out of time and was adopted by a task slot instead of being stopped. |
task.shell_timeout_backgrounded_file | {shell_ref} {seconds} {path} | Same receipt when the command's output is being written to a file, which it names. |
task.shell_left_running | {shell_ref} | Closes the result of a foreground command that finished while processes it started still held its output; those were adopted by a task slot instead of being waited on. |
task.shell_left_running_file | {shell_ref} {path} | Same note when the command's output, and what those processes print later, is being written to a file, which it names. |
task.shell_left_running_result | {shell_ref} {tool_name} {body} | Result envelope body once the processes a command left running (see task.shell_left_running) have exited, carrying only what they printed after the command's own result. |
task.shell_background_receipt | {shell_ref} {path} | Receipt of a command started with run_in_background: its task address, and the file its output is written to while it runs. |
task.shell_output_file | {path} | Names the file a still-running background command writes its output to, in a task_wait timeout and under its task_list row. |
task.shell_output_file_earlier_lost | {size} | First line of a command's output file when the command was moved to the background after the live buffer had already dropped its earliest output. |
task.shell_output_file_limit | {size} | Last line of a command's output file once it has reached its size limit. |
task.stop_stopped | {task} {detail} | Result of a task_stop call that stopped a task: the task's address and what it was running. |
task.send.queued | {to} | Result of a send_message call that put its message in front of a child still running: {to} is the child's name. Nothing starts; the child reads the message before its next model request. |
task.send.resumed | {to} | Result of a send_message call to a child that had finished and was delivered: the child is resumed in the background with its full earlier context and the message. {to} is the child's name. Its new result arrives like any task result. |
task.send.result_pending | {to} | Refusal of a send_message call to a child that has just finished but whose result has not reached the model yet. Nothing changed. {to} is the child's name. |
task.send.user_stopped | {to} | Refusal of a send_message call to a child the user stopped, which is not resumed. {to} is the child's name. |
task.send.unknown_target | {to} | Refusal of a send_message call naming no child agent of this conversation. {to} is the name the call gave. |
task.send.not_an_agent | {to} | Refusal of a send_message call naming a task that is not a child agent (a workflow run, a shell command, a dev server). {to} is the name or address the call gave. |
task.output_truncated | — | Suffix appended when a task result was cut to the output limit. |
task.stopped_by_user | — | Sentence appended to a task's result when the user closed that task from the sidebar. |
task.stopped_by_model | — | Sentence appended to a task's result when the model itself stopped that task with task_stop. |
task.box_no_op | — | Tool result of a box call the model made itself; the tool is a host carrier and does nothing when called. |
task.notification.completed | {task} | <summary> of a completed-task notification. |
task.notification.failed | {task} | <summary> of a failed-task notification. |
task.notification.round_limit | {task} | <summary> of a round-limit notification. |
task.notification.interrupted | {task} | <summary> of an interrupted-task notification. |
task.notification.stopped | {task} | <summary> of a stopped-task notification. |
task.restart_summary | {task} | <summary> of the notification delivered when an application exit lost a subagent before its result reached the model. |
task.restart_notice | {task} {last_output} | Body of the notification delivered when an application exit lost a subagent before its result reached the model. {last_output} is task.restart_last_output or task.restart_no_output. |
task.restart_last_output | {text} | Stands in for {last_output} with the last text the lost subagent wrote. |
task.restart_no_output | — | Stands in for {last_output} when the lost subagent had written no text. |
fork.* 1
| Key | Placeholders | Where it appears |
|---|---|---|
fork.request_submitted | — | Tool result of fork when the request was raised for the user to decide. |
handoff.* 6
| Key | Placeholders | Where it appears |
|---|---|---|
handoff.armed_notice | — | The instruction to write handoff notes and call handoff, given at the round boundary where the context crosses the auto-compact threshold: a mid-conversation system message where the model and endpoint take one, otherwise a host message (a <system-reminder> user message, or a box result). Either way it is all the model is told. |
handoff.index_context | {notes} | The handoff notes a continuation inherited. On a model that reads its tools ahead of its system prompt it is a system card, the system prompt's last section; on any other it is handed over once at the first round boundary, right behind the opening message — as a mid-conversation system message where the model and endpoint take one, otherwise as a host message (a <system-reminder> user message, or a box result). {notes} is one - name — description line per note. |
handoff.start_message | — | The host's first user message in a continuation: what its first run is asked to do. |
handoff.note_created | {name} | Tool result of a successful create_handoff_note call. |
handoff.note_updated | {name} | Tool result of a successful edit_handoff_note call. |
handoff.completed | {title} | Tool result of a successful handoff call. {title} is the continuation's title. |
host_notice.* 5
| Key | Placeholders | Where it appears |
|---|---|---|
host_notice.output_truncated | — | The host message sent when a response was cut off at the output limit: the instruction to continue. As a user message it is sent as is, without a <system-reminder>, as Claude Code sends its own; in box it is the result. |
host_notice.hook_context | {event} {context} | The host message carrying a hook's additionalContext, in Claude Code's wording. {event} is the hook's lifecycle event and {context} what it added. |
host_notice.mcp_unavailable | {servers} | The host message sent when selected MCP servers could not be used at the start of a turn. {servers} is one system.capability_row per server, its description being why it could not be used. |
host_notice.instruction_skips | {files} | The host message listing instruction files (MEWRK.md, rules, imports) a run left out. {files} has one line per file, - <file>: <reason>, the reason being one of the instruction_skip.* texts. |
host_notice.preview_start_failed | {name} {error} | The host message sent when a dev server the user started from the preview pane failed to start. {name} is the server's name in .mewrk/launch.json and {error} the error the start gave, which is what the pane showed the user. |
instruction_skip.* 8
| Key | Placeholders | Where it appears |
|---|---|---|
instruction_skip.too_large | — | Reason in that list: the file is larger than one instruction file may be. |
instruction_skip.over_total_size | — | Reason: the file would take the run past the size all instruction files together may take. |
instruction_skip.over_file_count | — | A line of its own, naming no file: the run already reads as many instruction files as it may. |
instruction_skip.not_utf8 | — | Reason: the file is not valid UTF-8 text. |
instruction_skip.secret | — | Reason: the file looks like it contains a credential or other secret. |
instruction_skip.import_missing | — | Reason: an import of a file that does not exist or is not a file. |
instruction_skip.import_unsupported | — | Reason: an import Mewrk does not follow: a URL or ~ path, a cycle, or one nested too deep. |
instruction_skip.unreadable | — | Reason: the file could not be read. |
web.* 10
| Key | Placeholders | Where it appears |
|---|---|---|
web.executor_system_prompt | {budget_line} | System prompt of the isolated executor that runs a provider-native web_search. |
web.executor_budget_unlimited | — | {budget_line} when the conversation sets no search cap. |
web.executor_budget_limited | {max_searches} | {budget_line} when the conversation caps searches per call. |
web.executor_task | {query} | User message given to the isolated web-search executor. |
web.fetch_executor_system_prompt | — | System prompt of the isolated executor that runs a provider-native web_fetch. Its prose is discarded: the host reads the retrieved pages out of the tool results, so this only has to make the executor call the tool once per URL. |
web.fetch_executor_task | {urls} | User message given to the isolated web-fetch executor, carrying the URLs to retrieve one per line. |
web.search_warnings | {warnings} | Line appended to native findings when the provider reported search failures. |
web.findings_notice | — | notice field of the JSON result of a native web_search. Empty by default, and then the field is omitted entirely; fill it in to label the findings as untrusted. |
web.results_notice | — | notice field of the JSON result of a catalog-provider web_search or a web_fetch. Empty by default, and then the field is omitted entirely; fill it in to label the results as untrusted. |
web.untrusted_marker | — | Prefix put in front of a retrieved line that looks like an instruction. Empty by default, so such a line is passed through unmarked; the control characters a line could hide behind are stripped either way. |
memory.* 7
| Key | Placeholders | Where it appears |
|---|---|---|
memory.context_intro | — | First line inside the <mewrk-memory> block that carries each enabled tier's MEMORY.md. |
memory.tier.global | — | Name of the global memory tier. |
memory.tier.project | — | Name of the project memory tier. |
memory.tier.project_of_workspace | {workspace} {path} | Name of one workspace's project memory when the conversation has more than one workspace, each with its own; it heads that workspace's index in the memory block. {workspace} is the number and {path} the folder. |
memory.index_heading | {tier} | Heading above a tier's MEMORY.md inside the memory block. |
memory.created | {tier} {name} | Tool result of a successful create_*_memory call. |
memory.updated | {tier} {name} | Tool result of a successful edit_*_memory call. |
project_memory.* 1
| Key | Placeholders | Where it appears |
|---|---|---|
project_memory.untrusted_banner | — | Banner inside the project-instructions block (MEWRK.md / AGENTS.md style files found in the workspace). |
hook.* 8
| Key | Placeholders | Where it appears |
|---|---|---|
hook.session_start_blocked | {reason} | Assistant text written when a SessionStart hook blocked the turn. |
hook.user_prompt_blocked | {reason} | Assistant text written when a UserPromptSubmit hook blocked the turn. |
hook.blocked_by | {name} | Reason given to the model when a hook denied a tool call without a reason of its own. |
hook.continue_fallback | — | User context injected when a Stop hook asks to continue without giving a reason. |
hook.stop_limit_reached | {limit} | Assistant text written when a Stop hook asked to continue too many times in a row. |
hook.stop_skipped_definition_revoked | {error} | Assistant text written when the Stop hook was skipped because the named agent's definition was revoked. |
hook.post_tool_not_rolled_back | {reason} {tool} | Tool result substituted when a PostToolUse hook rejects a call whose effects cannot be rolled back. |
hook.interrupted_call_skipped | — | Tool result of a call that was not executed because a hook interrupted the turn. |
mcp.* 1
| Key | Placeholders | Where it appears |
|---|---|---|
mcp.mandatory_description_prefix | — | Prefix of the tool description of an MCP tool that requires user interaction on every call. |
run.* 1
| Key | Placeholders | Where it appears |
|---|---|---|
run.no_text_reply | — | Assistant text written when the model ended a turn without any text. |
workflow.* 16
| Key | Placeholders | Where it appears |
|---|---|---|
workflow.not_recoverable | — | Line appended to a workflow receipt when its run directory could not be created. |
workflow.aborted_cancelled | — | Result of a workflow run that was cancelled or whose turn ended. |
workflow.aborted_channel | {detail} | Result of a workflow run aborted by a host event-channel failure. |
workflow.resume_hint | {run_id} | Line appended to a failed workflow result explaining how to resume it. |
workflow.resume_degraded | {run_id} | Resume hint used when journal writes failed, so a resume replays nothing. |
workflow.resume_repeated_warning | {count} | Line appended to a resume hint when steps kept starting without ever finishing. |
workflow.losers_cancelled | {count} {steps} | Progress note written when the script returned while steps were still running. |
workflow.step_no_structured | — | Error of a workflow step that finished without returning its required structured result. |
workflow.step_ended_with | {status} | Error of a workflow step that ended in a non-completed status. |
workflow.step_preview_truncated | — | Suffix of a step output preview in the workflow timeline context. |
workflow.step_no_result | — | Error of a workflow step that produced no result. |
workflow.step_not_started | — | Error of a workflow step that had not started when the run was aborted. |
workflow.restart_summary | {task} | <summary> of the notification delivered when a workflow run was interrupted by an application restart. |
workflow.restart_notice | {task} {script} {reusable_steps} {run_id} {reason} | Body of the notification delivered when a workflow run was interrupted by an application restart and the host could not resume it. |
workflow.restart_resumed_summary | {task} | <summary> of the notification delivered when the host resumed a workflow run an application restart interrupted. |
workflow.restart_resumed | {task} {script} {reusable_steps} | Body of the notification delivered when the host resumed a workflow run an application restart interrupted. |
format.* 1
| Key | Placeholders | Where it appears |
|---|---|---|
format.list_separator | — | Separator used when the host joins names into a list (hook names, task addresses, status roll-ups). |