evc-mesh-mcp
v0.1.8Tasks, comments, shared memory and handoffs for teams of people and AI agents, over MCP.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
add_comment
Add a comment to a task. Response is lean by default: id/author/created_at and the `delivery` report, without echoing the body you just sent; full=true returns the whole comment. If the body @-mentions someone, the response carries a `delivery` array — one entry per mentioned handle — reporting whether it actually reached a path they consume (their task queue, a notification) or was skipped/failed and why; a `hint` field suggests the fix when there is one (e.g. assign the task). Omitted entirely when the comment mentions nobody.
| Parameter | Type | Description |
|---|---|---|
body * | string | Comment body (markdown supported). |
task_id * | string | Task ID. |
full | boolean | Return the whole created comment (body echo included) instead of the lean confirmation. |
is_internal | boolean | Mark as internal (agent-only visible). |
metadata | object | Additional metadata as key-value pairs. Set {"informational": true} on a comment you write on a task that is ALREADY done/cancelled when your comment needs no action from its assignee — a plain ackn… |
parent_comment_id | string | Parent comment ID for threading. |
add_note
Write a note on a card that wakes nobody: no mention or handoff delivery, no outcome, the checkout untouched. For progress logs and findings that need no action; a note does not end your turn — finish it with wait_for, continue_next, ask_agent, ask_human, finish_task or hand_off.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | The card to write the note on (UUID or 6-12 hex short id). |
text * | string | Note body in markdown. |
session_id | string | Optional runner session id (max 200 chars), copied onto the recorded outcome and wait. |
turn_id | string | Optional turn id within the session (max 200 chars), copied onto the outcome. |
add_vcs_link
Link a task to a pull request, commit, or branch. The link is the task↔PR join that PR-driven status automation and 'what shipped for this task?' reports read. Only task_id and url are needed — provider, link_type and external_id are inferred from a GitHub or GitLab URL. The optional status parameter ('merged' or 'closed') records a PR that was already merged or closed before it was linked. Without it the link starts as 'open', and the done-evidence gate blocks move→done on it, since no GitHub webhook fires for a merge that happened before the link existed.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | Task ID. |
url * | string | Link URL, e.g. https://github.com/owner/repo/pull/123. |
acceptance_by | string | Who accepted. |
acceptance_evidence_url | string | Link to the acceptance proof. |
acceptance_result | string | Delivery state: live acceptance result, passed or failed — separate from CI and deploy. Add acceptance_by, acceptance_evidence_url and acceptance_sha for who, proof and the commit it covered. |
acceptance_sha | string | Commit the acceptance covered, 40 hex. |
ci_pipeline_id | number | Pipeline id of the CI verdict. |
ci_sha | string | Commit the CI verdict ran on, 40 hex. |
ci_status | string | Delivery state: CI verdict status (pending, running, success, failed, canceled, skipped, manual). Use ci_pipeline_id and ci_sha for the pipeline and commit it ran on. |
deployed_at | string | RFC3339 deploy time; defaults to now. |
deployed_sha | string | Delivery state: the commit now running in `environment`, 40 hex. Requires environment. The link counts as shipped only when this equals merged_sha on environment=prod. Reporting the same sha and envir… |
environment | string | Environment of deployed_sha, e.g. prod or staging. |
external_id | string | PR number, commit SHA, or branch name. Inferred from the URL; only needed when the URL is not a recognised PR/commit/branch link. |
implementation_sha | string | Delivery state (pr links): the commit the change was implemented at, 40 hex. |
link_type | string | What the URL points at: pr (alias: pull_request), commit, branch. Inferred from the URL path; defaults to pr. |
merged_sha | string | Delivery state: the commit the MR merged as on the target branch, 40 hex. |
provider | string | VCS provider: github, gitlab. Inferred from the URL host; defaults to github. |
role | string | 'review' (the only value) marks the PR as the subject this task reviews or signs off, not the task's own work: its being unmerged no longer blocks move→done. Never set it on the PR that implements t… |
status | string | PR status, if you already know it: open, merged, closed. Pass 'merged' when linking a PR that was merged before this call — that is the one case a webhook can never backfill. Omit it to let the link… |
title | string | Human-readable label, e.g. the PR title. |
answer_decision
Answer a decision request another agent addressed to you: writes the answer as a comment on the asking card, marks the request answered and wakes the asker. Only the addressee or a person may answer; an answered or withdrawn request is refused with 409. Does not touch your own card or checkout.
| Parameter | Type | Description |
|---|---|---|
answer * | string | Your answer, max 4000 chars: the choice and the reason. |
request_id * | string | Decision request id, as given in the question you received. |
archive_memory
Take a stale memory out of recall and get_memory WITHOUT deleting it (archived=true), or bring it back (archived=false). The reason is required and stored on a revision. Allowed for whoever may write to the memory's scope: any agent with write access to the project for a project entry (not only its author), only the owner for an agent entry, leads for a workspace entry. Archived entries stay readable with include_archived=true. A repeat remember on an archived key updates it but keeps it archived. Prefer this to forget and to a short expires_at for anything that may be needed again.
| Parameter | Type | Description |
|---|---|---|
reason * | string | Why the entry leaves (or returns to) recall, up to 500 characters, e.g. 'MR merged and released; directive no longer applies'. |
archived | boolean | true archives (default), false restores. |
key | string | Exact key, used when memory_id is not given. Refused with the candidates listed if it names several entries; narrow with scope/project_id. |
memory_id | string | UUID of the memory (the id field of recall full=true). Either memory_id or key is required. |
project_id | string | Narrows a key lookup to one project. |
scope | string | Narrows a key lookup: workspace, project or agent. |
ask_agent
End your turn with a question only another agent can answer: opens a decision request to that agent (or returns your identical open one), records a wait on it, writes the comment and releases your checkout; you are woken when they answer. A question this agent already answered on this card is refused with already_answered (nothing written, checkout kept): read that answer, and if you still need one, ask a new question that says what changed. The addressee must be an agent of the team directory, not a person (ask_human) and not yourself. Work another agent must do is hand_off, not a question.
| Parameter | Type | Description |
|---|---|---|
question * | string | The question with the options you see, max 4000 chars. |
task_id * | string | The card the question is about (UUID or 6-12 hex short id). |
to * | string | Agent name or UUID from get_team_directory; an @-handle prefix is not needed. |
session_id | string | Optional runner session id (max 200 chars), copied onto the recorded outcome and wait. |
turn_id | string | Optional turn id within the session (max 200 chars), copied onto the outcome. |
ask_human
End your turn with a question only a person can answer: posts it as a Blocking question to that person, which arms the card's human gate and notifies them, records your wait on the answer and releases your checkout; you are woken when the gate is lifted. Refused, with nothing posted, when to is not a person of the workspace or the previous question already has an answer (name what is new in supersedes). A question to an agent is ask_agent.
| Parameter | Type | Description |
|---|---|---|
question * | string | The question with the options you see, max 2000 chars. |
task_id * | string | The card the question is about (UUID or 6-12 hex short id). |
to * | string | The person's username, e.g. alex; an @ prefix is not needed. |
canonical_key | string | Names the question; an existing recorded decision under the same key refuses the ask. |
deadline | string | When the default applies: RFC3339 with Z or an offset, in the future. |
recommended_default | string | What you will do if nobody answers by the deadline; one line, max 500 chars. |
session_id | string | Optional runner session id (max 200 chars), copied onto the recorded outcome and wait. |
soft | boolean | true: the gate may be released by the default-on-timeout sweep. Default false (hard). |
supersedes | string | What the previous, already answered, question did not cover; one line. |
turn_id | string | Optional turn id within the session (max 200 chars), copied onto the outcome. |
assign_task
Assign a task to a user or agent. Returns a lean confirmation by default (id, status_id, assignee, updated_at); full=true returns the whole task.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | Task ID. |
assign_to_self | boolean | Assign to the calling agent. |
assignee_id | string | Assignee UUID. Omit to unassign. |
assignee_type | string | Assignee type: user, agent. |
full | boolean | Return the complete task (all fields, verbatim) instead of the lean confirmation. |
clear_start_after
Clear a card's start_after only if it is still exactly the schedule you read (compare-and-clear). Pass the start_after, version, start_after_origin and start_after_receipt_id from get_task. A changed card is refused with 409 cas_conflict and its current values — nothing is written; re-read before deciding anything. Repeating a call with the same idempotency_key returns the first receipt (replayed=true). Does not touch human gates, dependencies, waits or due_date.
| Parameter | Type | Description |
|---|---|---|
expected_start_after * | string | The card's start_after as you read it, RFC3339. |
expected_version * | number | The card's version as you read it. |
task_id * | string | The card (UUID or 6-12 hex short id). |
expected_origin | string | The card's start_after_origin as you read it: agent_evidence, human_explicit or legacy_unknown. Required for an agent. |
idempotency_key | string | Key of this clear, max 200 chars; reuse it when you repeat the same call. Generated when omitted. |
reason | string | Why the date is no longer needed, max 500 chars; stored on the clear receipt. |
schedule_receipt_id | string | The card's start_after_receipt_id as you read it. Required for an agent unless the origin is legacy_unknown. |
continue_next
End your turn with a piece of work done and more to do right away: records the outcome and the comment, keeps the card with you and extends your checkout. Reading the card or writing a plan is not a piece of work — keep working instead. Refused with 409 when you do not hold the card's checkout.
| Parameter | Type | Description |
|---|---|---|
note * | string | What was done this turn and what comes next, max 4096 chars. |
task_id * | string | The card you are working on (UUID or 6-12 hex short id). |
session_id | string | Optional runner session id (max 200 chars), copied onto the recorded outcome and wait. |
turn_id | string | Optional turn id within the session (max 200 chars), copied onto the outcome. |
create_task
Create a new task in a project and return it with its id. status_slug sets the initial status (defaults to the project's first status); assignee_id with assignee_type routes it to someone; parent_task_id makes it a subtask. Search list_tasks first so you do not file a duplicate.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | UUID of the project to create the task in (list_projects returns ids). |
title * | string | Task title. |
assignee_id | string | Assignee ID (user or agent UUID). |
assignee_type | string | Assignee type: user, agent. |
custom_fields | object | Custom field values as key-value pairs. |
delegation_level | string | Delegation level: auto, review, supervised. |
description | string | Task description. |
due_date | string | Due date in RFC3339 format. |
estimated_hours | number | Estimated hours for the task. |
labels | array | Task labels. |
parent_task_id | string | Parent task ID for subtask. |
priority | string | Priority: urgent, high, medium, low, none. |
start_after | string | Hold the task out of the queue until this moment, RFC3339 with Z or an offset (2026-11-01T09:00:00+03:00). From an agent it must be the published time of an external event, given with start_after_evid… |
start_after_evidence | object | Required by the server for an agent's start_after: {event_ref, source, why}, the same rules as wait_for on=time. |
start_after_origin | string | Optional, only agent_evidence. The server derives the origin from the caller; a person's date needs no evidence. |
status_slug | string | Status slug (e.g. 'todo'). Uses project default if omitted. |
finish_task
Close the card with its result: sets result_kind, moves the card to done (or review, when someone must accept a live result), writes the evidence as the closing comment, cancels your active wait and releases your checkout. Both result_kind and evidence are required; the existing move gates (closing comment length, linked MRs merged, open subtasks) still apply and their refusals are returned as is.
| Parameter | Type | Description |
|---|---|---|
evidence * | string | Proof of each acceptance criterion — commands and their quoted output, max 4096 chars. |
result_kind * | string | What the card delivered: change, defect, research, content or ops. |
task_id * | string | The card to close (UUID or 6-12 hex short id). |
evidence_links | array | Optional URLs backing the evidence (MR, pipeline, artifact). |
session_id | string | Optional runner session id (max 200 chars), copied onto the recorded outcome and wait. |
to | string | Target status: done or review. review means the result is live and awaits someone's acceptance. |
turn_id | string | Optional turn id within the session (max 200 chars), copied onto the outcome. |
forget
Permanently delete one memory entry by its UUID. Agents can only delete their own agent-scope memories; project and workspace memories are refused. To correct an entry, call remember with the same key instead of deleting it.
| Parameter | Type | Description |
|---|---|---|
memory_id * | string | UUID of the memory to delete: the id field of a recall(full=true) result, not its key. |
get_canonical_updates
Fetch canonical decisions broadcast since a given time. Returns only privacy:public records targeted at you or all agents. A change feed for session start; get_canonical searches the canonical layer by topic.
| Parameter | Type | Description |
|---|---|---|
agent | string | Your agent slug (e.g. 'alice'). Used to filter propagate_to:<slug> records. Omit to get only propagate_to:all records. |
scope | string | Optional project UUID to restrict to project-scoped decisions. |
since | string | RFC3339 cursor. Defaults to your previous session's start time (server-resolved). Omit on first call. |
get_context
Get RECENT ACTIVITY for a project (last 24h by default): event stream with summaries, decisions, errors, plus accumulated project knowledge. Use it for "what changed lately"; get_project_knowledge returns the durable facts, recall searches memory for one fact.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | UUID of the project whose recent activity to read (list_projects returns ids). |
event_types | array | Filter by event types. |
limit | number | Max events to return (default 50). |
since | string | Only events after this timestamp (RFC3339). |
tags | array | Filter by tags. |
get_memory
Full text of ONE memory by exact key (the `key` field recall returns). Returns the full content of an entry whose recall result ends with the `…` cut marker. Errors if no entry has exactly that key. Archived and expired entries are hidden unless include_archived / include_expired is set.
| Parameter | Type | Description |
|---|---|---|
key * | string | Exact memory key, as returned by recall. |
include_archived | boolean | Also look among archived memories (default false). |
include_expired | boolean | Also look among memories past their expires_at (default false). An expired entry is hidden from recall and get_memory the moment it expires and stays readable with this flag until the background clean… |
project_id | string | Project of a project-scoped entry, if the key exists in several. |
scope | string | Filter by scope: workspace, project, agent, or all (default). |
get_my_rules
Get ALL governance rules that apply to you: workflow constraints, assignment policies, behavioral requirements. Includes workspace and project-level rules with source annotations. This is the one to call before acting in a project: get_project_rules lists every rule configured there whoever it targets, get_assignment_rules and get_workflow_rules return a single rule family.
| Parameter | Type | Description |
|---|---|---|
project_id | string | Optional project UUID. With it, returns the effective rules for that project (workspace rules merged with the project's own); without it, workspace-level rules only. |
get_my_tasks
Get YOUR assigned tasks, non-blocking. Use list_tasks to browse or search other people's tasks in a project, poll_tasks only to block until a new assignment arrives. Filterable by status_category to focus on active work. Default (cold) view is compact: only in_progress, review and the top 5 todo are requested and listed (envelope `omitted` counts the todo past the cap, has_more flags open cards past limit; done, cancelled and backlog need full=true or status_category), descriptions are omitted (has_description marks them; get_task(id) or full=true returns the full text). Envelope fields (creat…
| Parameter | Type | Description |
|---|---|---|
accept_delta | boolean | Opt in to lossless delta against known_revision: complete changed items, removed_ids, full order and non-items envelope. Apply only to the retained matching base; otherwise omit known_revision and ret… |
full | boolean | Return complete non-capability REST fields; always bypasses revision and delta shortcuts. |
known_revision | string | Revision of a complete snapshot retained for this session and the same filters/view. Omit after cache loss, restart or compaction to request complete cold. Exact match returns unchanged=true; mismatch… |
limit | number | Max results (default 50). |
project_id | string | Filter by project. |
snapshot_session | string | Opaque non-secret consumer cache namespace. Required for conditional responses on stateless HTTP. Use a fresh value after restart or compaction; never credentials or lease tokens. |
status_category | string | Filter by status category: backlog, todo, in_progress, review, done, cancelled. |
get_project_knowledge
Get the PERMANENT KNOWLEDGE of a project: decisions, conventions, accumulated context. Returns workspace-level + project-level memories (workspace tier paged by limit/offset and narrowed by min_importance and tags_any). Use it for the standing picture of ONE project; get_context returns what happened recently, recall searches all memory for one specific fact, get_canonical returns owner-curated decisions on a topic.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | UUID of the project whose knowledge to load (list_projects returns ids). |
limit | number | Max workspace-tier memories (default 100, max 500). |
min_importance | number | Minimum importance_score for workspace-tier (default 0 = all). |
offset | number | Pagination offset for workspace-tier (default 0). |
tags_any | string | Comma-separated tag OR-filter for workspace-tier, e.g. 'kind:decision,kind:incident'. |
get_task
Get task details: compact decision fields, active human_gate=true and status slug; descriptions and ordinary comment bodies are always complete. Comment IDs support reply/after; timestamps are UTC to the minute. Known automation comments are one-line summaries (include_auto=true restores their complete bodies). full=true restores non-capability REST fields. If status lookup is unavailable, status_id and an explicit status_lookup_error remain. Comments return the newest comments_limit entries (default 5, max 200) with pagination markers. since=RFC3339 (from task.updated_at) skips an unchanged t…
| Parameter | Type | Description |
|---|---|---|
task_id * | string | Task ID (full UUID or 6–12 char hex short-ID prefix). |
comments_limit | number | How many of the NEWEST comments to include when include_comments=true (default 5, max 200). The tail is where an acting agent looks first; raise it when you need more of it. The API caps any single re… |
full | boolean | Return the task (full description, non-capability fields, whole inline comments) instead of the compact view (default false). |
include_artifacts | boolean | Include artifacts. |
include_auto | boolean | Return complete automation bodies in compact mode (ordinary comments are always complete). |
include_comments | boolean | Include the task's most recent comments (see comments_limit for how many; the response carries comments_total_count and comments_has_more so a longer thread is never silently hidden). |
include_dependencies | boolean | Include dependencies. |
include_vcs_links | boolean | Include linked PRs/MRs/commits/branches (id, provider, link_type, external_id, url, status, created_at, plus delivery{implementation_sha, ci_verdict, merged_sha, deployed, acceptance} and a derived is… |
since | string | RFC3339 timestamp from an earlier call in this session (e.g. that response's task.updated_at, or your own last-call time). With it: include_comments returns only comments created after it, and the ful… |
get_task_context
Get EVERYTHING about ONE TASK in a single call: full details + comments + artifacts + dependencies + activity. Combines the results of get_task, list_comments and list_artifacts for one task in a single response.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | Task ID (full UUID or 6–12 char hex short-ID prefix). |
hand_off
Give the card to another agent who must do the next part: assigns it to them, moves it to todo, writes the comment, cancels your active wait and releases your checkout, in one step instead of assign + move + release. The addressee must be an agent of the team directory. Use ask_agent when you only need their answer and keep the card.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | The card to hand over (UUID or 6-12 hex short id). |
to * | string | Agent name or UUID from get_team_directory who takes the card. |
why * | string | What they must do and what is already done, max 4000 chars. |
session_id | string | Optional runner session id (max 200 chars), copied onto the recorded outcome and wait. |
turn_id | string | Optional turn id within the session (max 200 chars), copied onto the outcome. |
heartbeat
Report that you are alive and what you are working on, so the team directory shows you online or busy and names your current task. Call it at session start and every few minutes during long work. It changes no task and returns no queue: get_my_tasks reads your assignments.
| Parameter | Type | Description |
|---|---|---|
agent_type | string | Optional self-report of the harness this agent runs in: claude_code, codex, cursor, copilot, gemini_cli, openclaw, cline, aider, hermes, custom. |
current_task_id | string | ID of the task currently being worked on. |
message | string | Short human-readable status message (e.g. 'running tests', 'waiting for review'). |
metadata | object | Arbitrary JSON metadata to store with the heartbeat. |
model | string | Optional self-report of the model this agent runs on (max 128 chars). Empty string clears it. |
status | string | Agent status shown in the team directory: online, busy or error. Use error only when you cannot work; report_error records why. |
list_projects
List the projects in the workspace with their ids, names and slugs. Call it first to find the project_id that most other tools require. Archived projects are hidden unless include_archived=true.
| Parameter | Type | Description |
|---|---|---|
include_archived | boolean | Also list archived projects. Default false: only active projects are returned. |
workspace_id | string | Workspace UUID. Defaults to the calling agent's workspace; another workspace is only readable if your key belongs to it. |
list_tasks
List tasks with strict filters. Provide project_id for a project listing or workspace_id plus search for cross-project search. Unknown parameters and invalid categories are errors. Compact items contain id, title, status slug, priority, assignee_name, labels, updated_at, runtime_state (working/waiting/queued/stopped with since/lane/ref/stale, when known) and routing parent_task_id/start_after when set; workspace results also contain project_id. full=true returns complete REST items; listing descriptions are subject to the API page budget, while get_task returns full details. For your own queue…
| Parameter | Type | Description |
|---|---|---|
assignee | string | Filter by exact case-insensitive assignee name, UUID, or me. Unknown or ambiguous names are errors. |
assignee_id | string | UUID-only compatibility alias for assignee. Use assignee for names or me. |
assignee_type | string | Filter by assignee type: user, agent, unassigned. |
full | boolean | Return complete items (full descriptions and non-capability envelope fields) instead of compact items. |
labels | array | Filter by labels. |
limit | number | Max results to return (default 20). The compact view caps limit at 50 — a larger value is clamped and the response says so via limit_clamped_to; pass full=true for up to 200 per page. |
list_revision | number | The list_revision echoed back on a previous page of this same project-scoped walk (see the response's list_revision field). Pass it back to continue that walk. If the project's tasks changed since tha… |
order | string | Sort direction: asc (default) or desc. Without this, a project larger than `limit` returns its OLDEST tasks, so "what changed recently" walks come back empty and look clean. An invalid value is REFUSE… |
page | number | 1-based page number (default 1). The response reports total_pages; without this parameter every page beyond the first was unreachable while the envelope kept advertising them. |
priority | string | Filter by priority: urgent, high, medium, low, none. |
project_id | string | Project ID (required unless workspace_id is provided). |
runtime_kind | string | Filter by effective runtime state: working, waiting, queued, stopped. working also matches a card with a live checkout and no reported state, whatever its status. |
search | string | Search in title and description. |
sort | string | Sort field: created_at, updated_at, priority, due_date. |
status_category | string | Filter by status category: backlog, todo, triage, in_progress, review, done, cancelled. |
workspace_id | string | Workspace ID for global cross-project search (requires search parameter). |
move_task
Change task status (e.g. todo → in_progress → done). Status is given as a slug (not a UUID). On move to 'review', task auto-reassigns to creator unless assignee_id is provided. Returns {task, new_status} with a lean task by default (id, status_id, assignee, updated_at — the post-move assignee is always included so an auto-reassign is visible); full=true returns the whole reloaded task.
| Parameter | Type | Description |
|---|---|---|
status_slug * | string | Target status slug (e.g. 'in_progress', 'done'). |
task_id * | string | Task ID. |
assignee_id | string | Reassign to this agent/user on move. Overrides auto-reassign to creator on review. |
assignee_type | string | Assignee type if assignee_id is set: user or agent. |
comment | string | Optional comment, written before the move so it lands even when the move hands the card (and its lock) to someone else. |
full | boolean | Return the whole reloaded task instead of the lean confirmation. |
publish_event
Publish an event to the event bus. event_type='summary' publishes a summary. Add memory={persist:true, key:'decision-name'} to also save as permanent memory. Replaces the deprecated publish_summary tool.
| Parameter | Type | Description |
|---|---|---|
event_type * | string | Event type: summary, status_change, context_update, error, dependency_resolved, custom. |
payload * | object | Event payload as key-value pairs. |
project_id * | string | Project ID. |
subject * | string | Event subject line. |
memory | object | Optional memory hint to persist alongside the event (e.g. key decisions, conventions). |
tags | array | Event tags for filtering. |
task_id | string | Related task ID. |
ttl_hours | number | Time-to-live in hours (default 24). |
recall
SEARCH memory by keywords. Finds a SPECIFIC piece of knowledge, e.g. 'API convention' or 'license decision'. Returns ranked results with scores. Default view is compact: per item key, tags, score and the first ~300 chars of content (a trailing … marks a cut; timestamps, scope and bookkeeping fields are omitted). get_memory(key) returns the whole text of one entry; full=true returns every item uncut with all stored fields (created_at included). Below the relevance threshold, returns an empty list with an explanation instead of weak matches. include_archived=true also returns archived memories…
| Parameter | Type | Description |
|---|---|---|
query * | string | Full-text search query. |
apply_recency_decay | boolean | Sort by relevance * 0.95^days_since_created. |
created_by | string | Filter by agent ID (UUID). |
full | boolean | Return every item in full, with all stored fields and uncut content (default false: compact view, content cut at ~300 chars and marked with a trailing `…`, bookkeeping fields such as agent_id, works… |
include_archived | boolean | Also return archived memories (retired by their owner or by review but kept for history). Default false: only live memories. |
include_expired | boolean | Also return memories past their expires_at (default false). An expired entry is hidden from recall and get_memory the moment it expires and stays readable with this flag until the background cleanup (… |
limit | number | Max results (1–50). Omitted compact requests use 5; full=true or an explicit profile keeps the previous default 10. Existing profile presets still apply when limit is omitted (multi-session uses 20,… |
min_importance | number | Minimum importance_score threshold (0-1, default 0.3 — matches the lowest score the server assigns, kind:session-checkpoint, so prior-session hand-offs are returned without an override). Raise it to… |
offset | number | Pagination offset (default 0). |
order_by | string | Sort order: created_at:desc (default), created_at:asc, relevance:desc, decayed_relevance:desc. |
project_id | string | Filter to a specific project. |
recall_profile | string | Override automatic query classification. Existing preset values are preserved; explicit limit takes precedence. |
relevance_min | number | Minimum relevance score (0-1). |
scope | string | Filter by scope: workspace, project, agent, or all (default). |
since | string | Return memories created at or after this RFC3339 timestamp. |
tags | array | AND-filter: memory must contain ALL listed tags. |
tags_any | array | OR-filter: memory must contain AT LEAST ONE of these tags. |
until | string | Return memories created at or before this RFC3339 timestamp. |
recall_with_graph
Search memory with Knowledge Graph expansion. Seeds from hybrid recall, then BFS-traverses memory_edges up to hops depth. Returns memories ranked by composite score with hop_distance and provenance fields. Returns broader context: related decisions, connected incidents, derived learnings. Slower and wider than recall: use it for the connected context around a topic, recall for a single fact.
| Parameter | Type | Description |
|---|---|---|
q * | string | Search query (keywords or natural language). |
hops | number | Graph traversal depth (default 2, max 5). |
project_id | string | Filter to a specific project. |
task_id | string | Optional task ID — used as cache key discriminator for session-scoped traversal. |
weight_threshold | number | Minimum edge weight to follow (default 0.3). |
record_owner_decision
Record a directive from the workspace owner as a canonical decision in project_knowledge. Broadcasts to specified agents via propagate_to tags. privacy:private records are stored but EXCLUDED from get_canonical_updates. Auto-flags private if text contains secrets. If task_id is given, also records this as a human_gate decision on that task (docs/human-gate-decision-recorded.md in evc-mesh) — releases the gate as a consequence if it's currently live, and links back via canonical_key. Best-effort: a failure here is reported in the result but does not undo the canonical write.
| Parameter | Type | Description |
|---|---|---|
summary * | string | One-line summary used as UPSERT key (dedupes same decision on same day). |
text * | string | Full text of the decision/directive. |
privacy | string | 'public' (default, visible in change-feed) or 'private' (recorded but hidden). |
propagate_to | array | Agent slugs to propagate to, e.g. ['alice','bob']. Use ['all'] for workspace-wide broadcast. |
question_ref | string | Optional comment UUID of the Blocking marker this decision answers (only with task_id). Omit when the task has exactly one live marker — the server binds it. Required when several markers are live;… |
scope | string | Optional project_id UUID. Omit for workspace-level decisions. |
task_id | string | Optional task UUID this decision answers. When set, also records a human_gate decision on that task (provenance=attested, channel=telegram, quote=text) — releasing a live human_gate as a consequence… |
remember
Save knowledge to persistent memory. Stores decisions, conventions, preferences. UPSERT by key — calling with same key updates the existing entry. Content is screened on write and REFUSED with a named reason (never silently stripped or stored) if it contains invisible/bidi characters, an LLM role tag, an instruction to ignore previous/system instructions, a PEM private key, a prefixed API token (sk-/ghp_/xox*/AKIA), or a literal assignment to a *_PASSWORD/_SECRET/_TOKEN/_API_KEY name. LIMITATION — this screen is partial and is not a secret filter: it cannot see a secret that has no recogni…
| Parameter | Type | Description |
|---|---|---|
content * | string | What to remember (markdown). |
key * | string | Slug key for UPSERT (e.g. 'api-convention', 'license-decision'). ENFORCED server-side as ^[a-z0-9][a-z0-9-]*[a-z0-9]$ — lowercase alphanumeric and hyphens only, at least two characters, no leading o… |
attach_context | boolean | When false, disables auto-injection of thread_id and source_task_id. Use for cross-cutting records not tied to the active task. |
expected_version | number | Make the write conditional: it succeeds only if the stored version still matches this number, and is REFUSED with both version numbers if someone else wrote to the key in between. Pass the version ret… |
expires_at | string | RFC3339 timestamp or Go duration (e.g. '72h') when this memory should expire. Hidden from recall and get_memory the moment it expires; physically deleted by the background cleanup (every 6 h) 7 days a… |
project_id | string | Project ID (required for project scope). |
reason | string | Why this memory is worth writing — what a future thread should be able to do with it, or what changed if you are correcting an existing key. Recorded on the revision alongside the content, so a late… |
relevance | number | Relevance score 0-1 (default 1.0 when omitted). NOT the same field as importance_score: relevance is a caller-set ranking hint, importance_score is computed from tags (see tags) and is the field min_i… |
scope | string | workspace | project | agent (default: project). |
source_task_id | string | UUID of the Mesh task that produced this memory. Auto-populated from the runner state file (FIDDLER_STATE_FILE) or the active checkout. Enables Amendment 2/3 KG edge hooks. |
source_url | string | Optional URL/path to the source of this knowledge (task ID, PR, file path). |
tags | array | Tags for categorization and filtering. A kind: tag also SETS importance_score, which is what decides whether recall returns this entry at its default threshold of 0.3 — so the tag you choose is a re… |
thread_id | string | Thread identifier for same-session memory grouping. Auto-populated from the runner state file when omitted. |
report_error
Report a failure you hit while working, so the team sees it instead of it staying in your log. With task_id, publishes an error event (tagged error and the severity, kept 72h) to that task's project, where get_context shows it. With recoverable=false it also sets your agent status to error in the team directory. It does not move the task or comment on it: use add_comment for that.
| Parameter | Type | Description |
|---|---|---|
error_message * | string | What went wrong, in a sentence or two. Required and non-empty; its first 100 characters become the event subject. |
recoverable | boolean | Default true. Pass false when you cannot continue: your agent status is then set to error. |
severity | string | Severity: low, medium (default), high or critical. Also added as an event tag. |
stack_trace | string | Optional stack trace, command output or other detail, stored in the event payload. |
task_id | string | UUID of the task the error belongs to. Without it nothing is published to a project; only the agent status changes (and only when recoverable=false). |
session_report
Report token usage and cost at the end of a session. Saves them on your agent session record and returns this session's tool-call stats and a compliance score (whether you loaded project context before acting). All parameters are optional; omitted or zero values are not recorded.
| Parameter | Type | Description |
|---|---|---|
estimated_cost | number | Estimated cost in USD. |
model | string | LLM model used (e.g. 'claude-sonnet-4'). |
tokens_in | number | Total input tokens this session. |
tokens_out | number | Total output tokens this session. |
set_project_knowledge
Write a structured fact to project knowledge. UPSERT by key — calling with same key updates the existing entry. Stores deploy URLs, stack conventions, gotchas. These facts are visible via get_project_knowledge.
| Parameter | Type | Description |
|---|---|---|
key * | string | Slug key for UPSERT (e.g. 'deploy-url', 'stack-convention'). Same enforced pattern as remember: ^[a-z0-9][a-z0-9-]*[a-z0-9]$ — hyphens only, no colons; a colon-delimited key is refused, not normalis… |
project_id * | string | Project ID to store knowledge for. |
value * | string | The knowledge to store (markdown, max 4000 chars). |
attach_context | boolean | When false, disables auto-injection of thread_id and source_task_id. |
category | string | Optional category: deploy, stack, conventions, gotchas, api, auth, etc. |
source_task_id | string | UUID of the Mesh task that produced this fact. Auto-populated from the runner state file when omitted. |
source_url | string | Optional URL/path to the source of this knowledge. |
tags | array | Additional tags for filtering. |
thread_id | string | Thread identifier. Auto-populated from the runner state file when omitted. |
update_task
Update task fields. Returns a lean confirmation by default (id, status_id, assignee, updated_at) — the card's static fields are not echoed back; full=true or get_task returns them.
| Parameter | Type | Description |
|---|---|---|
task_id * | string | Task ID. |
completion_signal | boolean | Mark agent-side work as finished. |
custom_fields | object | Custom field values to update. |
delegation_level | string | Routing after work: auto, review, or supervised. |
description | string | New description. |
due_date | string | Due date in RFC3339 format. Pass an empty string to clear it. |
estimated_hours | number | Estimated hours. |
full | boolean | Return the complete updated task (all fields, verbatim) instead of the lean confirmation (id, status_id, assignee, updated_at). |
labels | array | New labels. |
priority | string | New priority. |
start_after | string | Hold the task out of the queue until this moment, RFC3339 with Z or an offset (2026-11-01T09:00:00+03:00). From an agent it must be the published time of an external event, given with start_after_evid… |
start_after_evidence | object | Required by the server for an agent's start_after: {event_ref, source, why}, the same rules as wait_for on=time. |
start_after_origin | string | Optional, only agent_evidence. The server derives the origin from the caller; a person's date needs no evidence. |
title | string | New title. |
wait_for
End your turn waiting on an event: another card (on=card), a merge request (on=mr), a CI pipeline or GitHub Actions run (on=pipeline), the runner's merge gate on a reviewed head (on=merge), a runner registration (on=registered), the published moment of an external event (on=time, with event_ref, source and why) or, only on a card a lead labelled wake:manual, a passive wait with no observer and no timer that a new comment or the lead's action ends (on=manual, with note saying why). A GitHub PR merge is on=mr provider=github until=merged (project_path owner/repo, mr_iid the PR number, after_sha…
| Parameter | Type | Description |
|---|---|---|
on * | string | What you wait on: card, mr, pipeline, time, merge, registered or manual. Only the fields of that kind are read; after_* and registration* on a kind that does not take them are refused. |
task_id * | string | The card you are working on (UUID or 6-12 hex short id). |
after_pipeline_id | number | Baseline of until=green or changed: the pipeline id you observed (on=pipeline: equal to pipeline_id). Send with after_sha and after_status. |
after_sha | string | on=merge, required: full 40 or 64 hex SHA of the reviewed head. on=mr or pipeline, optional baseline: the head SHA you observed. |
after_status | string | Baseline status: opened for until=merged; for until=green or changed the pipeline status you observed (running, failed, success, manual, ...). |
criterion | string | on=card with target_condition=artifact_published: the result you wait for, as its producer will name it in the evidence (max 500 chars). |
event_ref | string | on=time, required: the external event the moment belongs to, e.g. nightly-export (max 500 chars). |
mr_iid | number | on=mr or merge: merge request iid within project_path (not the global id). |
note | string | Why you wait and what ends the wait; the generated comment shows it whole, the wait itself keeps its first 500 characters. Required for on=manual. |
pipeline_id | number | on=pipeline: the pipeline id to wait on. |
project_path | string | on=mr, pipeline or merge: project path, e.g. entire-vc/evc-mesh. |
provider | string | on=mr: gitlab or github. on=pipeline: gitlab (default) or github for an Actions run (project_path owner/repo, pipeline_id the run id). on=merge: gitlab only; a GitHub PR merge is on=mr provider=github… |
registration | string | on=registered: ops-review, gmail, receipt, lifecycle, stall, recovery, queue or native. |
registration_ref | string | on=registered: ops-review or native: the 64-hex id; gmail: gmr_<12 hex>; receipt, lifecycle, stall, recovery, queue: this card's 8-hex id (may be omitted). |
required_jobs | array | on=pipeline, or on=mr with until green or changed: job names to read the wait from; omit for the whole pipeline. |
session_id | string | Optional runner session id (max 200 chars), copied onto the recorded outcome and wait. |
source | string | on=time, required: where the event's time is published: an https:// URL, comment:<uuid> or artifact:<uuid> written by someone else. A card is not a source. |
target_condition | string | on=card: what the card must reach: task_done (default), shipped, deployed, accepted or artifact_published (a named result of that card: give criterion; its owner records the evidence). A card closed w… |
target_task_id | string | on=card: the card you wait on. Creates or reuses a blocks dependency on it; the receipt's wait names that edge (dependency_id, dependency_generation) and dependency_owned=true only when this wait crea… |
turn_id | string | Optional turn id within the session (max 200 chars), copied onto the outcome. |
until | string | on=mr: merged, green or changed. on=pipeline: finished, green or changed. |
until_at | string | on=time: when the external event happens, RFC3339 with Z or an offset (2026-10-29T06:00:00Z, 2026-10-29T09:00:00+03:00), 5 minutes to 30 days from now. Not a retry or poll interval: a wait on a card,… |
vcs_link_id | string | on=mr: id of a VCS link of this card. Alternative to provider + project_path + mr_iid. |
why | string | on=time, required: what happens at until_at and why not earlier, 10 to 500 chars. |