MCP tool reference
Kangentic ships a built-in MCP (Model Context Protocol) server that gives most agents it spawns a set of tools for working with the board, backlog, sessions, and the embedded browser while they run. It is enabled by default. Which agents get wired, and how, is in How the MCP server works.
When an agent discovers follow-up work - bugs, refactoring opportunities, or new features - it can file tasks directly on the board instead of you entering each one by hand. Agents can also search existing tasks to avoid duplicates, read prior session transcripts, inspect board status, and drive a task’s Browser pane.
The server runs as an in-process streamable HTTP transport inside the Kangentic app. By default it binds to loopback (127.0.0.1) with a fresh token generated on every launch, and Kangentic wires it into each session automatically - there is nothing to install and, for local use, nothing to configure. To turn it off, switch MCP server off in Settings > MCP Server or set mcpServer.enabled to false. To reach the server from another machine, widen the bind interface with mcpServer.bindAddress (a wildcard like 0.0.0.0 still binds loopback) and allowlist a hostname with mcpServer.callbackHost - see the Configuration reference.
This page lists every shipped tool, grouped exactly as the Settings > MCP Server panel groups them, with one anchor per tool (for example #kangentic_create_task) so the app can deep-link a tool’s pill straight to its entry here.
Tool annotations
Section titled “Tool annotations”Every tool is annotated read-only or mutating. This is load-bearing for plan mode: Claude Code auto-approves read-only tools without a permission prompt while planning, so the plan-mode auto-approval surface is exactly the read-only set. Mutating tools - the board and backlog writers (create, update, delete, move, promote, link), every workflow tool except the two reads, marking a background service, and the browser tools that change the loaded page or a surface’s lifecycle (navigate, history, click, hover, type, keypress, scroll, drag, select option, drop files, handle dialog, set viewport, eval, open pane, close pane, pop out, dock) - still prompt in plan mode by design. That holds under automatic Plan approval too: since v0.48.0 the hook that answers a planning prompt for another MCP server’s allowed tool never answers one for Kangentic’s own. Outside plan mode, Claude Code, GitHub Copilot, and Grok Build sessions never see a prompt for Kangentic’s own tools. Every other agent applies its own approval rules to them, as to any MCP server, so it may ask in its terminal before a call (see When agents skip the permission prompt).
Cross-project calls
Section titled “Cross-project calls”Most tools accept an optional project parameter - a project name (case-insensitive) or UUID - to route the call at a different Kangentic project than the one the session is bound to. There are two exceptions. kangentic_get_current_task resolves the agent’s own working directory and branch, so cross-project lookup makes no sense there. The whole kangentic_browser_* family takes no project argument at all: those tools are bound to the project in the connection’s own URL, which makes “there is no path to another project’s pane” a guarantee of the tool shape rather than a runtime check. kangentic_browser_close_pane is the one browser tool that can reach beyond its own project, and only through an explicit includeOtherProjects flag that is off by default.
When project is set, the response is prefixed with [Project: <name> (<shortId>)] so the caller can confirm where the action landed. Use kangentic_list_projects to discover valid selectors. kangentic_move_task_to_project skips the prefix: it resolves two projects at once (source via project, destination via targetProject), so its response names both directly instead.
Projects on an SSH host
Section titled “Projects on an SSH host”Since v0.58.0 an agent can run on a Linux machine over SSH, and its tools answer from the place each fact belongs to. The host never reaches the server directly: each call crosses the SSH link as a file, and Kangentic posts it to its own loopback server.
- Where the agent works is the host’s. A worktree or project path, a session’s
cwd, a git fact, and a port the agent’s server listens on come back as the host sees them.kangentic_list_projectsprints a host project’s path on its host, andkangentic_query_dbadds a note that theworktree_pathandcwdcolumns hold this computer’s stand-in folder. - This computer is labeled. The Browser pane’s URLs, a forwarded port, the app’s logs, crash records, and process metrics are this computer’s, and carry
location: 'local'. An agent on a host also reads a first line saying so, andlocalhostin its pane is your computer, not the host. - A path the agent passes is a host path. A file it attaches or drops with
kangentic_browser_drop_filesis fetched from the host, beneath its home folder, and never read from this computer’s disk. A Browser capture saved withsaveToFileis copied into the agent’s working folder on the host. - Dev ports are checked on both ends.
kangentic_reserve_dev_portshands out a port free on the host and on this computer, andkangentic_check_dev_portsreportslisteningas{ local, host }. Only a reserved port is forwarded to this computer.
An agent on a host is told all of this in the server’s instructions.
Operations on individual tasks.
kangentic_create_task
Section titled “kangentic_create_task”Create Task - add a task to any board column or the backlog. This is the only task-creation tool. With no column it lands in the To Do column; pass column: "Backlog" to stage it in the backlog instead. The Done column is refused - a task created there would be archived off the board the moment it existed, and the error says so rather than reporting the column as missing. Titles are capped at 200 characters and descriptions at 27,500 since v0.56.0, down from 50,000, because a fresh start puts the description on the agent’s command line, which Windows caps. A description over the limit is refused with how many characters over it is, so the agent can shorten it in one more call; longer material belongs in an attachment. Creating a task in a column with auto-spawn enabled also starts an agent session for it. As a runaway-loop safeguard, the server caps creation at 500 tasks per app launch; once that cap is hit this tool returns an error until Kangentic is restarted.
Beyond the title and description, a call can carry a priority, labels, and attachments, a list of absolute file paths with an optional display filename each. The tool’s own description tells an agent to attach any local file the user named by path rather than merely reading it, so a handoff mockup or spec lands on the card. prUrl and prNumber link the task to an existing pull request at creation, which is the only way to do that here: a URL written into the description is not a link. Since v0.57.0 artifacts gives the task the links it starts with as artifacts, each { url, name? }, at most 50. Any http or https link is accepted, and one that is not a link is refused with no task created. They are recorded as added by an agent, and a recognized link in the description is added too. Board tasks only. automationsDisabled: true creates the task with its column automations paused, so no On task enter, On agent turn end, or On task exit row runs for it in any column, and Kangentic approves none of its plans, until they are resumed with kangentic_update_task; the response says so (see Pausing automations for one task).
The spawn behavior can be pinned per task with optional overrides: agentOverride locks the CLI for the task’s lifetime, modelOverride and effortOverride set the model and reasoning level, and permissionMode sets the permission mode (default, plan, acceptEdits, dontAsk, bypassPermissions, or auto). Each falls back through the column override, then the project default, then the app default when omitted. Passing any of the four implies runMode: "agent_override"; pass that on its own to pin whatever the task would resolve to today. profile rides a Board profile instead and is mutually exclusive with the pins. autoCommand delivers a message to the agent once it spawns. It is MCP-only, and it is sent in place of the destination column’s first Send message to agent row for this task; on a column with no such row it goes out once, after the column’s On task enter automations. It is not sent when the task’s main session starts over from a recap of a deleted conversation (see Session persistence), or on a move out of Done.
One check reads the task’s text. When the call carries no project and the title or description names a different registered project, a create into To Do still goes ahead, and the response ends on one more line. That line names the mentioned project and the kangentic_move_task_to_project call that moves the task there, so a wrong guess costs one small call instead of a resend of the whole create. A mention inside a targeting phrase (“on X’s board”, “add it to X”, “create a task in X”), or an identifier-like name such as “orbit-api” in the title, reads [Routing check]. A passing mention such as “ported from X” names a source and reads [Routing note]. A name counts only where a person would read it as the project, so one inside code, a URL, or a longer identifier such as garden.json does not. Before v0.64.0 every such create was refused. A passing mention on a create headed for the Backlog or another board column creates the task too, and its line names the fix there: kangentic_delete_backlog_item and a re-create with project set, or a move to To Do and then the relocation. One case still refuses: a strong mention on a create headed for the Backlog or a board column other than To Do creates nothing, because neither can be moved to another project afterwards. That message names the mentioned project and the two re-runs that resolve it, project: "<mentioned>" to file it there or project: "<active>" to confirm. An explicit project, even one naming the active project, skips the check.
Since v0.37.0 agentOverride, modelOverride, and effortOverride are validated when the task is created, not when it spawns. An unknown value is rejected on the spot with the valid values listed, and no task is created - a typo used to produce a card that looked correct and failed hours later, when someone moved it into an executing column. The rejection names the resolved agent and which rung of the ladder it came from, since the caller usually did not pass one. Validation stays permissive wherever it cannot know: an agent that enumerates nothing accepts the value and leaves its own CLI as the judge, a floating alias like opus is always accepted (discovered model lists hold only concrete versioned ids), and a capability probe that runs out of time accepts too. Only the fields present on the call are checked. A friendly name with a space is converted to the CLI’s spelling ("Opus 4.8" to claude-opus-4-8). Since v0.44.0 a single word such as "Opus" is stored as written, and the Claude adapter turns it into the floating alias opus at spawn when Claude’s model list has that family; it used to become claude-opus, which passed here and failed at spawn.
useWorktree: false means no worktree is created: the agent runs in the project directory itself, and the task detail’s folder button opens that folder rather than a worktree. What happens to the branch depends on what else you passed. A branchName is fetched, created if it does not exist, and checked out in the project directory, so it is still subject to the conflict guard below. With no custom branch but a baseBranch, that base is checked out and fast-forwarded from origin. Since v0.56.0 baseBranch also takes a tag (v2.4.0) or a commit SHA, which needs a worktree or a branchName, since checking either out in the project folder would leave it on no branch (A tag, a commit, or a local branch). With neither, git is not touched at all and the agent runs on whatever branch the repo currently has out. Either checkout refuses on a dirty working tree, so commit or stash first. Omit useWorktree to get a worktree whenever the project allows them; while the project has Worktrees off in Settings > Git, true is ignored and the task runs in the project folder.
Labels are worth one call first: kangentic_board_summary reports the board’s existing label vocabulary, so an agent can reuse a label instead of coining a near-duplicate. A label is a plain name or { name, color } with a six-digit hex color. Since v0.56.0 every tool that writes labels lists the Labels editor’s eleven swatches in its description, so an agent picks a color a person could have picked, and the board summary reports each label’s color. A plain name leaves a new label uncolored and keeps an existing one’s color. priority is an index into the project’s own priority scale, which you can rename and extend (to 7 levels in the Priorities popover since v0.62.0), so since v0.56.0 it is no longer capped at 4. Index 0 is the bottom entry (None by default, shown as nothing on a card), and a number past the end of the scale is refused with the scale listed. The board summary prints the scale too. There is also a client-side quirk to know about. When a call carries both labels and a description of roughly 1KB or more, the labels can be dropped before they ever reach Kangentic, upstream in the MCP client’s own tool-call emission. Kangentic detects that signature and appends a [Labels not received] line to the response naming the follow-up call to make. It is advisory rather than an error - the task itself was created correctly. A caller that means no labels passes labels: []. The check is on the argument being absent, not empty, so the empty list never draws the line, and since v0.64.0 the tool descriptions and the line itself tell agents to send it.
Naming a branch with branchName is checked before anything is written. Git allows a branch in only one working tree at a time, so if that branch is already checked out the call is refused, naming the branch and the path holding it, and no task is created. Retrying the same call fails identically; free the branch or use a different name. See Naming a branch yourself.
kangentic_list_tasks
Section titled “kangentic_list_tasks”List Tasks - browse tasks in board order (top to bottom within each column), optionally filtered by column. Each task reports position, its zero-based ordinal slot within its own column. That is the same slot kangentic_move_task and kangentic_reorder_tasks accept, so a listing can be read and handed straight back. Each task also renders its labels as [a, b] after the title, omitted entirely when it has none. Filtering by the Done column resolves but returns nothing, since a task moved there is archived off the board; reach completed tasks with kangentic_search_tasks instead.
kangentic_search_tasks
Section titled “kangentic_search_tasks”Search Tasks - keyword search across both the board (active and archived) and the backlog. Use the scope parameter to narrow to a single surface; results are grouped so you can see which surface each hit came from. Board and backlog hits both render their labels the same way, but note the asymmetry in matching: backlog items match on their labels, board tasks match on title and description only, so a board task is not found by searching for one of its labels.
A query of # followed by digits (#42) is a ticket lookup by the task’s #N number, prefix-matched. Backlog items have no ticket number, so a ticket query returns board tasks only whatever scope says.
kangentic_find_task
Section titled “kangentic_find_task”Find Task - look up a task or backlog item by display ID, UUID, branch name, title keyword, or PR number. Returns matching board tasks (with branch, worktree path, and PR info) and any matching backlog items.
Since v0.44.0 each of the first five matched board tasks also carries what the Knowledge Graph knows about it, so “what did #412 ship?” is one call:
- Summary. For a finished task, the sentence or two an agent wrote about it, with the date (see Task summaries). A finished task without one says it is not written yet, or that Task summaries are switched off.
- Commits. The default-branch commits linked to the task, newest first, at most three with the total.
- Changed files. The files its sessions changed, most-changed first, at most eight with the total.
Past five matches, one line says to look a task up by displayId for these details. With the index off, one line says so and nothing is read.
Since v0.52.0 each matched board task prints its description under its line, because an agent reads the message rather than data. A lone match shows up to 4,000 characters, and each of several matches up to 400, with a last line saying how many more were left out.
A task whose column automations are paused says automations paused in its task line, and data.tasks[].automationsDisabled is true. The line says nothing about automations otherwise.
Since v0.57.0 a task with artifacts prints an Artifacts block under its description: each link with its name, its platform, and who added it (the user, an agent, a publish since v0.61.0, or detection).
kangentic_get_task_report
Section titled “kangentic_get_task_report”Task Report - read what a task’s completed task view shows that kangentic_find_task does not, as JSON. Pass taskId (a #N number or a UUID) and optionally project. The tool runs the view’s own reads, so an agent and the view see the same route, span, and files:
- Route. Each working column the task stayed in, in board order, with its total time and its stays, oldest first, at most 50 per column with the count.
- Span. When the work started and ended: the first move into a working column or the first session start, whichever came first, and the last move into Done, else the last session end.
- Activity. Since v0.68.0,
activitycarries the agent’s time split as the view’s strip shows it:activeMsworking,waitingMswaiting on you, andapprovalMs, the part of that wait spent on an approval. It is null for a task with no recorded activity. The timeline’s bands are left out. - Commits. The commits the Knowledge Graph links to the task, newest first, at most 100 with the total. Null while indexing is off.
- Changes. Each changed file from git, biggest change first, with its status and lines added and removed, at most 200 with the total. A git failure costs this section only, and the result says why.
- Summary state. Whether the task’s summary is written, with its text, pending, switched off, or unreadable because indexing is off.
The Usage tab’s turn ledger is left out. An unknown task returns an error naming the id. New in v0.51.0.
kangentic_get_current_task
Section titled “kangentic_get_current_task”Current Task - resolve the task for the current working directory or git branch. Use it at the start of work in a worktree to confirm which task you are on before commits, PRs, or merge-back. This is the one tool that does not take a project argument. Since v0.58.0 both cwd and branch are optional: with neither, or with nothing they match, it answers for the calling agent’s own task, and says so when the caller has none. On a project on an SSH host the worktree it prints is the host’s path. A single match prints the same task line, description, and Knowledge Graph lines kangentic_find_task does (branch, base, worktree, PR, automations paused, description, artifacts since v0.57.0, summary, commits, changed files), and an ambiguous match lists every candidate. Its data carries automationsDisabled too.
It deliberately does not report the task’s reserved dev-server ports. This serializer is a per-project read while the port ledger is global, so including them would make every task lookup hit a second database once per matched task. Use kangentic_check_dev_ports, which answers that question and probes each port besides.
kangentic_get_task_stats
Section titled “kangentic_get_task_stats”Task Stats - token usage, cost, agent runtime, tool calls, and lines changed for a specific task or aggregated across all tasks, with an optional sort metric. Across all tasks, each row starts with the task’s #N, so the agent can follow one up.
Cost and agent runtime are the completed task view’s figures. A resume is a new session record that reports its conversation’s running total, so before v0.46.0 a task resumed ten times counted that conversation ten times. Each conversation is now read once and the conversations are added, which is also how kangentic_board_summary totals the board. For one task, the runtime line reads Agent runtime. Since v0.68.0 the view shows Active and Waiting in place of the runtime for a task with recorded activity, and kangentic_get_task_report carries that split.
Since v0.42.0, asking for one task by taskId also returns its subagent fan-out: one row per subagent type with token counts, turn count, and how many distinct subagents ran, plus a Fan-outs section grouping the same turns by the driver turn that started each one, heaviest first. On a /code-review or /test task that is usually most of the traffic, and it is the only place the board can say which subagent was expensive. The rows carry no cost of their own, because the task’s reported cost already covers the whole session tree. Claude Code, Gemini CLI, Qwen Code, Kimi Code, and OpenCode 1 report subagent usage, the last four since v0.54.0; the aggregate call (no taskId) carries no breakdown.
kangentic_update_task
Section titled “kangentic_update_task”Update Task - edit a task’s title, description, PR info, agent assignment, model/effort/permission overrides, run mode, board profile, priority, labels, base branch, worktree placement (useWorktree), the column automations switch (automationsDisabled), a workflow task’s own plan approval (planApproval), attachments, and since v0.57.0 artifacts. The model, effort, and permissionMode overrides mirror the ones on kangentic_create_task; pass an empty string to clear one and fall back to the column, project, or app default. agent, model, and effort get the same call-time validation as their create counterparts, resolved against the agent this task actually runs under. A task’s stored pins are never re-validated, so a labels-only follow-up still succeeds on a task carrying a since-deprecated model, and labels carries the same large-description caveat and the same [Labels not received] advisory. With a long description, labels: [] clears the task’s labels and draws no advisory, and resending the current labels keeps them. Since v0.56.0 labels takes the same { name, color } entries as create, where it took plain names only, and priority takes the project’s own scale. A description past 27,500 characters is refused unless the task is already longer and the write does not grow it, so an older long task keeps its other edits.
A write that changes model, effort, profile, or runMode on a task with a running session reaches that session the way a context bar pick does. When the session runs at something other than the new settings, it is restarted with them as launch flags, in the background after the call returns. A session already on the new settings is left alone, and so is one whose stored settings the write did not change. The restart ends the session’s turn in progress. When an agent updates its own task, that is the agent’s own turn, and the reply says so. A queued session is not restarted: since v0.55.0 its waiting start command is rebuilt with the new settings, so it keeps its prompt and its place in line, and the reply says it starts with them. A session queued during startup recovery has no rebuild, so it starts as queued and the write applies from its next spawn.
profile and runMode choose how the task gets its agent settings, and they are mutually exclusive. A profile (a Board profile name or id) re-resolves per column as the task moves; pass an empty string to clear it back to Default. runMode: "column_settings" follows each column and clears the pins, while runMode: "agent_override" pins agent, model, effort, and permission for the task’s whole life. Setting any pin already implies agent_override, so you only need runMode to switch modes without pinning anything, and pairing a pin with column_settings is rejected as a contradiction. Attachments passed here are added to the task; existing ones are kept (remove one with kangentic_remove_task_attachment). To move a task between columns, use kangentic_move_task instead.
Artifacts change through three lists. addArtifacts adds links, each { url, name? }, and keeps the rest. A link the task already has is not added twice. Since v0.61.0 it keeps its name too: a name sent with it only fills an empty one, and the result names each link the task already held and what it is called. A call whose adds were all already held under a name writes nothing and says “Nothing to update”. Before v0.61.0 a name on a held link renamed it. renameArtifacts, new in v0.61.0, is the way to rename: [{ url, name }], with null or "" to clear a name. A name set there outlives the next publish of the same page. removeArtifacts takes links off, each written the way kangentic_find_task prints it (a www. and a trailing slash do not matter). A link that renameArtifacts or removeArtifacts names and the task does not hold is refused, with the task’s artifacts listed, and a removed link is never detected back onto the task. A task holds at most 50, and an add past that is refused.
The description can be changed three ways, so an agent editing a long description does not have to resend the whole thing:
descriptionreplaces the entire description.descriptionEditsapplies an ordered list of exact find-and-replace edits to the current text, like the file Edit tool. Eachfindmust appear exactly once (as the text stands after the previous edits in the list); a missing or non-uniquefindfails the whole call and writes nothing.appendDescriptionadds text to the end of the current description.
descriptionEdits and appendDescription can be combined (edits apply first, then the append), but neither can be used together with a full description. Descriptions are capped at 27,500 characters since v0.56.0, down from 50,000, and a task already longer than that keeps its description as long as an edit does not grow it.
automationsDisabled: true pauses the task’s column automations and false resumes them. While they are paused, no column automation runs for the task on any trigger, a move types no column message, and since v0.48.0 Kangentic approves none of its plans (an Automatic Plan approval waits for you), so the board stops advancing it. Manual moves, the column’s agent settings, and Run again still work. It is how an agent holds its own task while it waits on CI or a decision, and setting it never restarts the session. Resuming replays nothing that was skipped. Since v0.55.0 a running or paused workflow’s task refuses true, and the refusal says what to use instead (see A workflow task’s automations cannot be paused). false is always taken, and a finished workflow’s task is ordinary again. Adding the task to a workflow turns automations back on. Since v0.49.0 moving it out of Done or restoring it from the archive keeps them paused. See Pausing automations for one task.
planApproval sets a workflow task’s own Plan approval: "automatic" or "manual" overrides its plan column for that task, and null follows the plan columns on its route again. It is written before any other field, so a refusal leaves the task as it was. It is refused, ending “The task was not updated.”, for a task in no workflow, whose column’s Plan approval decides (kangentic_update_column), for a task that has passed its plan column or reached Done, and for a workflow that has not started, whose planned task takes it through kangentic_save_workflow.
kangentic_move_task
Section titled “kangentic_move_task”Move Task - move a task between columns, optionally placing it at a chosen slot in that column, running the same lifecycle as a drag: spawning or suspending agents, creating or cleaning up worktrees, and running the source column’s On task exit and the destination’s On task enter automations. Moving to Done auto-archives the task; moving back to To Do kills the session, removes the worktree, and drops the PR link of a task that did its own work.
The optional position is a zero-based ordinal slot among the column’s tasks; the tasks at and below it shift down. It is clamped to the column, so a value past the end lands last, and omitting it appends. Naming the task’s current column together with position repositions it in place, which changes nothing but its order: no session, worktree, or lifecycle effects. Position has no useful effect when moving into Done, which archives the task.
Since v0.46.0 two parameters make a move a hand-off:
column: "next"moves the task to the column after its current one. For a workflow task, that is the next column on its route. A column actually named “next” still wins.message(up to 20,000 characters, line breaks kept) reaches the agent in the destination column once it is ready, after that column’s own On task enter automations. The move and the message are one call because a separatekangentic_send_session_messagecannot reach a session the move itself is suspending or starting. Since v0.52.0, when no agent runs where the task lands, the message is held for the task’s next agent; a move into Done holds nothing and drops it. It is also held when that agent exits before its turn ends, and since v0.57.1 when it has not ended its turn within an hour. A later move cancels it. A message on a move that stays in the task’s column is refused, since no agent arrives to read it, except from the task’s own agent, which gets the no-op answer plus “Nothing moved, so the message was not sent.”
Naming the task’s current column with no position moves nothing and answers that the task is already there. That is a success, so an agent that repeats a move it already made gets a harmless answer.
Since v0.51.0, when the task’s own agent sends next after the task has left the column its current turn began in, the call is refused rather than skip a column. That happens when a plan approval or a drag moved the task on mid-turn. The refusal names both columns and says what to do instead: in a column that carries the session on, the agent is told it is now doing that column’s step and which column to name once that work is done; in a column that ends the session, it is told its session ends when this turn does. A column named outright is never refused this way.
When the task’s own agent moves it and the move ends that agent’s session (Done, a column with no agent, an isolated or always-fresh column, or an agent or model change), the session ends only after the turn that made the call, waiting up to 30 seconds. The call and its result then stay in the agent’s own conversation, so a later resume does not make the move again. The reply says “Your session ends when this turn does.” for Done or a column with no agent, and “If Code Review starts a session of its own, yours ends when this turn does.” with the destination’s name otherwise. That turn’s idle raises no Agent idle toast or desktop notification.
A task in a running workflow is locked while it is in motion. Only the workflow, its column automations, and the task’s own agent may move it, and the task’s own agent moving its card is how a column’s work reports itself done. Any other agent is refused with “#414 is locked while Harden the API runs.” Since v0.55.0 a person may move a task that has stopped to any column but To Do, and any other agent stays refused. While the workflow is paused, any other agent is refused until it resumes. No agent can move a workflow task into To Do; kangentic_remove_from_workflow comes first.
An agent’s move of another task into To Do or Done answers to the running-work guard.
Since v0.60.0 a move made in a turn the person started, by typing into the calling session, counts as the person’s own for an automation’s Frequency and starts its count over. A move made in a turn the board started keeps the count, so a review agent cannot reset its own loop limit after the column’s message. Kangentic reads which it was from the turn’s transcript, leaving out every message it typed itself, so the call takes no parameter for it. Since v0.61.0 a move from a Command Terminal always counts as the person’s, and so does one from a client outside Kangentic whose MCP URL names no session. Before v0.61.0 a Command Terminal’s move never did.
kangentic_reorder_tasks
Section titled “kangentic_reorder_tasks”Reorder Tasks - set the top-to-bottom order of tasks within one column in a single call, for sequencing a column by priority or execution order. Pass column (case-insensitive) and taskIds, an array of display IDs or UUIDs in the order they should appear from the top; every ID must already be in that column.
The listed tasks take the top slots in the order given, and any task in the column you do not list keeps its relative order below them. So you can pass every task to set the full order, or just a few to pin them to the top. Read the current order first with kangentic_list_tasks or kangentic_get_column_detail. This never moves a task between columns and never spawns, suspends, or otherwise touches a session or worktree; use kangentic_move_task to change a task’s column.
kangentic_move_task_to_project
Section titled “kangentic_move_task_to_project”Move Task to Project - relocate a task from the To Do column of one project’s board to a different project’s board. Only To Do tasks can move, since entering To Do already resets a task’s live state (session killed, worktree removed, branch deleted), so nothing live has to cross the project boundary; move a task to To Do first if it is elsewhere. The relocation preserves title, description, labels, priority, creation time, attachments, and whether its column automations are paused, and assigns a new task ID and display number in the target project. Pass targetProject (the destination, which must differ from the source) and optionally column to land somewhere other than the destination’s To Do column - landing in an auto-spawn column there spawns an agent, just like kangentic_create_task, and the destination’s Done column is refused the same way. The project parameter names the source project (omit to use the active one), so this is the one tool where project is not the destination; its response states both the source and destination directly instead of the usual [Project: ...] prefix. A task in a workflow is refused, because the relocation makes a new task and would orphan its links; take it out with kangentic_remove_from_workflow first. A workflow already places each task on whichever board its work belongs to.
kangentic_link_pr
Section titled “kangentic_link_pr”Link PR - authoritatively resolve and attach a task’s pull request via the hosting provider’s CLI (gh for GitHub, az for Azure DevOps; which one answers is decided by the repository’s git remote, see Hosting providers), even for PRs opened outside Kangentic and even when the task has no live session. Re-running refreshes the linked PR’s state and merge readiness, which since v0.56.0 includes failing: a failed check or build, which an agent can fix. When the provider’s CLI cannot check, the error names the actual reason and the task keeps whatever link it has.
Since v0.41.0 the optional branch parameter names the remote branch the work was pushed to, recorded on the task before resolving. Pass it for a task with no worktree whose push Kangentic did not capture - such a task otherwise has nothing to search by, and the tool tells the two cases apart: “searched and found nothing” is a normal result, while “nothing to search by” is a refusal naming the remedies (pass branch, or set prUrl / prNumber with kangentic_update_task). Since v0.52.0 the reply leaves its merge readiness note off a merged or closed PR, which used to read “merged, merge unknown”.
kangentic_delete_task
Section titled “kangentic_delete_task”Delete Task - permanently remove a task, its attachments, and session records, cleaning up the associated worktree and branch, including any processes the session left running inside the worktree. This cannot be undone. An agent’s delete of another task answers to the guard below.
Running-work guard
Section titled “Running-work guard”An agent cannot end another task’s running work, since v0.52.0. Running work is any of these, read from the session registry and git at the call:
- A live agent: a running or queued session, or a spawn still in flight.
- Commits in the task’s worktree that are not on its base branch.
- Uncommitted files in its worktree.
- A worktree git cannot read, or commits nothing could count. The guard fails closed here, because a delete cannot be undone.
| Call | Refused for |
|---|---|
kangentic_delete_task |
All four |
kangentic_move_task to To Do |
All four |
kangentic_move_task to Done |
A live agent, uncommitted files, or a worktree git cannot read. Not commits: Done keeps the branch and the conversation, and moving the task back resumes it |
kangentic_run_automation on a Move to column row aimed at To Do or Done |
The same as the move |
The refusal names what would be lost, says nothing changed, and tells the agent to ask you. No parameter overrides it, because nothing on the MCP path can show that a person asked. Your own deletes and drags never reach this guard, and neither does a paired phone. An agent acting on its own task is allowed, in its main session or an isolated column’s. A caller with no task, such as a Command Terminal or an outside MCP client, is still an agent and is refused.
The guard stops a tool call and nothing more. An agent with a shell can still run git, the read happens once at the call, and a Move to column row at a turn end acts on the task whose own turn ended, as the column’s author configured it, so it is not guarded.
kangentic_remove_task_attachment
Section titled “kangentic_remove_task_attachment”Remove Attachment - remove a single attachment by its attachment ID, from either a board task or a backlog item (the ID alone determines which surface owns it). Find attachment IDs with kangentic_query_db. This cannot be undone.
Columns, the backlog, projects, and unified search.
kangentic_list_columns
Section titled “kangentic_list_columns”List Columns - see every board column in board order, with names, roles, and task counts. Since v0.41.0 the Done column is included: it reports its completed count rather than a live count, since a task moved there is archived off the board. Read the roles rather than assuming the last column is the finish line - on the default board the last non-Done column is Merge. A column you archived deliberately stays hidden; the carve-out is the Done role alone. A column that runs tasks on its own conversation is tagged [isolated session]; a main-session column is the norm and carries no tag. Since v0.56.0 a column with a description prints it on a Purpose: line below its count: what the column does and which work needs it, so a workflow task’s route can skip a column its work does not need. Since v0.62.0 a column in plan mode is tagged with its plan approval, [plan approval: Manual] (the default) or [plan approval: Automatic], so one read says which columns stop for a person. Automatic approves only where the task’s agent can approve plans, so the tag names the column’s setting, not what every task will do there. A column on any other permission mode carries no tag, because the value decides nothing there. It matters most on a board copied from another board’s kangentic.json, which leaves planApproval out when it is Manual.
kangentic_get_column_detail
Section titled “kangentic_get_column_detail”Column Detail - inspect a column’s settings: description, auto-spawn, permission mode, session track, plan approval, plan-exit target, and visual settings. Session, On enter (the session spawn strategy), Handoff context, Agents at once (no limit or the number, with data.maxAgents holding it or null), and Plan approval always print, even at their defaults, because a session track is never absent and hiding the default would leave a caller unable to tell a main-session column from a failed write; the overrides print only when set. Plan approval reads manual or automatic, followed by (applies only while permission mode is plan) on a column that is not in plan mode, and data.planApproval carries the value. It also returns taskOrder, the column’s tasks top to bottom with their zero-based ordinal position, which makes this a complete read-before-write call for kangentic_reorder_tasks. On the Done column, taskOrder is empty and a Completed count reports the size of the archive instead. Since v0.66.0, on every column but To Do and Done, Send first message always prints, as on or off and then the message, or default (...) with the default spelled out. data.firstMessageEnabled carries the switch and data.firstMessage the message the row sends, the default included, so it is never null there. The column’s automations print in their three groups (On task enter, On agent turn end, On task exit), each row with its Text match, or else its Evaluation, and its Frequency limit when it has one. A row’s Task lines, and the Evaluation beside a Text match, do not print there. For the full rows, read kangentic_list_automations.
kangentic_update_column
Section titled “kangentic_update_column”Update Column - rename, recolor, and configure a column: its description, auto-spawn, the message delivered on entry, agent/model/effort overrides, permission mode, handoff context, session track, agent limit, plan approval, and the plan-exit target column. The role columns (To Do, Done) are editable like any other; their role itself is structural and not a settable field. Write a description as what the column does and which work needs it, in a sentence or two (up to 1,000 characters): since v0.56.0 a workflow’s planning agent reads it as the column’s purpose when it chooses each task’s route, and kangentic_list_columns prints it.
The message parameter is autoCommand, kept for the common case. It accepts plain prose as readily as a slash command, and it writes the column’s first Send message to agent automation in its On task enter group, creating one if the column has none; null deletes it. autoCommandMode (immediate or deferred) sets that row’s delivery. A row with a Condition or a Frequency limit is delivered only when both pass. For anything past one message (a second row, a script, a webhook, a notification, a Move to column row, or a row on another trigger) use kangentic_set_automations.
sessionTarget (main or isolated) picks which session a task runs on in the column, and sessionSpawnStrategy (create_or_resume or always_spawn_new) what the column does with it on entry. Neither is nullable; pass the default to go back. Changing sessionTarget carries sessionSpawnStrategy with it unless you pass one explicitly: switching to isolated also switches to always_spawn_new, and switching back to main returns it to create_or_resume, so an isolated column runs an independent pass per entry by default. A strategy you set deliberately is never overwritten. For a persistent isolated track that resumes across entries, pass sessionTarget: "isolated" and sessionSpawnStrategy: "create_or_resume" together. This is the same rule the Column Manager applies.
maxAgents, new in v0.52.0, is how many agents run in the column at once. Other tasks wait and start in the order they entered it. 1 runs one at a time, null removes the limit, and a value below 1 is refused.
firstMessageEnabled and firstMessage, new in v0.66.0, set the column’s built-in Send first message row, which is not one of its automations and which autoCommand never touches. It is what a task’s first agent in the column opens on: a task created or promoted into the column, or moved in from To Do. firstMessageEnabled: false turns it off, and then the column’s own first On task enter message opens the agent, a slash command included. firstMessage rewords it, with template variables, up to 4,000 characters, as in "/opsx-apply {{title}}". null, a blank message, or the default spelled out restores the default, {{task_xml}}{{workflow_xml}}{{attachments}}. Both are refused on To Do and Done. See The first prompt.
planApproval (automatic or manual, the default) is who approves a plan when the agent in this column finishes planning, and it matters only while permissionMode is plan. manual waits for you in the agent’s terminal. automatic has Kangentic approve it, so the task moves on to planExitTargetColumn by itself; a question the agent asks still waits. A workflow task can override it for itself (its own planApproval, see kangentic_update_task), and since v0.48.0 a task with its automations paused always waits for you. Under automatic, a Claude Code session also has a planning prompt answered for another MCP server’s tool that its allow rules name, never for Kangentic’s own. It is not nullable, so pass "manual" to go back. It is stored for any agent, and an agent Kangentic cannot approve plans for still leaves its plans to you. See Plan approval.
The reply says when kangentic.json was not written. Since v0.59.0, kangentic_create_column, kangentic_update_column, kangentic_delete_column, and kangentic_set_automations succeed once the change is on the board. When the file was not rewritten, because a newer version of Kangentic saved it, it holds automations this build cannot read, or it could not be read at all, the reply ends with “The change is on the board but was not saved to kangentic.json:” and the reason. See File format version.
kangentic_create_column
Section titled “kangentic_create_column”Create Column - add a new column to the board, with optional color, icon, and the same settings kangentic_update_column takes: autoCommand (which creates the column’s first Send message to agent automation), autoCommandMode, sessionTarget, sessionSpawnStrategy, maxAgents, planApproval, firstMessageEnabled (on by default) and firstMessage (omit or null for the default), the overrides, and a position. With no position the column lands just before Done, where a new stage almost always belongs; a position is a zero-based slot clamped between the role columns, so nothing can land before To Do or after Done. A column that checks an earlier column’s work wants sessionTarget: "isolated", since on the default main track the reviewer shares the task’s conversation and is the same agent that wrote the code. A working review column is one call: a name, autoCommand: "/code-review", and sessionTarget: "isolated".
kangentic_delete_column
Section titled “kangentic_delete_column”Delete Column - remove a column. Refuses non-empty columns and the role columns (To Do and Done). Naming Done still gets you the role refusal rather than a confusing “not found”, even though Done is stored archived. Deletion transactionally cleans up the column’s automations, other columns’ plan-exit targets, and Board profile references.
kangentic_list_automations
Section titled “kangentic_list_automations”List Automations - read a column’s automations, or the whole board’s by omitting column. This is the right first call for “what does this board do”: a board-wide read answers it once instead of one call per column. Rows print in three groups, On task enter, On agent turn end, and On task exit. Each row reports its id, name, type, on (enter, turn_end, or exit), position, enabled, condition, filter, maxRuns, and the type’s own fields; the guards are null when the row has none. Since v0.58.0 condition is the shape kangentic_set_automations takes: { "agent": ... }, { "text": ... }, the long form with "from": "user", or since v0.61.0 both kinds in one object. filter, new in v0.61.0, names priority levels by name, as the set call takes them. The finalLine field is gone from the read.
The text gives each row one line: its name, its type, the sentence the Column Manager shows, then every option the panel marks, in words, in parentheses. A Move to column row with a message, a Condition, and a Frequency limit reads Moves the task to Executing (with a message; only if the review found work the implementer can do; at most 3 times until you move the task), and a Text match reads only if the last line reads "Verdict: Ready", or only if your message reads "*signed off*" on the user’s message. Task lines read for priority "High" or "Urgent" and for label "openspec".
A row that cannot run as things stand is flagged with the reason: its switch is off, it is a send_message on a column whose auto-spawn is off, or it is an On task enter row on To Do or Done of a type other than notify and webhook, the two that run there since v0.61.0 (“No agent runs in Done.” for send_message, “A task in Done has no worktree to run in.” for run_script). An On agent turn end row is also flagged on To Do or Done, on a column whose auto-spawn is off, and on a column whose agent cannot report when it finishes a turn (“This column’s agent can’t report when it finishes a turn.”).
kangentic_set_automations
Section titled “kangentic_set_automations”Set Automations - replace one column’s automations wholesale. The automations array (max 50) becomes that column’s entire list, in order, so read the current rows with kangentic_list_automations first and send them back with your change applied; pass [] to remove them all. Each entry takes name (required, unique within the column ignoring case), type (send_message, run_script, webhook, notify, or move_to_column), an optional on (enter by default, or turn_end or exit), an optional enabled (true by default), an optional id, the optional guards below, and the type’s own fields flat on the object. Carry each existing row’s id through so it keeps its identity; a row with no id is created fresh. Two of the flat fields differ from their kangentic.json shape: a webhook’s headers is one string here, one header per line as Name: Value, not an object, and a notify row takes only title (its body keeps the default, {{toColumn}}).
A move_to_column row runs only on turn_end. It takes targetColumn (omit it for the next column, which for a workflow task is the next one on its route) and an optional message for the agent where the task lands. A row that moves the task ends the group, so the rows below it do not run. On turn_end, every text field also takes {{agentReply}}, the agent’s final message of the turn, which is how a review’s findings ride the move back to the column that fixes them.
Every type takes the same guards, all off by default. A Condition’s lines are split between filter and condition, and every line must hold:
-
filter: the Condition’s Task lines, new in v0.61.0, checked in code before anything else.{ "priorities": ["High", "Urgent"], "labels": ["openspec"] }:prioritiesare the project’s own priority level names, in any case, andlabelsare task labels. Each list matches any of its values, either can be left out, and with both a task has to match both. A task that does not match leaves no run behind. A level name the project does not have, or any other shape, is refused, naming the levels. -
condition: the Condition’s text lines, a Text match, an Evaluation, or since v0.61.0 both in one object ({ "text": ..., "agent": ... }), the Text match checked first so a miss costs no agent call. A no is not a run, so the next trigger checks it again.{ "agent": "the review found work the implementer can do" }: an Evaluation, a sentence of up to 2,000 characters that the Automation agent (Settings > Workflows) answers yes or no before the row runs. Until an Automation agent is set up, a row with one is skipped.{ "text": "Verdict: Ready" }or{ "text": ["Ready for *", "!Ready for review"] }: a Text match, checked in code with no agent call and no cost, against the last line of the agent’s final message. Case, punctuation (markdown marks included), and extra spaces are ignored.*is a wildcard and a pattern has to cover the whole line, soVerdict: Readyis exact andPR: *starts with. A leading!means not: the row runs when the line matches any plain pattern and no!pattern. Up to 20 patterns of 500 characters each,turn_endrows only.{ "text": { "from": "user", "patterns": ["*signed off*"] } }: the same Text match against the user’s messages in the turn instead of the agent’s line. Each message is judged on its own, and since v0.61.0 the newest one that matches any pattern decides; before, only the last message was read. Messages Kangentic typed never count. A forward row of this kind makes the column a person’s gate, since the agent never moves the card out of it. See Prompt.
A plain string is still read as
{ "agent": ... }, and the legacyfinalLinekey as a Text match of one pattern, from before v0.58.0. -
maxRuns: Frequency, the most times the row may run on one task across every visit to the column. The count starts over when a person moves the task to another column (a drag on the board, a move from the phone) and when the task leaves Done. Since v0.60.0 akangentic_move_taskcall made in a turn the person started by typing into the calling session counts as the person’s move too. Since v0.61.0 so does every call from a Command Terminal, and every call from a client outside Kangentic whose MCP URL names no session. A call in a turn the board started, or a move an automation or a workflow makes in either direction, keeps the count, so an agent cannot reset a review loop’s limit by moving its own task after the column’s message.
Before v0.61.0 a row held one kind of Condition and { "text": ..., "agent": ... } was refused. A condition that holds a Text match beside a finalLine is still refused (“give a condition or a finalLine, not both”). See Automations for how the guards and the turn-end group run.
Whole-column rather than per-row because a reorder, a delete, and an insert arrive together, and applying them separately would make the unique-name rule reject an intermediate state the final state does not have. A row the column cannot run as things stand is stored and warned about, not refused: building a list before switching the column’s agent on is a legitimate order of operations. What cannot be what the caller meant is refused, with the reason, and every such refusal ends “Nothing was saved.”: an unknown on (a misspelled turn_end used to become an enter row), a type on a trigger it does not run on (move_to_column on enter or exit), a maxRuns that is not a whole number of at least 1, a condition of any other shape (“condition must hold “text”, “agent”, or both, and no other key.“), a filter naming a level the project lacks, a Text match on an enter or exit row, more than 20 patterns or one longer than 500 characters, and a pattern with no letter, number, or *, which no line can match. send_command is accepted as an alias for send_message (and command for message) for skills written before the rename.
kangentic_get_automation_runs
Section titled “kangentic_get_automation_runs”Automation Runs - read the run log, newest first, by task (everything that ran for one card) or by column (every run of the automations that column holds now), with a limit of 1 to 50. Each run carries its status (running, succeeded, failed, skipped, or interrupted), a one-line detail (the failure reason, the skip reason, or a success such as HTTP 204 or exit 0), the attempt count, and its timestamps. The log keeps the automation’s name and type on the row, so renaming or deleting one does not empty its history. A row left running was in flight when Kangentic quit and is marked interrupted the next time the project opens. The log also holds rows the app writes for itself, listed with their type and no Condition line, all skipped and never counted by a Frequency limit: a workflow’s step, recovery, stall, and wait rows, and since v0.55.0 column_stopped, with why the board stopped a card, and column_stop_cleared when a later turn took that back. A stopped card has no tooltip on the board, so this is where an agent reads the reason.
A run whose row has a Condition also says whether the Automation agent found it met, with the agent’s one-line reason, and a Text match run says [text match met: ...] or [text match not met: ...] with the line it read. On the user’s message the reason is only whether it matched (Your message matched., Your message matched a ! pattern., Your message matched no pattern.), never what the message said. Since v0.61.0 a turn with several messages names the one that decided by its place: Your message 1 of 2 in this turn matched. or None of your 2 messages in this turn matched a pattern. A run that a check answered gets one more line naming that call: the agent and model, the effort, the four token counts and cost as the CLI reported them, how long it took, and how many rows the one call answered. An agent that reports no usage says so instead of showing zeros. A Text match run has no such line, since no agent was asked.
checked by Claude Code (claude-haiku-5-5, low): 2,104 fresh input + 45 output, 120 cache write, 1,012 cache read, $0.0026, 1.9s, one call for 2 rowskangentic_run_automation
Section titled “kangentic_run_automation”Run Automation - run one automation now, named by column and automation, against the named task’s current state. Use it to retry a failed automation or to test one you just wrote. Current state, not the state of the move that first ran it: {{toColumn}} resolves against where the task is now, while {{fromColumn}} and {{trigger}} resolve empty because there is no move. It writes a fresh run row either way. An On agent turn end row whose Text match, Condition, or {{agentReply}} reads the final message is judged against the newest one the task’s session wrote; a message from a session a move has since replaced counts as none. It will not start an agent: a send_message against a task with no live session is recorded as skipped rather than spawning one. Since v0.60.0 an On task exit send_message row is refused outright, because it was for the agent the task left that column with, and the task’s session now belongs to the column it moved to. An exit script, webhook, or notify row runs as usual. A move_to_column row moves the task the way a turn end would, so an agent can recover a turn end whose rows never ran, but only from that row’s own column: once the task has left it, the call is refused with The task is no longer in <column>, so this row cannot move it. Drag the card instead. A move row aimed at To Do or Done, run on another task, answers to the running-work guard. Every other row takes the task lock and is capped at five minutes, so a hung row cannot wedge that task’s next move. A move row runs outside the lock, because the move takes it itself.
kangentic_list_board_profiles
Section titled “kangentic_list_board_profiles”List Board Profiles - read the board’s named per-column strategy ladders: id, name, description, and the per-column settings each one overrides. Returns JSON, because the primary uses are diffing two boards and copying a profile between them, and both need the exact structure back out. Entries for columns that no longer exist are omitted, so the listing reflects what will actually apply. Profile entries are keyed by column name, which is what makes copying a profile between projects work. See Board profiles.
Profiles live only in kangentic.json, so the create, update, and delete tools below return an error and save nothing when that file cannot be read or, since v0.59.0, was saved by a newer version of Kangentic. The error says which.
kangentic_create_board_profile
Section titled “kangentic_create_board_profile”Create Board Profile - add a named preset of per-column agent, model, effort, permission, auto-spawn, handoff, session-track, and plan-exit settings. Names must be unique on the board. The columns object is sparse and keyed by column name, so list only the columns this profile changes. A column’s message to its agent is not a profile field: automations are shared by every profile, and the retired autoCommand and autoCommandMode keys are refused with a pointer to kangentic_set_automations rather than accepted and ignored. kangentic_create_task and kangentic_update_task accept a profile parameter so an agent can file tasks that ride a specific ladder.
kangentic_update_board_profile
Section titled “kangentic_update_board_profile”Update Board Profile - rename a profile, change its description, or retune its per-column settings. columns merges by default, so retuning one column does not wipe the rest, which is what makes a sweep like “change every profile’s Opus 4.8 to Opus 5” safe to run column by column. Pass replaceColumns: true for a wholesale swap, the usual choice when copying a profile from another board. On the active project this reaches live sessions exactly as saving the profile in the Column Manager does.
kangentic_delete_board_profile
Section titled “kangentic_delete_board_profile”Delete Board Profile - remove a profile. Tasks riding it are not rewritten; they fall back to each column’s own settings, and the response reports how many were affected. That fallback is itself a settings change for a running session, so on the active project it propagates like any other profile edit.
kangentic_board_summary
Section titled “kangentic_board_summary”Board Summary - a high-level overview: task counts per column (the Done column included, reporting its completed count), the board’s label vocabulary with each label’s use count and color, the label palette, the project’s priority scale, active sessions, completed tasks, and aggregate cost and token metrics. The palette and the scale are new in v0.56.0, so an agent can color a label and set a priority the way the board already reads them.
The label vocabulary answers “what labels does this board already use”, which a paginated, count-free task listing cannot. It reports the labels in use with their counts, most-used first, tallied across active tasks, archived (Done) tasks, and backlog items - archived included because on a mature board most of the vocabulary lives in Done. The header carries two figures that measure different things: N distinct is the size of the vocabulary, while M labelled items counts items carrying at least one label, so the per-label counts (which are label uses) sum to more than M. The printed list is capped at 30 with an “and N more” tail, while the structured data.labels carries the whole tally uncapped. Label colors are deliberately not reported: passing an existing label back as a plain string preserves the color it already has.
kangentic_get_usage_stats
Section titled “kangentic_get_usage_stats”Usage Stats - tokens, cost, burn rate, active time, and by-model / by-agent / by-effort / by-subagent-type usage for a project or all projects over a time range. The MCP counterpart of the Usage Stats.
Tokens come back as four disjoint types (fresh input, output, cache write, cache read) with no combined total, and earliestTurnMs says where that coverage begins, which on an older install is later than the cost ledger’s own start. activeMs travels with activeSessionsCovered because the interval ledger behind it reaches fewer sessions than sessionCount does. Since v0.68.0 waitingMs, the time agents waited on you, comes from the same ledger and covers the same sessions, and the text gives both as a total and a per-session average. Cost is API-equivalent list price and is stored per leg, so a conversation resumed twenty times is counted once. See What the numbers count.
The subagent breakdown (bySubagentType and the subagent* totals) covers the Task-tool subagents a session fans out: the finders a /code-review spawns, the agents a /test runs. It is additive to the turn token fields and to both time series, which stay main-thread so the historical series remains comparable, and it carries no cost of its own since totalCostUsd already covers the whole session tree. subagentNestedCount names how many of those subagents another subagent spawned; it is a subset of the count, never an addend. byAgent is a different axis: the CLI that ran the session, not a subagent inside one. A Not counted: line names agents in the range that cannot report subagent usage at all, so a Codex range says so rather than reporting an empty breakdown that reads as “nothing fanned out”. Claude Code, Gemini CLI, Qwen Code, Kimi Code, and OpenCode can. For one task’s fan-out, use kangentic_get_task_stats with a taskId.
Since v0.46.0 a Background (not in the totals above) line reports the calls Kangentic made on your behalf in the range: Condition checks, workflow step checks, task summaries, task titles, Command Terminal names, and since v0.63.0 commit and pull request drafts. It gives the call count, cost, the four token types, and the calls per job, the same numbers as the dashboard’s Background card. None of it is added to a session figure. data.background carries the totals and the per-job figures; its per-day rows are a series, so they come back only with includeSeries.
Every read runs in the background search worker. Since v0.48.0, while that worker is restarting, the tool returns an error (“Usage stats were not read. The Knowledge Graph index is restarting. Try again in a moment.”) rather than totals that leave out the projects it never reached. A project whose own database cannot be read is skipped and kept out of every total, and an all-projects call counts it as (N skipped, unreadable DB).
kangentic_list_backlog
Section titled “kangentic_list_backlog”List Backlog - see items staged in the backlog, optionally filtered by priority or keyword.
kangentic_promote_backlog
Section titled “kangentic_promote_backlog”Promote Backlog - move backlog items onto the board as tasks (defaults to the To Do column; the Done column is refused, as on kangentic_create_task). Attachments are copied to the new tasks.
kangentic_update_backlog_item
Section titled “kangentic_update_backlog_item”Update Backlog Item - edit a backlog item’s title, description, priority, labels, or attachments. Labels are replaced wholesale, not merged; attachments passed here are added to the item, keeping existing ones (remove one with kangentic_remove_task_attachment).
kangentic_delete_backlog_item
Section titled “kangentic_delete_backlog_item”Delete Backlog Item - permanently remove a backlog item and all of its attachments. This cannot be undone.
kangentic_list_projects
Section titled “kangentic_list_projects”List Projects - every Kangentic project registered on this machine, with name, id, path, and an active flag. Use a returned name or id as the project argument on any other tool.
kangentic_search
Section titled “kangentic_search”Search - unified search across board tasks, backlog items, session events, project names, your agents’ past conversations, and the commits on the default branch in one call. This is the same backend as Quick Find. Scopes to the active project by default; pass scope: "all" to widen across every registered project.
Since v0.44.0 conversations are matched by meaning and keyword by default (mode: "hybrid", fusing keyword and local semantic search), and mode: "keyword" matches literal words only; mode only affects the conversation results. On an Intel Mac, where the local model cannot run, hybrid answers by keyword. Pass taskId to restrict conversation and commit hits to a single task’s history. Each conversation hit carries a sessionId and turnUuid - follow up with kangentic_get_transcript (aroundUuid) to read the surrounding turns. Conversation results require Conversation memory indexing to be on (the default), and rank semantically only when the Knowledge Graph switch in Settings > Knowledge Graph is on; otherwise the response says conversations were matched by keyword only. This tool subsumes the former kangentic_recall.
A ## Commits section lists the default branch’s commits the query matches, by keyword on the subject and body, and for a query of 7 to 40 hex digits by sha prefix as well. Each row names the task the commit is linked to (from #529 ...) or says none is. The link is where the subject was first written, not a merge record. Commits need the index on.
Two parameters rank tasks instead of listing hits. Both work on one project at a time, so neither takes scope: "all":
groupBy: "task"rolls every matching conversation passage, task record (title, labels, description, summary), and commit up per task, and returns the tasks strongest first with their facts on one line (cost, duration, tokens, conversations, files, lines, outcome, pull request). The strongest twelve also carry the task’s summary, its best passage, and asessionIdandturnUuidto open. It answers “which tasks touched X?” and “how many times did we change Y?”, which a capped list of snippets cannot count. It is the same rollup the Knowledge Graph’s Ask runs before its agent starts.relatedToTask("#N","N", or the task id) ranks the tasks most like one task, up to twelve rows in the same shape: “has anything like this been done before?”. It is the opposite oftaskId, which searches inside one task.queryis optional with it and focuses the ranking. The rows are candidates, and many share only an area with the task, so since v0.56.0 the tool’s description tells the agent to judge each by its passage and summary before relying on it. The same ranking used to drive a line in the task window, which v0.56.0 removed as unreliable (Knowledge Graph).
A query of # followed by digits (#42) is a ticket lookup: it matches tasks by their #N number and returns only task hits, skipping backlog, projects, events, conversations, and commits. The match is a prefix (#4 finds 4, 40, 41), with the exact number first and active tasks ahead of archived ones. kangentic_search_tasks accepts the same syntax on the board scope. A bare number with no # stays an ordinary text search.
Workflows
Section titled “Workflows”A workflow is a set of linked tasks that run through their boards on their own. Each task has a route, the columns it visits, and starts when every task it waits for has reached Done. These tools plan a workflow, start it, and change it while it runs. Every handler checks what it is given and refuses with what to fix, writing nothing.
A workflow lives in the project it was made in, so project reaches another project’s workflows. Its tasks can sit on any registered project’s board. A planned task names its board, and the tools that take a task also take taskProject (or blockerProject and blockedProject) for a task that is not on the workflow’s own board, since task numbers count per board.
The workflow’s own agent, the one that plans it in the Workflows view, connects to a narrower server. It gets the read-only tools and the seven planning tools: save, add task, link, unlink, set route, remove from workflow, and request project access. Its planning tools drop workflow and project and act on its own workflow. Start, pause, resume, delete, the browser tools, and every tool that creates, moves, or deletes board work are not registered for it, whatever its CLI would otherwise allow. Start is how a person approves the plan.
kangentic_list_workflows
Section titled “kangentic_list_workflows”List Workflows - this project’s workflows, one line each, with the state (not started, running, or paused), progress, and revision. A workflow whose tasks are all in Done is left out unless includeFinished is set.
kangentic_get_workflow
Section titled “kangentic_get_workflow”Get Workflow - one workflow: its state, its revision, and each task with its column, its route, and what it waits for. A task or a blocker on another project’s board says which board. Before Start, each planned task also lists any setting that is not the default (project, base branch, worktree, profile, or agent override) in kangentic_save_workflow’s own names, so a plan read and sent back keeps them. A planned task that takes in a board task names it and the column it is in, as in In Code Review (#921, taken in at Start), and lists existingTask "<id>" among its settings, so a plan sent back takes in the same task. One whose task is gone, or whose board cannot be read, reads In an unknown column (taken in at Start). Plan approval is set per task since v0.51.0, so a summary line follows the header and brief (Plan approval: set per task. 1 task Manual, 2 Automatic; each task's line says why.), and each task’s line ends with its own sentence, such as Plan approval: Automatic, from contoso-web's Planning column. or Plan approval: Manual, set for this task (its Planning column is Automatic). Since v0.62.0 a task left to follow its route that a plan column holds to Manual says so too: Plan approval: Manual, from contoso-web's Planning column. A task that has passed its plan column says it can no longer change. Before Start, a planned task’s own value is also one of its listed settings (planApproval "manual"). The workflow’s own agent can leave workflow out to read its own.
kangentic_save_workflow
Section titled “kangentic_save_workflow”Save Workflow - create a workflow, or replace the plan of one that has not started: its title, every planned task, and the links between them. Omit workflow to create one, with a title and optionally the brief it was made from. Nothing reaches a board until it starts.
A save replaces the whole plan, the way kangentic_set_automations replaces a column’s rows. Read the plan with kangentic_get_workflow first and send back the revision you read. A save over a newer revision is refused, so a person’s edits in the Workflows view win.
tasks holds at most 100 planned tasks. Each takes a key unique in the plan, a title, and a description, which is the brief its agent reads. It can also take:
projectto put it on another registered project’s board, orexistingTaskto take in a task already on that board instead of creating one, by number or id. Since v0.64.0 that task can be in To Do or already started, but not in Done, archived, or in another workflow. It joins where it is, so a plan can wait on work already in flight by linking to its key. A started one can only be a link’sblocker, since only a task in To Do waits, and its route must include the column it is in.routeStart,routeLast, andskip, column names that shape its route; left out, the route is every column between To Do and DonelabelsandpriorityplanApproval, the task’s own Plan approval:"automatic"has Kangentic approve its plan, so it moves on by itself (a question the agent asks still waits), and"manual"leaves it to you. Omitted ornull, the task follows the plan columns on its route. A taken-inexistingTaskcan carry it too, and Start copies it onto the task.- the run settings a task on the board has:
baseBranch,useWorktree,runMode,profile,agentOverride,modelOverride,effortOverride, andpermissionMode, with the meanings and the checks they have onkangentic_create_task. Start copies them onto the task it creates.
links pairs keys as { blocker, blocked }: the blocked task waits for the blocker to reach Done. The whole plan is checked before anything is written, and a refused save of a new workflow leaves no empty one behind. A refusal names the problem: a duplicate key, a column a route cannot use, a link to an unknown key, or a link that closes a loop. Once the workflow has started its plan is its tasks, and a save is refused with the four tools that change a started workflow.
A workflow-level planApproval is gone since v0.51.0. A value there is refused with “planApproval is set per task now. Put planApproval on each task entry.”, and null is accepted and ignored, because an older kangentic_get_workflow told agents to send it back. After Start, the Workflows inspector, task detail’s workflow panel, and kangentic_update_task change a task’s value.
The reply reads “Saved: 9 tasks, 13 links.” Since v0.62.0, when a task’s route has a plan column, it goes on to count the plan approvals and name, by key, each task whose plan will wait for you: Plan approval: set per task. 1 task Manual, 4 Automatic. Waits for you after its plan: [desktop] (Planning). kangentic_get_workflow says why. A task counted Automatic is named too when a plan column on its route runs an agent Kangentic cannot approve plans for, with that agent in place of the column, as in [bridge] (Codex CLI's plans). When no plan waits, the clause is the counts alone. The agent that saves is usually the one that tells you about the plan before you start it, so the reply gives it the answer without another read.
kangentic_start_workflow
Section titled “kangentic_start_workflow”Start Workflow - start a planned workflow. Its tasks appear in To Do on their boards, and each starts on its own once every task it waits for is in Done, as agent slots allow. The task the workflow was made from moves to Done, if it is still in To Do and the plan did not take it in. Start checks the plan again first. A board removed since the save refuses the start, and so does a taken-in task that is gone, has reached Done or the archive, or has joined another workflow. A taken-in task that has moved on since the save refuses it too when its route no longer includes the column it is in, or when it has left To Do and a link makes it wait. Each refusal names the task to save again. The tool’s description tells an agent to start a workflow only when you ask.
The reply gives the task and link counts. Since v0.62.0, when a task’s route has a plan column, it ends with the same plan approval clause as a save, naming each task whose plan will wait for you by its number, and by its board when it is on another one: Plan approval: set per task. 1 task Manual, 4 Automatic. Wait for you after their plans: #12 (Planning) and "spring-petclinic" #3 (Planning). kangentic_get_workflow says why. Start is when a Manual plan column turns into a card that stops in its terminal, so this is the reply that has to say so. A workflow with no plan column on any route gets no clause.
kangentic_pause_workflow
Section titled “kangentic_pause_workflow”Pause Workflow - pause every agent in a running workflow at once. The workflow then starts, judges, and moves nothing until it resumes. A person may still work a card meanwhile: resume its agent by hand or drag it to any column but To Do, and an agent resumed that way may move its own card. A paused agent stays paused through a move, so the destination’s On task enter rows that need no agent run, and the ones that need the agent are skipped with “The agent is paused. This row runs if the agent is resumed in this column.” The reply counts the agents paused and names each task whose agent could not be paused.
When a member’s own agent makes the call, its own session pauses only after that turn ends, and the reply says “Your own session pauses when this turn ends.” Every other member pauses at once. The call and its reply stay in the agent’s conversation, so a later resume does not pause the workflow again.
kangentic_resume_workflow
Section titled “kangentic_resume_workflow”Resume Workflow - resume a paused workflow. Each paused agent resumes in the column its task is in now. When the task entered that column after its agent was paused, the resume does what that entry would have done: a column that always starts new opens a fresh conversation, one that resumes brings the conversation back with the column’s settings, and then the column’s On task enter rows that need the agent run. A task that has not changed column continues the same conversation with no column message. A task in an agent column with no agent gets one, with the column’s message, unless its automations are paused. An agent already running is left alone, and its last reply is judged. Waiting tasks start as their blockers reach Done. The reply counts the agents resumed, started, and already running, and names any that failed. Resume also retries a task start that keeps failing.
kangentic_add_workflow_task
Section titled “kangentic_add_workflow_task”Add Workflow Task - add a task to a started workflow. It lands in To Do and starts once nothing it waits for is left and an agent slot is free. It takes a title, a description, taskProject for another board, routeStart, routeLast, skip, and waitsFor: the tasks it waits for, each a number on the workflow’s own board, the id of a task on any board, or { task, project } for a number on another project’s board. Since v0.64.0 a task in that list that is not in the workflow joins it where it is, in To Do or already started. One in Done, archived, or in another workflow is refused, and nothing is written. A task of the workflow already in Done is left out, since waiting for it changes nothing. It also takes the run settings a planned task takes, checked the same way, and its own planApproval, which follows the plan columns on its route when omitted or null. The added task starts on its own, so since v0.62.0, when its route has a plan column, the reply ends with the task’s plan approval sentence, the one kangentic_get_workflow prints for it (Plan approval: Manual, from contoso-web's Planning column.).
kangentic_link_workflow_tasks
Section titled “kangentic_link_workflow_tasks”Link Workflow Tasks - make one task in a started workflow wait for another to reach Done. Only a task still in To Do can wait, and only for one not yet done. A task cannot wait for itself, and a link that would close a loop is refused.
Since v0.64.0 either end can be a task outside the workflow, on any board, and the link takes it in where it is. From then on it is a full workflow task: the workflow moves it and locks it while it does, judges its turn ends, pauses and resumes it, and counts it toward completion. Its paused automations resume, as on any task that joins a workflow. A task in Done, archived, or in another workflow is refused (#1208 is already in a workflow.), and every check runs before anything is written. The reply names what joined: Linked: 1210 now waits for 1208 to reach Done. #1208 joined "Release 0.63.1" where it is. A number alone names a task on the workflow’s own board; pass blockerProject or blockedProject for another board, or use the task’s id.
kangentic_unlink_workflow_tasks
Section titled “kangentic_unlink_workflow_tasks”Unlink Workflow Tasks - remove a link in a started workflow; it takes the same parameters as kangentic_link_workflow_tasks. A task in To Do whose last blocker this was starts as soon as an agent slot is free. Removing a link that is not there changes nothing, and the reply says so.
kangentic_set_task_route
Section titled “kangentic_set_task_route”Set Task Route - change which columns a task in a started workflow visits. A task in To Do can take any route. One that has started can only change the columns after the one it is in, and its route cannot end before that column. Pass only what changes: routeStart or routeLast (null resets it to the open end) and skip, the complete list of columns to skip, where an empty list skips none.
kangentic_remove_from_workflow
Section titled “kangentic_remove_from_workflow”Remove from Workflow - take a task out of its workflow. It stays where it is as an ordinary task, and its links are removed. A task in Done stays with its workflow. Removing it first is how a workflow task moves to To Do or to another project.
kangentic_request_project_access
Section titled “kangentic_request_project_access”Request Project Access - let a workflow’s own agent read another registered project’s code while it plans. The tool’s description tells the agent to call it instead of searching the disk. The grant is immediate, needs no approval, and is kept on the workflow, so every later start and resume of the agent reads that checkout too. The agent already reads every project its workflow’s tasks are on.
The reply says when the checkout becomes readable. An idle agent is restarted at once on the same conversation with the checkout added, a busy one when its turn ends, and an agent that is not running at its next start. Only an agent whose CLI can widen what it reads gets the restart, which today means Claude Code; any other agent keeps reading its own project, and the reply says so.
kangentic_delete_workflow
Section titled “kangentic_delete_workflow”Delete Workflow - delete a workflow. One not started loses its plan and nothing else changes. A started one’s unfinished tasks stay where they are as ordinary tasks, and its tasks in Done stay in Done. The workflow agent’s conversation goes with it. The tool’s description tells an agent to delete a workflow only when you ask.
deleteNeverStarted, new in v0.52.0 and off by default, also deletes the unfinished tasks that never started: a task still in To Do that never had a session, has no worktree, and was never in another column. Each goes through the board’s own task delete, checked again inside the task’s lock, so a task a drag started meanwhile stays. The reply names the tasks kept and deleted, and a task whose delete failed stays in To Do. data carries kept, deleted, and failed.
Sessions
Section titled “Sessions”Per-task session history, transcripts, and handoff.
kangentic_list_sessions
Section titled “kangentic_list_sessions”List Sessions - session records for a task with start and end times, exit codes, suspension reasons, cost, token counts, and runtime. Each record’s cost and runtime are its own share of its conversation’s running total, so the records add up to the task’s total in kangentic_get_task_stats.
A resume is a new record that reports its conversation’s running total, so since v0.46.0 each record’s cost and runtime are its own share, and the records add up to kangentic_get_task_stats. A record that reported no usage has no share. The structured data keeps each record’s running reading beside its share, as cumulativeCost and cumulativeDurationMs.
kangentic_get_session_history
Section titled “kangentic_get_session_history”Session History - read the agent’s native session history file (Claude JSONL, Codex rollout JSONL, or Gemini chat JSONL, .json on older builds) for a task’s most recent session. A history file over 200 KB is read from its most recent 200 KB only, and the result opens with a notice such as [Truncated - showing last 195KB of 840KB], so a conversation never just starts partway through with no explanation. The 16 MB parse bound belongs to kangentic_get_transcript, which reads the structured transcript instead.
kangentic_get_session_files
Section titled “kangentic_get_session_files”Session Files - absolute paths to every per-session file (activity log, status, settings, MCP queue, native history, and more), each with an exists flag.
kangentic_get_session_events
Section titled “kangentic_get_session_events”Session Events - parsed activity events from a session’s log (the PreToolUse / PostToolUse / Stop / Notification stream), filterable by tail count, timestamp, and event type.
kangentic_get_activity_intervals
Section titled “kangentic_get_activity_intervals”Activity Intervals - the durable history of active versus idle spans for a task or session, from Kangentic’s recorded activity-interval ledger. Shows how long a session spent working versus waiting over time, including the current idle-wait duration for a still-running session. Since v0.53.0 each span carries a reasonKind: an active span marked background-shell is time the agent’s turn was over and only a command it left running held the session. It is the same ledger behind the Usage Stats Avg Active tile, which is why that tile covers fewer sessions than the Sessions count beside it: per-interval recording shipped later than the usage ledger.
kangentic_reserve_dev_ports
Section titled “kangentic_reserve_dev_ports”Reserve Dev Ports - claim free TCP ports for a task before it starts a dev server, so two agents working at the same time never bind the same one. Since v0.52.0 taskId is optional and defaults to the caller’s own task, and it takes a display ID (42 or #42) or a UUID. A call from no task, or from a task outside the target project, is refused with a line saying to pass taskId.
Kangentic does not decide what a project’s ports should be. The project already does, in angular.json, a vite config, or a compose file, so nothing is reserved until an agent asks. What Kangentic can do that a project cannot is see every task and every project in the app at once. The case this exists for: several tasks sit in one column and run concurrently, and they all default to the same port.
Ask for every port you are about to bind in one call. A project needing an API and a frontend asks for count: 2, because asking twice leaves a window where a sibling task takes the second. Each returned port has been probed as genuinely free, not merely unclaimed. Getting back fewer ports than requested means the scan range ran out; fall back to the project’s own configured ports for the rest. count is capped at 10 per call.
A reservation lives until its task or its project is deleted, so a restart hands the same task the same ports. The scan range defaults to 7300-7499, picked to sit clear of every common framework default (3000, 4200, 4321, 5000, 5173, 8000, 8080). Change it with devServer.portRangeStart and devServer.portRangeEnd in the global config.json; there is no Settings UI for it. See the Configuration reference.
kangentic_check_dev_ports
Section titled “kangentic_check_dev_ports”Check Dev Ports - report what a task holds and what the machine actually says about those ports. Reserves nothing. taskId defaults to the caller’s own task, as it does for kangentic_reserve_dev_ports.
Every port reported is probed, because a reservation is a promise rather than a fact. Reading the ledger alone is silent about the case that bites most often: a dev server started outside Kangentic entirely, on a port the ledger never handed out. Pass ports to ask about specific numbers, such as the ones a project’s own config pins, which is the only way to learn that short of trying to bind and failing. At most 20 ports per call, since each one is probed.
Each port comes back as one of four answers: reserved by this task, reserved by another task, in use by something outside Kangentic, or free. Use it to recover ports granted earlier in a session (after a resume, or before restarting a server) instead of reserving again.
kangentic_switch_account
Section titled “kangentic_switch_account”Switch Account - since v0.60.0, restart the calling task’s own session on another of the user’s accounts for its agent, resuming the same conversation. account is the account’s email as Settings > Accounts lists it. An agent that needs another login, such as one whose plan or claude.ai connectors the work needs, calls this instead of suggesting /login, because a /login replaces the login of every session in the folder it runs in.
The task is always the caller’s own, never a parameter, so an agent can move only itself. The call answers at once and tells the agent to end its turn. When the turn ends, or two minutes later for an agent that keeps working, the session restarts on the account with a prompt that names it. The account list’s order is left alone, and a second call before the turn ends replaces the first.
A refusal lists the accounts that can run: no running session, an agent without accounts, an agent whose conversations stay on the account that started them, an account the list does not name, one that cannot run now (signed out or replaced), one with no subscription (since v0.68.0, naming Try again on its row as the way back), one at its usage limit (since v0.66.0, with the time it has usage again), or the login the session already runs as. The accounts it lists are the ones with usage left, so a full account is never offered. The phone’s board tools do not offer it.
kangentic_get_handoff_context
Section titled “kangentic_get_handoff_context”Handoff Context - the most recent cross-agent handoff record for a task: which agent handed off to which, when, and the path to the prior agent’s session history.
kangentic_get_transcript
Section titled “kangentic_get_transcript”Get Transcript - read what the agent on another task or project said, as clean structured markdown (default) or verbatim raw scrollback. Structured output supports view, tail, and search levers and a configurable character budget. Since v0.48.0 any single span in structured output (a message’s text, a thinking block, a tool result) longer than 20,000 characters is cut there with a [truncated N chars] marker, the same clamp the conversation viewer applies, so one huge tool output never fills the budget alone. Pass aroundUuid (a turnUuid from a kangentic_search conversation hit) with an optional context count to pull just the neighborhood of a cited turn instead of the whole transcript. Since v0.54.0 structured output covers Copilot, Goose, and Aider too, so only Warp and Ollama, and an Aider Command Terminal, are raw scrollback alone.
Pass workflow (an id or exact title) instead of taskId or sessionId to read a workflow’s own agent, the one that planned it. That conversation is structured only, since no raw scrollback is kept for it.
When an agent has deleted its own transcript file (Claude Code removes conversations older than its cleanupPeriodDays), a structured read falls back to the copy Kangentic archived, then to the text Conversation memory indexed, and the header names which: Source: Kangentic's saved copy, or Source: indexed text only with tool calls flattened. A session that started over from a recap is pointed here for its old conversation.
kangentic_send_session_message
Section titled “kangentic_send_session_message”Send Session Message - steer another task’s agent by sending it a message. Self-sends are refused, and a per-target sliding-window circuit breaker stops a runaway sender from flooding a session.
Identify the task with taskId; sessionId is optional. Given together, the session must be that task’s own, or the tool refuses and names the session’s task. Given alone, sessionId names its task.
Since v0.52.0 a task with no running agent (paused, exited, still queued, or never started) holds the message instead of refusing it. The reply reads “Held for task #412: no agent is running on it.” and says when it goes out. A task in Done holds nothing and the send is refused. A held message is at most 20,000 characters, each task takes at most 30 per rolling 5 minutes, and deliverWhen applies only to a running agent.
A deliverWhen: "now" send is also refused while the target has a tool call with no end in its hook events, whose permission prompt can be open. Every message goes in as automated keys, so the paste waits until the session can take keys, and now waits at most 30 seconds before it fails as held rather than hold the sender’s turn.
kangentic_get_session_messages_sent
Section titled “kangentic_get_session_messages_sent”Sent Session Messages - the durable audit log of cross-session messages: what was sent to whom, and whether each landed (delivered, queued, refused, or failed), plus since v0.52.0 what became of a held message: held is still waiting, delivered_from_hold reached the task’s next agent, and cleared went with a move to Done or To Do. Ask by taskId to see held messages; a sessionId lists only what reached that session.
kangentic_mark_background_service
Section titled “kangentic_mark_background_service”Mark Background Service - let a dev server or watcher the agent left running stop keeping its task busy. New in v0.48.0. A background command the agent starts holds its task as working, and holds the column’s On agent turn end automations, until it exits, because the agent may be waiting on a build or a test run. A marked command no longer counts. It keeps running, and Kangentic still tracks it until it exits. Putting --kangentic-no-activity-hold in the command when it starts does the same.
Pass shellIds, 1 to 10 ids as the background command returned them (the shell, task, or process id). Each comes back marked, already marked, or not seen yet, in which case the mark applies as soon as Kangentic sees the command start. The tool acts only on the calling session, named by its connection’s URL, so an agent can mark only its own commands. It is offered only to a session Kangentic started, a task’s or since v0.53.0 a Command Terminal’s, whose agent reports its background commands: Claude Code, Codex, GitHub Copilot, Gemini, Grok Build, and Qwen Code (see Background commands). Claude, Copilot, Gemini, and Qwen are also told about it beside each background launch; the others read it in the tool’s description.
Browser automation
Section titled “Browser automation”The kangentic_browser_* family drives the embedded Browser pane of a task (an Electron webview showing the user’s own dev server) via Chrome DevTools Protocol. Since v0.53.0 a Command Terminal has a pane too, and its agent drives it with the same tools. Target a surface with sessionId or taskId, or omit both to use your own task’s or terminal’s surface. A surface in another project is refused.
While the family is on it is the only browser an agent should drive, for any page and any purpose, and the server’s instructions say so to every agent. Claude Code and, since v0.54.0, Factory Droid sessions are held to it as well: a hook denies another browser server’s tools (Playwright, Puppeteer, Chrome DevTools, Browser MCP, Claude in Chrome) with a reason that names kangentic_browser_open_pane, until the master switch goes off. For a large capture, pass saveToFile to the screenshot, element screenshot, DOM query, or eval tool. See The only browser agents drive.
The whole family is gated by the Browser automation settings tab, named Agent Browser before v0.56.0. browserAutomation.enabled is the master switch; when it is off the tools are not registered at all. Three sub-gates then each switch a set of tools on or off, as the table below lists: allowInteraction covers every tool that acts on the page, so off means observe-only; allowNavigation covers every tool that loads or reloads a page; and allowEval covers eval, off by default. A fifth gate, restrictNavigationToLocalhost (off by default), confines navigation to localhost and private hosts when enabled.
Which tools lock the pane
Section titled “Which tools lock the pane”A tool that one of those three sub-gates covers locks the pane while it runs and for about 5 seconds after. A locked pane shows a veil and the “Agent is” label, the user’s clicks do not reach the page, the keys they type go to their terminal, and the page’s passkey requests go to a virtual authenticator. Every other tool leaves the pane to the user. The eight that read the page have done so since v0.68.0, and list panes and close pane never touch the page.
| Gated by | Tools | Locks the pane |
|---|---|---|
allowInteraction |
click, hover, type, keypress, scroll, drag, select option, drop files, handle dialog, set viewport | Yes |
allowNavigation |
open pane, navigate, history, pop out, dock | Yes |
allowEval |
eval | Yes |
| None | screenshot, element screenshot, query DOM, query all, bounding box, console, network, wait | No, since v0.68.0 |
| None | list panes, close pane | No |
Each entry below says which kind its tool is, as the last sentence of every tool’s description does. The server’s instructions tell an agent that asked the user to act in the pane to make only calls that leave it to them until the user says they are done. See When an agent asks you to sign in.
Surface handles and implicit targeting
Section titled “Surface handles and implicit targeting”Two rules decide which tab a browser tool acts on, and both are worth reading before you pass a sessionId. Both have held since v0.38.0.
sessionId is a surface handle, not an agent session id. It looks like pane_<8 hex> for a visible pane or lane_<8 hex> for an offscreen one, and you get it from kangentic_browser_open_pane or kangentic_browser_list_panes. A handle names exactly one tab for that tab’s whole life: re-registering the same tab keeps it (a /clear rotating the owning session does not change it), and a new tab always gets a new one, so a handle can never quietly retarget to a different page. Passing something that was never a handle - an agent session id, for instance - is refused as no-pane-open.
When the tab behind a handle is gone, the call fails with surface-gone rather than being redirected. The error says why the tab went, how long ago, that per-tab state (sessionStorage, in-memory app state) did not carry over while cookies and localStorage did, and which surface to use instead.
Omitting both targets your own task only. For a caller bound to a task, resolution ranks that task’s surfaces - the visible pane first, then the offscreen form of the same surface - and refuses with multiple-panes (carrying the candidates) when two share the top rank, or no-pane-open when the task has none. It never falls through to another task’s pane, however many are open in the project: that fall-through was observed navigating a sibling task’s signed-in app to an identity-provider URL. Since v0.53.0 a Command Terminal’s agent gets the same rule for its own terminal’s surface, and no longer takes the single pane open in the project. An explicit taskId, or a handle from list_panes, still reaches a task’s pane in the same project. Only a connection that names no session - a human-driven client, or the two-segment .kangentic/mcp-config.json URL - uses the project-wide rule of “a surface my own session owns, else the single pane open in the project”.
Every driving tool can therefore return surface-gone alongside the older shared refusals: no-pane-open, multiple-panes, foreign-project, pane-destroyed, pane-not-rendering, page-crashed, cdp-attach-failed, pane-busy, and driver-error.
page-crashed means the page’s renderer process is gone, so the page answers nothing. Since v0.65.0 it comes back at once, before anything attaches, and its detail names the surface and the reason: “it ran out of memory” or “it crashed”. Before, the call attached to the dead page and waited out its timeout. kangentic_browser_navigate is the way back, and kangentic_browser_open_pane with a url does the same. The user can also press Reload on the pane’s cover. The surface keeps its handle throughout.
Selector strictness
Section titled “Selector strictness”Since v0.59.0 the tools that act on one element named by a selector are strict by default, the way a Playwright locator is: click, type, keypress, hover, drag (both ends), scroll, select option, and drop files. When the selector matches more than one element a user could act on, the tool does nothing and refuses with ambiguous-selector. Each of them takes strict, true by default, and strict: false acts on the first match in document order, which is what all of them did before.
The case it exists for is a modal over a form, each with a Save button. text="Save" resolved to the form’s button, the click landed on the modal’s backdrop, and the modal closed with nothing saying the selector had matched twice.
Only matches a user could act on count: laid out with a box, not visibility: hidden, and not inside an inert subtree. A hidden duplicate, such as a collapsed mobile menu or a display: none template, does not make a selector ambiguous. For the text=, text*=, and aria= forms a match that contains another match is dropped for the inner one, so a dialog whose text includes “Save” is not a second match for its own Save button. CSS matches are not collapsed. When nothing actionable matches, the tool falls back to the first match, so strictness never turns a call that worked into selector-not-found.
The refusal carries total and up to five candidates. Each has its tag, text, id, role, ARIA label, name, whether it sits in a dialog, its viewport box, topmost (whether a click at its centre would reach it), and selector, a CSS path that is unique in the page at that moment. Retry with a candidate’s selector, or scope your selector to its container. A candidate whose path passes 2,000 characters, or that the page cannot describe, is left out, so the list can be short or empty. It is still a refusal, and scoping the selector is the way forward.
A trailing :has-text("...") is now scoped by the CSS before it: [role=dialog] button:has-text("Save") matches buttons inside a dialog whose text contains “Save”. Before v0.59.0 that CSS was dropped, so the selector matched a Save button anywhere on the page. The scope is part of the selector grammar, so it applies to every tool that takes a selector. The read-only tools (query DOM, query all, bounding box, wait, and element screenshot) are not strict, since reading the first match changes nothing.
kangentic_browser_list_panes
Section titled “kangentic_browser_list_panes”List Browser Panes - list the open embedded Browser surfaces in your project, with their handle (sessionId, the value to pass back), the agent session that owns them, taskId, kind (pane for the visible pane, lane for the offscreen form of that same one surface), current URL, and whether the surface is alive and debugger-attached. It does not lock the pane. Since v0.53.0 each surface also says whose it is: owner is task or command-terminal, and a terminal’s carries commandTerminalSlot and commandTerminalName, the name its header shows (both null for a task). A terminal’s taskId holds its surface’s own key, never a task id. Use it to discover a target for the other tools, or to confirm the user has a dev server loaded. Panes in other projects are excluded by default; pass includeOtherProjects to see them too, though they are listed for visibility only and cannot be driven. Returns an empty list when no pane is open.
Each surface also carries visibility: showing (the user can see it), hidden (the user put it away behind the terminal with the Browser pill), parked (its task window is closed), or offscreen. Every value is still driveable - the field says whether the user can watch what you are doing, not whether you may act. A pane the user closed with Close browser is not listed at all; its handle answers surface-gone.
kangentic_browser_open_pane
Section titled “kangentic_browser_open_pane”Open Browser Pane - open the Browser pane for your own task and load a URL, so you can then drive it with the other kangentic_browser_* tools. Use this instead of asking the user to click the Browser pill. Since v0.56.0 it never opens, raises, or focuses a window: with the task’s window closed, the pane runs out of sight, fully driveable, screenshots included, and pane.visibility says so. The user opening the task shows that same page. It returns the pane once it is registered and driveable, so the very next call can act on it. Before v0.56.0 it opened the task’s detail window, which could put a task over the one the user was working in. Called from a Command Terminal, it opens that terminal’s own pane instead, and since v0.56.0 leaves a hidden panel hidden. The terminal must still be running.
It says why, and the why decides what the user sees. Since v0.61.0 every call carries two required fields. purpose is for-user, a page the user should look at, or own-work, a page the agent uses itself, for measuring, capturing, or checking its own files. reason is one line of up to 80 characters, written to follow “Agent is”, such as measuring canvas board heights. A call without them, with another purpose, or with an empty or longer reason is refused before anything opens, naming each field. While the agent drives the page, the pane’s label reads “Agent is” and the reason, centred on the page’s bottom edge, and it goes when the drive ends. The next call replaces the reason, and close_pane, the user’s Close browser, or the session ending clears it.
A for-user call shows a pane the user hid with the Browser pill: the call takes the warm path and shows it again, same tab, nothing reloaded. An own-work call never changes what is on screen. A pane not yet open mounts behind the terminal, where the Browser pill’s dot lights and the user can open it to watch, a hidden pane stays hidden, and a showing pane stays showing. Before v0.61.0 every call showed the pane. A Command Terminal’s pane follows the same rule. A window the user closed stays closed either way, and its pane keeps running out of sight. Only close_pane discards. The visibility on a warm for-user response is a snapshot taken before that re-surface is applied, so call list_panes afterwards if you need the settled value.
url is optional: omit it to reuse the task’s saved Browser URL or the project default. If neither exists, pass one, because a pane with no URL registers nothing and cannot be driven. Calling it again with a different url navigates the existing pane rather than reopening it. This tool only ever targets your own task; there is no way to open a pane for another task or project. It is gated by allowNavigation, not by a separate gate. It locks the pane while it runs and for about 5 seconds after. There is no surface to choose because a task has exactly one browser surface: the isolated: true argument that opened a private lane was removed in v0.43.0, and One surface per task says why.
A backgrounded project gets the surface offscreen instead of a refusal. The board window layer renders only the open project’s tasks, so no pane can mount for a project that is not the one on screen. The response then carries offscreen: true and a laneId, the surface is fully driveable, and the task card still shows that a browser exists. Opening the Browser pill later reclaims it: the pane mounts at the offscreen surface’s current URL, that surface is destroyed, and the agent’s old handle answers surface-gone naming the replacement. The page reloads in the move, so sessionStorage is lost while cookies and localStorage survive, the same trade pop_out and dock make.
Refusals worth knowing beyond the shared ones: no-caller-task (the connection names no Kangentic session, such as a client you configured by hand; before v0.53.0 a Command Terminal got this too), command-terminal-not-running (the caller’s Command Terminal has ended), browser-pane-disabled, task-not-found, no-url (neither fallback is readable, which is always the case for a backgrounded project, so pass one), surface-opening (the task’s surface is loading its first page, so retry), surface-exists (a second surface for one task, which both callers prevent), lane-load-failed (the offscreen surface’s first URL did not load in time, so it was destroyed rather than left half-open), lane-swept (the open raced a teardown, worth one retry), app-not-ready, and url-seed-failed.
kangentic_browser_close_pane
Section titled “kangentic_browser_close_pane”Close Browser Pane - discard Browser panes, exactly as the user’s Close browser control does. It does not lock the pane. Discarding a pane makes it a mutating tool under Tool annotations, but it never drives the page, so there is nothing to lock. This is not what the Browser pill does: the pill only hides a pane, keeping the page loaded for you. The task’s detail window stays open. With no arguments it closes your own task’s pane, and since v0.50.0 your own detached Browser window from kangentic_browser_pop_out too, even when no pane is registered in it; pass all to close every pane in your project, which takes precedence over sessionId and taskId. A pane in a detached window is closed by closing that window. Panes in other projects are left alone and reported as a count unless you pass includeOtherProjects, which is off by default because another project may have an agent mid-verification in its pane. The response lists the panes actually closed, and the detached windows it closed as closedWindows, so a partial close is never reported as complete. A pane you close this way stands up no offscreen replacement.
kangentic_browser_navigate
Section titled “kangentic_browser_navigate”Navigate - point a task’s Browser pane at a URL. Gated by allowNavigation. It locks the pane while it runs and for about 5 seconds after. A page whose beforeunload handler asks to stay is answered with a dismissal by default, which keeps the page. Since v0.56.0 that load fails with navigation-refused-by-page, where it used to read as a bare load error while the agent’s next calls ran against the old page. To leave anyway, arm kangentic_browser_handle_dialog with accept: true and navigate again.
Since v0.65.0 a navigate on a page that has stopped (page-crashed) starts the page again first, then loads the URL. A restart that does not finish loading within the 20-second navigation bound answers page-crashed again.
Since v0.63.0 this tool and kangentic_browser_open_pane tell the agent that while it drives a surface, a page’s passkey requests go to an empty virtual authenticator: no OS passkey dialog opens, and a passkey sign-in fails at once with NotAllowedError or OperationError. The note names the second since v0.69.0. The agent should sign in another way or ask you to sign in in the pane. Since v0.68.0 only a tool that locks the pane takes the surface, so an agent that asked you to sign in and then waits or takes screenshots leaves your passkey requests with the operating system. A page’s passkey request as it loads never reaches the operating system on any surface, since v0.69.0. See Passkeys.
kangentic_browser_history
Section titled “kangentic_browser_history”History - go back or forward in the pane’s history, the way its own arrows do. Gated by allowNavigation. It locks the pane while it runs and for about 5 seconds after. It returns the URL read after the navigation commits rather than the one it started from, and refuses with no-history when there is nowhere to go, instead of quietly doing nothing.
kangentic_browser_screenshot
Section titled “kangentic_browser_screenshot”Screenshot - capture the Browser pane as an image. It does not lock the pane.
If the page is showing a dev-server build-error overlay, the call returns a dev-server-error describing the failure instead of a picture of the red rectangle. The check runs inside the same drive as the capture, so the two can never disagree about what was on screen.
A pane’s screenshot holds no more pixels than the pane has, which is its width times its height times the display’s scale. That limit is Chromium’s, not a setting. Asked for more, Chromium repeats the pane’s pixels to fill the difference. So every capture of a docked or popped-out pane is scaled down to fit instead. A 1600x1000 viewport in a 740x749 pane comes back 740x463 on a 100% display, and about 1480x926 at 200%. fullPage is scaled to fit the same way, so a long page comes back small. An offscreen surface is a real window that Chromium can grow, so it is not bounded. If a capture that asked for a size comes back larger than its pane anyway, the call fails and names the pane’s size rather than returning the tiled image. That covers an element, a full page, and any capture under a viewport override. Since v0.60.0 a plain viewport screenshot with no override asks Chromium for no size and cannot tile, so one that comes back larger than the pane’s recorded size is returned as it is: the recorded size can trail the pane. Since v0.67.0 a capture under a viewport override reads the pane’s size again as it is taken and plans to the smaller of the two, so a pane made smaller since its last report is no longer refused. A read that does not answer within 250 ms leaves the recorded size standing.
The response carries pixelsPerCssPixel, the number to divide an image coordinate by for the page’s CSS one. It is not always deviceScaleFactor, the page’s own ratio. A capture scaled to fit its pane or maxBytes holds fewer pixels than the page renders at. A note appears when the pane is the reason a capture is small.
saveToFile (since v0.53.0) writes the image to a file and returns a resource_link to it instead of the inline image. It skips the inline byte budget, so maxBytes is ignored and the format and quality are kept, but the capture is still bounded by the pane’s pixels. The file goes to a gitignored .kangentic/ folder inside the caller’s own working directory, so the agent can read it back without a permission prompt: the session’s captures/ folder when the session runs on the project checkout, .kangentic/captures/<session>/ in a task’s worktree, and .kangentic/captures/shared/ at the project root for a connection that names no session. Each save first prunes its own earlier files there to the newest 100, none older than a day, and never touches the pane’s Send captures beside them. A write that fails returns save-failed. The element screenshot, kangentic_browser_query_dom, and kangentic_browser_eval take the same option.
An inline screenshot is copied too, since v0.61.0, on a project on this computer. Claude Code saves every image a tool returns under its own config folder and names that file to the agent, and an agent that copies it from there, to publish it in an artifact, stops on a permission prompt that auto mode and allow rules do not answer. So the inline image also gets a copy in a copies/ folder inside the caller’s capture folder, and the result names it as filePath. The copies keep a rolling prune of their own, so they never push out a file saved with saveToFile. A copy that cannot be written leaves the image inline with no filePath, never an error, and the tool’s instructions say to take the screenshot again with saveToFile then. A project on an SSH host gets no copy, and saveToFile still delivers there.
kangentic_browser_screenshot_element
Section titled “kangentic_browser_screenshot_element”Screenshot Element - capture a single element in the Browser pane at up to 1:1: one image pixel per CSS pixel, or the page’s own ratio when that is higher. It does not lock the pane. The element is re-rendered at that density even when the page is zoomed out to fit a wide viewport, so this is the tool for reading detail in a desktop-width layout on a narrow pane. An element too large for the pane at that density comes back scaled to fit, with a note. saveToFile writes the clip to the caller’s capture folder, as it does for kangentic_browser_screenshot.
kangentic_browser_query_dom
Section titled “kangentic_browser_query_dom”Query DOM - get the HTML and box model of an element. It does not lock the pane. With saveToFile the element’s outerHTML goes to an .html file in the caller’s capture folder (see kangentic_browser_screenshot), and the call returns the path and size instead. That makes it the tool for a page’s HTML, since it needs no allowEval.
kangentic_browser_query_all
Section titled “kangentic_browser_query_all”Query All - measure every element matching a selector in one call. It does not lock the pane.
kangentic_browser_bounding_box
Section titled “kangentic_browser_bounding_box”Bounding Box - the CDP box model of an element. It does not lock the pane. Its quads are page coordinates and do not account for scroll, while kangentic_browser_click takes viewport coordinates. Do not feed one into the other; click by selector instead, which scrolls the element into view and measures it there.
kangentic_browser_console
Section titled “kangentic_browser_console”Browser Console - read recent console messages from the pane. It does not lock the pane.
kangentic_browser_network
Section titled “kangentic_browser_network”Network Requests - list the requests the page has made, each with its method, URL, resource type, status, error text, and duration. It does not lock the pane. Filter with urlContains, keep only failures and 4xx/5xx with failedOnly, and cap the count with limit (50 by default, 300 at most). The console shows only what the page chose to log, so “did that POST fire, and what came back” had no answer before this. A request still in flight is listed with a null status rather than hidden, because a dev server that accepted the connection and went quiet is usually the thing being looked for. The ring holds the last 300 settled requests for the surface.
kangentic_browser_wait
Section titled “kangentic_browser_wait”Wait - wait for an element or text to appear. Since v0.68.0 it does not lock the pane, so an agent that asked you to sign in can wait while you click and type in the page. It is the call for noticing that you are done, as When an agent asks you to sign in describes. Each poll reads the page on its own rather than holding it for the whole wait, so a long wait never blocks another agent’s click or screenshot. timeoutMs is at most 45,000 since v0.68.0, under the MCP client’s own 60-second call timeout, which a 60-second wait used to trip, so an agent that needs longer calls it again. A refusal (pane gone, busy, or policy) ends the wait immediately instead of retrying to the deadline.
kangentic_browser_click
Section titled “kangentic_browser_click”Click - click an element or a point in the pane. Gated by allowInteraction. It locks the pane while it runs and for about 5 seconds after. A selector must name one element unless strict is false (Selector strictness). With coordSpace: "image", x and y are pixels of a full-viewport screenshot, mapped back through the pixelsPerCssPixel that screenshot reported. That holds only when the screenshot’s scale was 1. For one that maxBytes shrank, divide by its own pixelsPerCssPixel and pass viewport coordinates instead.
Since v0.59.0, x and y with no coordSpace still click in viewport space, and the result adds a warning that says how they were read and how to map a screenshot point. A point read off a screenshot taken at more than one pixel per CSS pixel lands somewhere else when read as viewport, and on a modal that is usually the backdrop, which closes it. Passing coordSpace either way silences the warning.
kangentic_browser_hover
Section titled “kangentic_browser_hover”Hover - move the pointer over an element without pressing, so a hover menu opens, a tooltip appears, or a hover-revealed control renders. Gated by allowInteraction. It locks the pane while it runs and for about 5 seconds after. It is not a step before clicking, since kangentic_browser_click already moves the pointer before it presses; it exists so hover state can be screenshotted, which nothing else could reach.
kangentic_browser_type
Section titled “kangentic_browser_type”Type - type text into the Browser pane. Gated by allowInteraction. It locks the pane while it runs and for about 5 seconds after. Pass a selector and the element is clicked first, in the same call, so it holds keyboard focus; clearFirst then selects all and deletes before typing. A newline in text presses Enter, so {selector, text: "query\n"} types and submits in one call.
Without a selector the text goes to whatever the page has focused, and only while the pane itself holds keyboard focus. Between calls that is usually your terminal, and a key sent then would land there, so since v0.43.2 every key is checked first and the call refuses with pane-not-focused instead. Keys sent before a refusal were delivered.
kangentic_browser_keypress
Section titled “kangentic_browser_keypress”Keypress - send one key or chord to the pane. Gated by allowInteraction. It locks the pane while it runs and for about 5 seconds after. Pass a selector to click the element that should receive the key first, in the same call; an <iframe> selector works, since the click lands inside the frame. Without one the call refuses with pane-not-focused unless the pane already holds keyboard focus, for the same reason as kangentic_browser_type. An agent’s Escape that reached your terminal interrupted the agent that sent it. A combo that cannot be parsed refuses with unknown-key before anything touches the page, so a typo never costs the click.
Enter submits a form or starts a new line the way a real Enter does. The navigation keys are delivered to the page without the browser’s own default action, so PageDown and End reach a page that handles them itself and do not scroll the document. Use kangentic_browser_scroll for that.
kangentic_browser_scroll
Section titled “kangentic_browser_scroll”Scroll - scroll the page, or one scrollable element, by a wheel delta in CSS pixels. Gated by allowInteraction. It locks the pane while it runs and for about 5 seconds after. Positive deltaY scrolls down; pass a selector to scroll a particular scroller. This is the only way to reach content below the fold: a keypress does not carry the default scroll action, and eval is off by default. With no selector the wheel is aimed at the centre of the viewport, exactly as a real wheel is, so a scroller sitting under that point takes the scroll instead of the page. It returns the viewport measured after the scroll, and refuses invalid-scroll when both deltas are zero.
kangentic_browser_drag
Section titled “kangentic_browser_drag”Drag - drag from one element to another. Gated by allowInteraction. It locks the pane while it runs and for about 5 seconds after.
kangentic_browser_select_option
Section titled “kangentic_browser_select_option”Select Option - choose an option in a native <select> by value, label, or index (exactly one of the three). Gated by allowInteraction. It locks the pane while it runs and for about 5 seconds after. Clicking cannot do this: the list a <select> opens is drawn by the operating system outside the page, so a synthesized press reaches the control and then has nothing to aim at. The tool fires input and change, so framework bindings react as they do for a real choice. A custom dropdown built from divs is ordinary markup and wants kangentic_browser_click instead.
kangentic_browser_drop_files
Section titled “kangentic_browser_drop_files”Drop Files - drop real files onto an element, as dragging them out of the file manager would, from 1 to 20 absolute paths on this machine. Gated by allowInteraction. It locks the pane while it runs and for about 5 seconds after. The page receives genuine File objects through dataTransfer.files, each backed by its real path, which is the one hop page script cannot fake, so this is the only way to exercise a drop zone or a file input end to end.
kangentic_browser_handle_dialog
Section titled “kangentic_browser_handle_dialog”Handle Dialog - decide how the page’s alert, confirm, prompt, and beforeunload dialogs are answered, and read the ones already raised. Gated by allowInteraction. It locks the pane while it runs and for about 5 seconds after. Arm it before the action that triggers the dialog: a dialog blocks the renderer while it is open, so a call made afterwards would hang rather than answer it. The arm is consumed by the next dialog unless you pass persist.
Every dialog is answered whether this is called or not, which is what stops a pane wedging. Kangentic routes dialogs through the debugger rather than Chromium’s own UI, so one nobody answered would block the page with nothing on screen for the user to dismiss. The default is dismiss, the safe direction for all four types. prompt() is the exception: Electron does not implement it, so it throws in the page rather than opening a dialog, and promptText is unreachable for a pane today.
Choosing a viewport
Section titled “Choosing a viewport”A docked pane is only as wide as the task window’s split leaves it, which in practice sits below every desktop breakpoint. An agent verifying a responsive layout there measures the mobile rendering and reports it as the desktop one. Three tools exist so the viewport can be chosen deliberately, and they are not interchangeable. What separates them is what each costs the page:
| Mechanism | Viewport control | Page state | Surface handle |
|---|---|---|---|
set_viewport on a docked pane |
Any width and height, including larger than the physical screen | Kept. No reload, so sessionStorage, in-memory state, scroll, and sign-ins all survive |
Unchanged |
set_viewport on an offscreen surface or an already-detached window |
Real pixels, capped by the display for a window and uncapped offscreen | Kept, because nothing moves | Unchanged |
pop_out or dock |
Not a viewport control, a relocation | Lost. A fresh pane, so the page reloads and sessionStorage goes. Cookies and localStorage survive, since the jar is keyed by task |
New. The old handle answers surface-gone naming the replacement |
So set_viewport on the surface you already hold is the route to any resolution mid-flow, and pop_out is what buys real OS pixels and a window the user can drag, at the cost of the page’s in-memory state.
Asking a docked pane for a size zooms it out to fit, so the user sees the whole layout rather than its left third while the pane’s chip claims a width the window cannot show. Pass zoom: 1 to show the user a 1:1 crop instead. Screenshots are the whole viewport either way, at no more pixels than the pane has (see kangentic_browser_screenshot), so a fitted 1600-wide layout in a 740-pixel pane comes back about 740 wide. For detail, screenshot_element captures a region at up to 1:1 even on a fitted page, and pop_out gives a real window whose viewport screenshots are 1:1. A popped-out pane is still a pane, so a full page or an element larger than its window is scaled to fit the same way.
kangentic_browser_set_viewport
Section titled “kangentic_browser_set_viewport”Set Viewport - set the viewport a surface lays out against and report the one it actually got. Gated by allowInteraction. It locks the pane while it runs and for about 5 seconds after. width and height run from 128 to 8192 CSS pixels; zoom and a nine-point position for a detached window are optional, and reset drops the override and restores the zoom the fit changed. deviceScaleFactor is optional too. It is the devicePixelRatio the page sees, for testing hidpi assets, and applies to docked panes only. Leave it out otherwise. The page then sees the display’s own ratio scaled by the zoom, like any zoomed page, and an emulated ratio can make a canvas sized from device pixels draw blank.
The returned viewport is measured from the page after the change settles, never the request echoed back, and exact is false when the two differ by more than a couple of pixels: a window loses its frame and the pane’s chrome to the viewport and is capped by the display, and an offscreen surface can be clamped. The returned deviceScaleFactor is measured the same way, from the page. display is the work area of the display the surface is on, and maxWindowViewport is the largest viewport a real window there can reach, null except on the window path. mechanism names which of the three paths ran, chosen from the surface rather than from an argument. An override is scoped to the drive session rather than the document, so it survives a navigation and ends on reset, when the agent’s session ends, or when the user clears it from the pane’s viewport chip. Beyond the shared refusals it returns invalid-viewport for a dimension out of range.
A width alone fills the pane, since v0.61.0. The fit zooms to whichever side is tighter, so a short height drew a thin strip: one agent asked for 1900x200 and got a 740x78 strip in a 749-pixel-tall pane. Now, on a docked pane that has reported its size, an omitted height is the pane’s height at the zoom the width gets, so the layout fills the pane at any width, and this wins over a height an earlier call asked for. A call that names no width keeps the width last asked for. Every reply carries paneHeightFill, the share of the pane’s height the layout covers, beside visibleFraction, the share of the layout the pane shows. When an explicit height leaves paneHeightFill under half, note says to omit the height or reset.
kangentic_browser_pop_out
Section titled “kangentic_browser_pop_out”Pop Out Browser - detach the caller’s own Browser pane, its task’s or its Command Terminal’s, into its own OS window, optionally at a width and height, maximized, or at a nine-point position. Gated by allowNavigation, since the move reloads the page. It locks the pane while it runs and for about 5 seconds after. It takes no sessionId or taskId, for the same reason open_pane does not.
Use the sessionId it returns from then on: the window mounts a fresh pane, so the previous handle is dead. Called while a window is already open it resizes that window and reports moved: false rather than opening a second one. The window is shown inactive, so an agent action never takes the user’s keyboard focus, and a size the agent applies is not saved as the user’s, since pop-out bounds persist per surface kind rather than per task. Refusals beyond the shared ones: no-caller-task, pop-out-unavailable (a Command Terminal whose panel is already in a window of its own, where the page would show twice), no-pane-open, detach-failed, and detach-timeout past 20 seconds. Since v0.50.0 a window that cannot bring the pane up is closed again, and the error names the surface the task has now, usually the pane back in its task window; use that handle.
kangentic_browser_dock
Section titled “kangentic_browser_dock”Dock Browser - put the caller’s detached Browser window back into the task, undoing kangentic_browser_pop_out. Gated by allowNavigation, takes no parameters, and returns the same shape. It locks the pane while it runs and for about 5 seconds after. Docking moves the page too, so it reloads and mints another handle: use the sessionId this returns. It refuses not-detached when the pane is already in the task window.
kangentic_browser_eval
Section titled “kangentic_browser_eval”Eval - evaluate a JavaScript expression in the loaded page. Off by default; gated by allowEval. It locks the pane while it runs and for about 5 seconds after. An expression that has not settled after 20 seconds is abandoned and reported as an evaluation error, so a promise that never resolves cannot hold the pane against every other caller. Since v0.56.0 an expression that throws reports the error the page threw, where it used to report only “Uncaught”. With saveToFile the value goes to a file in the caller’s capture folder and the call returns the path and size: a string as it is to a .txt file, anything else as indented JSON to a .json file.
Diagnostics
Section titled “Diagnostics”Read-only tools for inspecting Kangentic itself. This group is dev-leaning and renders last in the panel.
kangentic_query_db
Section titled “kangentic_query_db”Query Database - run a read-only SQL query against the project database. The connection uses PRAGMA query_only = ON, so writes are rejected. It returns up to 100 rows as a markdown table. Since v0.52.0 a cell is cut at 20,000 characters when the result is one row, and at 1,000 across several, in place of the flat 120 that cut the very values an agent asked for. When a cell was cut, the last line names the columns and says to select one row or use substr(). The tool’s description also says each sessions row is one run of a conversation, so the latest row of an agent_session_id holds its total cost and duration, never a sum across its rows.
kangentic_tail_logs
Section titled “kangentic_tail_logs”Tail Logs - read recent lines from the Kangentic console log. The project’s log is merged with the app’s global fallback (<configDir>/logs/, where the log mirror writes while no project is open, so a global subsystem such as the mobile bridge keeps its trace across the gap), sorted by timestamp before the filters apply. Errors and warnings are always captured; info, debug, and log levels only when developer.persistConsoleLogs is on.
Since v0.68.0 its since filter is compared as a time, never as text, so 16:45:40Z keeps a line logged at 16:45:40.859Z and an offset such as -05:00 compares right. A value that is not a time is refused with an error that names an ISO 8601 example. The same holds for sinceTs on Recent Crashes and since on IPC Log.
kangentic_get_recent_crashes
Section titled “kangentic_get_recent_crashes”Recent Crashes - list recent crash records with source-mapped stacks and the version captured at crash time, falling back to the app’s own config directory for a crash recorded with no project open. Always on, no toggle required.
kangentic_get_process_metrics
Section titled “kangentic_get_process_metrics”Process Metrics - a live snapshot of memory and CPU per Electron process (main, renderer, GPU, utility) plus version and uptime. On Windows each row’s privateBytes is the commit figure, and the two model workers appear under their own service names. The main entry also carries the main process’s own process.memoryUsage() in bytes, the only way to separate V8 heap from Node’s external allocations from Chromium’s own footprint without attaching an inspector to a live process. Since v0.64.0 main.descriptorTable gives the lowest free slot in main’s file descriptor table, a floor on how many descriptors main holds: now for this snapshot, with the latest and peak readings of a probe that reads every 5 minutes. A number that climbs over a session points at a descriptor leak. Since v0.65.0, on macOS and Linux, main.descriptorTable.kinds counts the descriptors main holds now by kind (socket, pipe, eventfd, epoll, inotify, anon_other, memfd_shm, file, char_device, other), so a climb can be traced to sockets, pipes, or files. It is null on Windows and when the listing cannot be read.
kangentic_get_ipc_log
Section titled “kangentic_get_ipc_log”IPC Log - recent IPC traffic with per-call timings and errors. Available only when developer.recordIpcTraffic is on; channels carrying secrets are redacted.
kangentic_list_worktrees
Section titled “kangentic_list_worktrees”List Worktrees - enumerate worktrees for one or every project, each with branch, the base branch its work is based on, dirty flag, commits ahead/behind that base, and last-commit time. It never fetches: the counts are as current as the remote-tracking refs, which the background auto-fetch keeps refreshed for the focused project. Since v0.55.0 git runs in the pty host, four or five runs per worktree and four worktrees at a time, so a walk does not hold the app. Those processes still add up across many projects, so pass project when one project is enough.
See also
Section titled “See also”- Agent orchestration - how the board spawns, suspends, and resumes the agents that call these tools
- Configuration reference - the
mcpServer.enabledtoggle and related settings - Settings - the MCP Server and Browser automation settings tabs
- Quick Find - the palette backed by
kangentic_search
Kangentic is free and open source. A star helps other people find it.
Star on GitHub