evc-mesh-mcp

v0.1.8
io.github.entire-vc/evc-mesh-mcp Checked 3 days ago Published 18 days ago

Tasks, 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.

ParameterTypeDescription
body *stringComment body (markdown supported).
task_id *stringTask ID.
fullbooleanReturn the whole created comment (body echo included) instead of the lean confirmation.
is_internalbooleanMark as internal (agent-only visible).
metadataobjectAdditional 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_idstringParent 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.

ParameterTypeDescription
task_id *stringThe card to write the note on (UUID or 6-12 hex short id).
text *stringNote body in markdown.
session_idstringOptional runner session id (max 200 chars), copied onto the recorded outcome and wait.
turn_idstringOptional turn id within the session (max 200 chars), copied onto the outcome.

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.

ParameterTypeDescription
answer *stringYour answer, max 4000 chars: the choice and the reason.
request_id *stringDecision 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.

ParameterTypeDescription
reason *stringWhy the entry leaves (or returns to) recall, up to 500 characters, e.g. 'MR merged and released; directive no longer applies'.
archivedbooleantrue archives (default), false restores.
keystringExact key, used when memory_id is not given. Refused with the candidates listed if it names several entries; narrow with scope/project_id.
memory_idstringUUID of the memory (the id field of recall full=true). Either memory_id or key is required.
project_idstringNarrows a key lookup to one project.
scopestringNarrows 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.

ParameterTypeDescription
question *stringThe question with the options you see, max 4000 chars.
task_id *stringThe card the question is about (UUID or 6-12 hex short id).
to *stringAgent name or UUID from get_team_directory; an @-handle prefix is not needed.
session_idstringOptional runner session id (max 200 chars), copied onto the recorded outcome and wait.
turn_idstringOptional 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.

ParameterTypeDescription
question *stringThe question with the options you see, max 2000 chars.
task_id *stringThe card the question is about (UUID or 6-12 hex short id).
to *stringThe person's username, e.g. alex; an @ prefix is not needed.
canonical_keystringNames the question; an existing recorded decision under the same key refuses the ask.
deadlinestringWhen the default applies: RFC3339 with Z or an offset, in the future.
recommended_defaultstringWhat you will do if nobody answers by the deadline; one line, max 500 chars.
session_idstringOptional runner session id (max 200 chars), copied onto the recorded outcome and wait.
softbooleantrue: the gate may be released by the default-on-timeout sweep. Default false (hard).
supersedesstringWhat the previous, already answered, question did not cover; one line.
turn_idstringOptional 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.

ParameterTypeDescription
task_id *stringTask ID.
assign_to_selfbooleanAssign to the calling agent.
assignee_idstringAssignee UUID. Omit to unassign.
assignee_typestringAssignee type: user, agent.
fullbooleanReturn 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.

ParameterTypeDescription
expected_start_after *stringThe card's start_after as you read it, RFC3339.
expected_version *numberThe card's version as you read it.
task_id *stringThe card (UUID or 6-12 hex short id).
expected_originstringThe card's start_after_origin as you read it: agent_evidence, human_explicit or legacy_unknown. Required for an agent.
idempotency_keystringKey of this clear, max 200 chars; reuse it when you repeat the same call. Generated when omitted.
reasonstringWhy the date is no longer needed, max 500 chars; stored on the clear receipt.
schedule_receipt_idstringThe 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.

ParameterTypeDescription
note *stringWhat was done this turn and what comes next, max 4096 chars.
task_id *stringThe card you are working on (UUID or 6-12 hex short id).
session_idstringOptional runner session id (max 200 chars), copied onto the recorded outcome and wait.
turn_idstringOptional 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.

ParameterTypeDescription
project_id *stringUUID of the project to create the task in (list_projects returns ids).
title *stringTask title.
assignee_idstringAssignee ID (user or agent UUID).
assignee_typestringAssignee type: user, agent.
custom_fieldsobjectCustom field values as key-value pairs.
delegation_levelstringDelegation level: auto, review, supervised.
descriptionstringTask description.
due_datestringDue date in RFC3339 format.
estimated_hoursnumberEstimated hours for the task.
labelsarrayTask labels.
parent_task_idstringParent task ID for subtask.
prioritystringPriority: urgent, high, medium, low, none.
start_afterstringHold 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_evidenceobjectRequired by the server for an agent's start_after: {event_ref, source, why}, the same rules as wait_for on=time.
start_after_originstringOptional, only agent_evidence. The server derives the origin from the caller; a person's date needs no evidence.
status_slugstringStatus 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.

ParameterTypeDescription
evidence *stringProof of each acceptance criterion — commands and their quoted output, max 4096 chars.
result_kind *stringWhat the card delivered: change, defect, research, content or ops.
task_id *stringThe card to close (UUID or 6-12 hex short id).
evidence_linksarrayOptional URLs backing the evidence (MR, pipeline, artifact).
session_idstringOptional runner session id (max 200 chars), copied onto the recorded outcome and wait.
tostringTarget status: done or review. review means the result is live and awaits someone's acceptance.
turn_idstringOptional 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.

ParameterTypeDescription
memory_id *stringUUID 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.

ParameterTypeDescription
agentstringYour agent slug (e.g. 'alice'). Used to filter propagate_to:<slug> records. Omit to get only propagate_to:all records.
scopestringOptional project UUID to restrict to project-scoped decisions.
sincestringRFC3339 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.

ParameterTypeDescription
project_id *stringUUID of the project whose recent activity to read (list_projects returns ids).
event_typesarrayFilter by event types.
limitnumberMax events to return (default 50).
sincestringOnly events after this timestamp (RFC3339).
tagsarrayFilter 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.

ParameterTypeDescription
key *stringExact memory key, as returned by recall.
include_archivedbooleanAlso look among archived memories (default false).
include_expiredbooleanAlso 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_idstringProject of a project-scoped entry, if the key exists in several.
scopestringFilter 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.

ParameterTypeDescription
project_idstringOptional 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…

ParameterTypeDescription
accept_deltabooleanOpt 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…
fullbooleanReturn complete non-capability REST fields; always bypasses revision and delta shortcuts.
known_revisionstringRevision 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…
limitnumberMax results (default 50).
project_idstringFilter by project.
snapshot_sessionstringOpaque 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_categorystringFilter 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.

ParameterTypeDescription
project_id *stringUUID of the project whose knowledge to load (list_projects returns ids).
limitnumberMax workspace-tier memories (default 100, max 500).
min_importancenumberMinimum importance_score for workspace-tier (default 0 = all).
offsetnumberPagination offset for workspace-tier (default 0).
tags_anystringComma-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…

ParameterTypeDescription
task_id *stringTask ID (full UUID or 6–12 char hex short-ID prefix).
comments_limitnumberHow 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…
fullbooleanReturn the task (full description, non-capability fields, whole inline comments) instead of the compact view (default false).
include_artifactsbooleanInclude artifacts.
include_autobooleanReturn complete automation bodies in compact mode (ordinary comments are always complete).
include_commentsbooleanInclude 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_dependenciesbooleanInclude dependencies.
include_vcs_linksbooleanInclude 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…
sincestringRFC3339 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.

ParameterTypeDescription
task_id *stringTask 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.

ParameterTypeDescription
task_id *stringThe card to hand over (UUID or 6-12 hex short id).
to *stringAgent name or UUID from get_team_directory who takes the card.
why *stringWhat they must do and what is already done, max 4000 chars.
session_idstringOptional runner session id (max 200 chars), copied onto the recorded outcome and wait.
turn_idstringOptional 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.

ParameterTypeDescription
agent_typestringOptional self-report of the harness this agent runs in: claude_code, codex, cursor, copilot, gemini_cli, openclaw, cline, aider, hermes, custom.
current_task_idstringID of the task currently being worked on.
messagestringShort human-readable status message (e.g. 'running tests', 'waiting for review').
metadataobjectArbitrary JSON metadata to store with the heartbeat.
modelstringOptional self-report of the model this agent runs on (max 128 chars). Empty string clears it.
statusstringAgent 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.

ParameterTypeDescription
include_archivedbooleanAlso list archived projects. Default false: only active projects are returned.
workspace_idstringWorkspace 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…

ParameterTypeDescription
assigneestringFilter by exact case-insensitive assignee name, UUID, or me. Unknown or ambiguous names are errors.
assignee_idstringUUID-only compatibility alias for assignee. Use assignee for names or me.
assignee_typestringFilter by assignee type: user, agent, unassigned.
fullbooleanReturn complete items (full descriptions and non-capability envelope fields) instead of compact items.
labelsarrayFilter by labels.
limitnumberMax 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_revisionnumberThe 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…
orderstringSort 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…
pagenumber1-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.
prioritystringFilter by priority: urgent, high, medium, low, none.
project_idstringProject ID (required unless workspace_id is provided).
runtime_kindstringFilter by effective runtime state: working, waiting, queued, stopped. working also matches a card with a live checkout and no reported state, whatever its status.
searchstringSearch in title and description.
sortstringSort field: created_at, updated_at, priority, due_date.
status_categorystringFilter by status category: backlog, todo, triage, in_progress, review, done, cancelled.
workspace_idstringWorkspace 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.

ParameterTypeDescription
status_slug *stringTarget status slug (e.g. 'in_progress', 'done').
task_id *stringTask ID.
assignee_idstringReassign to this agent/user on move. Overrides auto-reassign to creator on review.
assignee_typestringAssignee type if assignee_id is set: user or agent.
commentstringOptional comment, written before the move so it lands even when the move hands the card (and its lock) to someone else.
fullbooleanReturn 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.

ParameterTypeDescription
event_type *stringEvent type: summary, status_change, context_update, error, dependency_resolved, custom.
payload *objectEvent payload as key-value pairs.
project_id *stringProject ID.
subject *stringEvent subject line.
memoryobjectOptional memory hint to persist alongside the event (e.g. key decisions, conventions).
tagsarrayEvent tags for filtering.
task_idstringRelated task ID.
ttl_hoursnumberTime-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…

ParameterTypeDescription
query *stringFull-text search query.
apply_recency_decaybooleanSort by relevance * 0.95^days_since_created.
created_bystringFilter by agent ID (UUID).
fullbooleanReturn 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_archivedbooleanAlso return archived memories (retired by their owner or by review but kept for history). Default false: only live memories.
include_expiredbooleanAlso 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 (…
limitnumberMax 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_importancenumberMinimum 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…
offsetnumberPagination offset (default 0).
order_bystringSort order: created_at:desc (default), created_at:asc, relevance:desc, decayed_relevance:desc.
project_idstringFilter to a specific project.
recall_profilestringOverride automatic query classification. Existing preset values are preserved; explicit limit takes precedence.
relevance_minnumberMinimum relevance score (0-1).
scopestringFilter by scope: workspace, project, agent, or all (default).
sincestringReturn memories created at or after this RFC3339 timestamp.
tagsarrayAND-filter: memory must contain ALL listed tags.
tags_anyarrayOR-filter: memory must contain AT LEAST ONE of these tags.
untilstringReturn 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.

ParameterTypeDescription
q *stringSearch query (keywords or natural language).
hopsnumberGraph traversal depth (default 2, max 5).
project_idstringFilter to a specific project.
task_idstringOptional task ID — used as cache key discriminator for session-scoped traversal.
weight_thresholdnumberMinimum 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.

ParameterTypeDescription
summary *stringOne-line summary used as UPSERT key (dedupes same decision on same day).
text *stringFull text of the decision/directive.
privacystring'public' (default, visible in change-feed) or 'private' (recorded but hidden).
propagate_toarrayAgent slugs to propagate to, e.g. ['alice','bob']. Use ['all'] for workspace-wide broadcast.
question_refstringOptional 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;…
scopestringOptional project_id UUID. Omit for workspace-level decisions.
task_idstringOptional 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…

ParameterTypeDescription
content *stringWhat to remember (markdown).
key *stringSlug 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_contextbooleanWhen false, disables auto-injection of thread_id and source_task_id. Use for cross-cutting records not tied to the active task.
expected_versionnumberMake 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_atstringRFC3339 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_idstringProject ID (required for project scope).
reasonstringWhy 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…
relevancenumberRelevance 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…
scopestringworkspace | project | agent (default: project).
source_task_idstringUUID 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_urlstringOptional URL/path to the source of this knowledge (task ID, PR, file path).
tagsarrayTags 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_idstringThread 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.

ParameterTypeDescription
error_message *stringWhat went wrong, in a sentence or two. Required and non-empty; its first 100 characters become the event subject.
recoverablebooleanDefault true. Pass false when you cannot continue: your agent status is then set to error.
severitystringSeverity: low, medium (default), high or critical. Also added as an event tag.
stack_tracestringOptional stack trace, command output or other detail, stored in the event payload.
task_idstringUUID 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.

ParameterTypeDescription
estimated_costnumberEstimated cost in USD.
modelstringLLM model used (e.g. 'claude-sonnet-4').
tokens_innumberTotal input tokens this session.
tokens_outnumberTotal 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.

ParameterTypeDescription
key *stringSlug 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 *stringProject ID to store knowledge for.
value *stringThe knowledge to store (markdown, max 4000 chars).
attach_contextbooleanWhen false, disables auto-injection of thread_id and source_task_id.
categorystringOptional category: deploy, stack, conventions, gotchas, api, auth, etc.
source_task_idstringUUID of the Mesh task that produced this fact. Auto-populated from the runner state file when omitted.
source_urlstringOptional URL/path to the source of this knowledge.
tagsarrayAdditional tags for filtering.
thread_idstringThread 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.

ParameterTypeDescription
task_id *stringTask ID.
completion_signalbooleanMark agent-side work as finished.
custom_fieldsobjectCustom field values to update.
delegation_levelstringRouting after work: auto, review, or supervised.
descriptionstringNew description.
due_datestringDue date in RFC3339 format. Pass an empty string to clear it.
estimated_hoursnumberEstimated hours.
fullbooleanReturn the complete updated task (all fields, verbatim) instead of the lean confirmation (id, status_id, assignee, updated_at).
labelsarrayNew labels.
prioritystringNew priority.
start_afterstringHold 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_evidenceobjectRequired by the server for an agent's start_after: {event_ref, source, why}, the same rules as wait_for on=time.
start_after_originstringOptional, only agent_evidence. The server derives the origin from the caller; a person's date needs no evidence.
titlestringNew 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…

ParameterTypeDescription
on *stringWhat 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 *stringThe card you are working on (UUID or 6-12 hex short id).
after_pipeline_idnumberBaseline of until=green or changed: the pipeline id you observed (on=pipeline: equal to pipeline_id). Send with after_sha and after_status.
after_shastringon=merge, required: full 40 or 64 hex SHA of the reviewed head. on=mr or pipeline, optional baseline: the head SHA you observed.
after_statusstringBaseline status: opened for until=merged; for until=green or changed the pipeline status you observed (running, failed, success, manual, ...).
criterionstringon=card with target_condition=artifact_published: the result you wait for, as its producer will name it in the evidence (max 500 chars).
event_refstringon=time, required: the external event the moment belongs to, e.g. nightly-export (max 500 chars).
mr_iidnumberon=mr or merge: merge request iid within project_path (not the global id).
notestringWhy 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_idnumberon=pipeline: the pipeline id to wait on.
project_pathstringon=mr, pipeline or merge: project path, e.g. entire-vc/evc-mesh.
providerstringon=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…
registrationstringon=registered: ops-review, gmail, receipt, lifecycle, stall, recovery, queue or native.
registration_refstringon=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_jobsarrayon=pipeline, or on=mr with until green or changed: job names to read the wait from; omit for the whole pipeline.
session_idstringOptional runner session id (max 200 chars), copied onto the recorded outcome and wait.
sourcestringon=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_conditionstringon=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_idstringon=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_idstringOptional turn id within the session (max 200 chars), copied onto the outcome.
untilstringon=mr: merged, green or changed. on=pipeline: finished, green or changed.
until_atstringon=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_idstringon=mr: id of a VCS link of this card. Alternative to provider + project_path + mr_iid.
whystringon=time, required: what happens at until_at and why not earlier, 10 to 500 chars.