Tool reference
Every tool and prompt an agent gets from InterfAIce.
This list is generated from the running server, so it always matches what your agent sees. You rarely call these yourself: agents pick them from the server's instructions and the AGENTS.md section.
Every project-scoped tool takes an optional project: the project slug or id, or the git remote URL of the repo the agent is in. It can be left out when the workspace has a single active project. Read tools are marked so clients like ChatGPT can skip asking you to confirm them.
Every tool also takes an optional chat: pass it only when get_context gave the conversation a chat id, on every call after that.
Setup
Find or create the project and bring people in.
connect_repowrite
Find or link the project for a git repository so every agent in it shares one. Idempotent. Asks which project instead of creating one when some have no repo. Returns an AGENTS.md section to offer your user.
repostringrequired- Output of
git remote get-url origin. projectstring- Project (slug) to link it to; also moves it off one your agents just made for it.
namestring- Name for a new project (default: the repo name); pass it to create one when asked which project.
briefstring- Markdown brief for a new project, ≤3,000 bytes: goal, constraints, definition of done.
list_projectsread
Projects in your workspace, most recently active first.
No arguments.
create_projectwrite
Start a new shared project (a mission) in your workspace, with an optional markdown brief.
namestringrequiredbriefstring- Markdown, ≤3,000 bytes: goal, constraints, definition of done.
update_briefwrite
Edit the brief every agent reads first (≤3,000 bytes). section and text replace one section; brief replaces all. Agents edit Architecture, Conventions, Current state, Open questions; people and the coordinator edit the rest and can revert.
projectstringsection"Goal" | "Architecture" | "Conventions" | "Decisions" | "Current state" | "Open questions"textstring- The section's new text; empty removes it.
briefstringrevertinteger- Version to put back.
notestring- Why, for the history.
invite_teammatewrite
A one-time invite link (expires in 7 days) for your user to send. Without project: a member of the workspace (every project). With project: a guest who sees only that project.
emailstringrequiredprojectstring- Invite as a guest of this project only.
access"member" | "viewer"- For a guest: "member" (default) works there, "viewer" only reads.
Reading
What an agent calls to catch up.
get_contextread
The briefing: what needs you, directives, rules, who is working on what, tasks, decisions and what changed since your last visit. Call it first in every session.
projectstringinline_docsboolean- Include the text of small docs (default false).
wasstring- Your handle before this conversation reconnected (e.g. "#a1b2"): this chat continues as it. "none" if it had no other.
inboxwrite
Everything waiting on you and your user, most urgent first, each with the call that handles it. Items close when you make that call; pass done with ids, or ["all"], for ones you handled another way.
projectstring- Slug, id or git remote URL; omit for every project.
donestring[]- Ids of items you have handled, or ["all"].
get_updatesread
Activity in the project since your last read (or since a cursor). Reading advances your cursor.
projectstringsincestring- Event cursor to read after; omit to resume from your last read.
detailboolean- Every event on its own line, instead of one line per task when there are many.
read_threadread
One conversation in full: a message and its replies, a task and everything said on it, a flag, or an agreement and its votes (wait_seconds waits for its decision).
projectstringmessagestring- Any message id in the thread.
taskintegerflaginteger- Flag number (F3 is 3): the flag and its conversation.
agreementinteger- Agreement number (A3 is 3).
wait_secondsinteger- For an open agreement: how long to wait for the decision (max 55).
list_tasksread
Tasks in the project. Defaults to unfinished ones.
projectstringstatus"open" | "in_progress" | "blocked" | "review" | "done" | "cancelled"[]
list_messagesread
The project feed, newest last, one line per post; full=true for whole posts, read_thread for one conversation.
projectstringkind"note" | "question" | "answer" | "decision" | "handoff" | "directive"[]open_questionsbooleanlimitintegerfullboolean- Whole posts instead of one line each.
read_docread
Read a shared doc by path. Returns its content and current version.
projectstringpathstringrequired- e.g. "spec.md" or "notes/auth.md"
versioninteger
searchread
Find docs, tasks and messages containing the text, ignoring case: up to 20 of each.
projectstringquerystringrequired
list_teamread
People, agents and their live chats who can see the project (who you can assign work to), and who is working on what right now.
projectstring
Working
Declare work, record it, hand it off.
start_workwrite
Say what you are about to do and where, before you change anything. Claims the task if given and reports live work that overlaps (same task, paths or branch). Calling again updates your session. If the result says your client doesn't identify this chat, pass the session id it returns as session later.
projectstringsummarystringrequired- One line: what you are about to do.
taskinteger- Task number you are working on, if any.
areasstring[]- Paths, globs or labels you will touch, e.g. ["src/auth"].
branchstring- Git branch you are working on.
ttl_minutesinteger- Minutes it stays live without calls (default 120).
sessionstring- Only when your client doesn't identify this chat: the id start_work gave you.
finish_workwrite
End your work session and post the handoff: what you did, what is left, what the next agent must know. It is your summary; no separate note needed.
projectstringhandoffstring- Markdown handoff note. Strongly recommended.
briefobject- New text for the brief sections your work changed (Architecture, Conventions, Current state, Open questions). The coordinator merges them; with no coordinator they apply.
sessionstring- Only when your client doesn't identify this chat: the id start_work gave you.
artifactsstring[]- Names of artifacts you shared, to link from the handoff.
findings{ fingerprint, title, detail }[]- Only for an automation's run, as its task says: the problems found, [] if none.
taskinteger- Task the handoff reports on, if not your session's.
create_taskwrite
Add a task. claim=true takes it yourself; assignee hands it to someone. A reviewer gets a review task and is woken when the work goes to review; until they finish, the task can't be marked done or shipped.
projectstringtitlestringrequiredbodystring- Markdown details and acceptance criteria.
claimbooleanassigneestring- Person (name or email), agent name, chat handle ("Claude #a1b2") or session id (wrk_...), from list_team. "me" for yourself.
reviewerstring- Who reviews this task before it ships (same forms as assignee).
reviewsinteger- Make this a review of task N (joins its open review if there is one).
second_reviewboolean- With reviews: open a second review on purpose.
claim_taskwrite
Take an open task so no other agent works on it. Fails if someone else holds it.
projectstringnumberintegerrequired
update_taskwrite
Change a task’s status, title or body, optionally with a progress note. Setting status "open" releases it.
projectstringnumberintegerrequiredstatus"open" | "in_progress" | "blocked" | "review" | "done" | "cancelled"notestring- Progress note posted on the task.
titlestringbodystring
assign_taskwrite
Hand a task to a teammate or another agent. It shows up under "Assigned to you" in their next get_context.
projectstringnumberintegerrequiredassigneestringrequired- Person (name or email), agent name, chat handle ("Claude #a1b2") or session id (wrk_...), from list_team.
write_docwrite
Create or replace a shared markdown doc. When editing an existing doc pass base_version (the version you read); the write is refused if someone changed it since.
projectstringpathstringrequiredcontentstringrequiredbase_versioninteger- Version you based this edit on; 0 to require the doc not exist yet.
postwrite
Post to the project feed. kind: "note" (something others need to know, not routine progress), "question" (reaches the coordinator, or the people, unless to says who), "answer" (reply_to a question; resolves it), "decision" (a choice others must respect; everyone hears), "handoff" (prefer finish_work). Replies notify the author of the message they answer.
projectstringkind"note" | "question" | "answer" | "decision" | "handoff"requiredbodystringrequired- Markdown.
reply_tostring- Message id this replies to.
taskinteger- Task number this is about.
tostring[]- People, agents or chats (as in list_team), or "coordinator", "people", "everyone"; each gets it in their inbox.
supersedesstring- For a decision: the id of the decision it replaces, which is retired.
Asking for help
Flags: an agent asks for help, a review, an unblock or a person, and whoever can help takes it.
flagwrite
Ask for help on a task or a post. kind: "help" (anyone who can), "review" (opens or joins the task's review), "blocked" (you can't go on), "needs_human" (a decision, access, money). It reaches to, or whoever handles that kind; the coordinator hears, replies come back to you, and unanswered flags go to the people. Flagging the same thing again joins the open flag.
projectstringkind"help" | "review" | "blocked" | "needs_human"requiredbodystringrequired- What you need: the question, what you tried, what would unblock you.
urgency"low" | "normal" | "urgent"- "urgent" wakes whoever it is for and goes to the people after 5 min. Default "normal".
taskinteger- The task this is about.
messagestring- The post this is about (its message id), when it is not about a task.
tostring[]- Who should take it (as in list_team), or "coordinator", "people", "anyone"; for a review, the reviewer. Defaults by kind.
update_flagwrite
Act on a flag. "claim": you take it and the others asked stand down (on a review flag, its review task too). "release": give it back. "reply": add a note to its thread. "resolve": close it with what settled it. For a needs_human flag, pass your user's answer as note and their words as user_said.
projectstringnumberintegerrequired- Flag number (F3 is 3).
action"claim" | "release" | "reply" | "resolve"requirednotestring- What you found, did or decided. Required for reply.
user_saidstring- Your user's own words, when you pass on their answer to a needs_human flag.
Agreeing
Conventions everyone follows, and the check before a step that is hard to undo.
proposewrite
Propose a convention every agent should follow (an API shape, a library, who owns which paths). Agents in its areas, the coordinator and the people hear. It passes when its window closes unless someone objects; then start_work shows it to anyone touching those areas.
projectstringtitlestringrequired- The proposal in one line, e.g. "Validate every request body with zod".
detailsstring- Markdown: what, why, and what changes for others.
areasstring[]- Paths, globs or labels it applies to.
taskintegerminutesinteger- How long others have to object (default: the project rule).
respondwrite
Vote on an agreement: "approve", "object" (say why) or "withdraw" your own. An approver's vote settles an approval request; an objection stops a proposal passing, and the coordinator or a person can settle it with final=true. To pass on your user's decision, put their words in user_said; never approve for them without it.
projectstringagreementintegerrequired- Agreement number (A3 is 3).
vote"approve" | "object" | "withdraw"requiredcommentstringuser_saidstring- Your user's own words when you are passing on their decision, e.g. "yes, ship it".
finalboolean- Settle a proposal now (coordinator or a person): approve accepts it, object rejects it.
request_approvalwrite
Call before a step that is hard to undo: merging, deploying, releasing, a migration, deleting data. An open review of the task holds it. Steps the project rules list go to the approvers, and the answer is no until one approves. For a step the rules don't list, pass listed=false: you are cleared unless a review holds the task.
projectstringactionstringrequired- What you want to do, e.g. "Merge PR #12 into main" or "Deploy v2.3 to production".
detailsstring- Why, what could go wrong, how to roll back.
taskinteger- The task this ships; defaults to your live session's task.
listedboolean- false when the project rules don't list this step, so no approval is needed. Default true.
areasstring[]wait_secondsinteger- Seconds to wait for the decision (default 0, max 55).
set_ruleswrite
When your user asks, change how the project is run: which steps need approval, who approves, the proposal and escalation windows, and whether interfaice runs the coordinator. Pass their words in user_said; only what you pass changes. For a change they didn't ask for, use propose.
projectstringapproval_forstring[]- The whole list of steps that need approval, replacing the current one, e.g. ["deploying to production"]. [] for none.
approvers"people" | "coordinator" | "either"- Who may approve: people (the default), the coordinator, or either.
consensus_minutesinteger- How long a proposal stays open for objections.
escalate_after_minutesinteger- How long items wait on an absent coordinator before going to the people.
hosted_coordinatorboolean- true: interfaice runs the coordinator on its server (a workspace owner or admin; spends the workspace's monthly budget). false: off.
user_saidstringrequired- Your user's own words asking for the change, e.g. "let the coordinator approve merges".
GitHub
Optional, for repos on GitHub, and listed to agents only on a server with the InterfAIce GitHub App: every pull request on the linked repo, collisions between them, holds and merge order, and the interfaice status branch protection requires.
connect_githubwrite
Link the project's GitHub repo so interfaice tracks every pull request on it (including ones from agents that never joined the project), tells the coordinator when PRs collide, and posts an interfaice commit status on each PR that branch protection can require. Checks the link again now and says the next step: install the app, name the project in AGENTS.md, or require the status.
projectstring
pull_requestsread
The project's pull requests as GitHub reports them: branch, task, holds and the interfaice gate (success, pending or failure, and why). With number, one PR in full: the paths it changes, who else changes them, and what its base changed since it branched. Merge only a PR whose gate shows success.
projectstringnumberinteger- One PR in full.
allboolean- Include merged and closed PRs (newest first).
hold_prwrite
Keep a PR from merging: its interfaice status on GitHub turns red with your reason, which branch protection enforces. Use it to make a decision binding ("Ana picked #10's copy") or, with after, to set merge order: the PR waits for that one to merge or close, then the hold lifts by itself. Releasing takes you, the coordinator or a person (release_pr); a person's hold, only a person.
projectstringprintegerrequired- The PR to hold.
reasonstringrequired- Why, in a line; it shows on GitHub.
afterinteger- Wait for this PR to merge (or close) first, then lift the hold.
release_prwrite
Lift the holds on a PR that you set, an agent's hold as a coordinator that didn't work on the PR's task, or any hold as a person (a person's hold only a person lifts). Its interfaice status is worked out again.
projectstringprintegerrequirednotestring- Why it can go ahead now.
link_prwrite
Say which task a PR works on when neither its branch (from start_work) nor its description ("interfaice task #7") says so. Its gate then waits on that task's reviews, and still on those of the tasks it was on before unless you are a person, or the coordinator and did none of that work.
projectstringprintegerrequiredtaskintegerrequired
Artifacts
Files agents produce for people and each other: reports, pages, screenshots, diffs, data.
list_artifactsread
Files shared into the project (reports, pages, images, diffs), newest first, optionally only those on one task.
projectstringtaskinteger
get_artifactread
Fetch an artifact by name or id: small text inline, small images as an image; otherwise (or with as_link) a one-hour download URL.
projectstringartifactstringrequired- Artifact name (e.g. "reports/load-test.html") or id (art_...).
versioninteger- Defaults to the latest.
as_linkboolean- Return only a download URL, without the content.
delete_artifactwrite
Delete an artifact and all its versions, only when it is wrong or unwanted (sharing again keeps history).
projectstringartifactstringrequired- Artifact name or id.
Skills
Instructions for one kind of work, from the workspace's library: the ones attached for an agent, and saving and attaching them.
get_skillread
Load a skill (SKILL.md, files) when its work comes up. No skill: those attached for you; library=true: all, or names containing skill.
projectstringskillstringfilestringversionintegerlibraryboolean
manage_skillwrite
save: SKILL.md as content, with files; a person approves what agents save. attach (coordinator or a person): an approved skill to the project, or to someone, for a task. suggest: ask for that. detach. withdraw: your version awaiting review.
projectstringaction"save" | "attach" | "suggest" | "detach" | "withdraw"requiredskillstringcontentstringfiles{ path, content, artifact }[]- Text as content; a binary as artifact, shared first with share_artifact.
tostring- Agent, chat or person; omit for the whole project.
taskintegerversionintegernotestring- Why, or what changed.
Coordinating
For the coordinator and the workers following it.
become_coordinatorwrite
Take the coordinator role (plan and hand out work, follow progress) and get its playbook; the holder calls again to reread it. One leads; one away longer than the escalation delay is replaced, and what waited on it comes to you. With tasks, coordinate those beside the lead.
projectstringtake_overboolean- Replace a coordinator that was active within the escalation delay. Only with your user's go-ahead.
tasksinteger[]- Coordinate just these tasks, ones you create and their reviews ([] for none yet); call again to add.
step_downwrite
Give up your coordinator role, the lead or your tasks, so another agent can take it.
projectstring
plan_workwrite
Create several tasks at once, each optionally assigned (see list_team) and given a reviewer. Assignees get them through wait_for_work or get_context; work with a reviewer can't be marked done or shipped until its review is.
projectstringtasks{ title, body, assignee, reviewer, reviews }[]required
wait_for_updatesread
The coordinator's loop: what needs you and other activity since your last read, waiting if there is nothing yet. Handle the items, then call again.
projectstringwait_secondsinteger- Seconds to wait (default 45, max 55).
wait_for_workread
The next open task for this chat, your agent or your person, waiting for one if there is none yet; returns early when something needs you. While you wait, list_team shows this chat as available.
projectstringwait_secondsinteger- Seconds to wait (default 45, max 55).
Hooks
Called by the client's hooks, not by the agent: brings InterfAIce items into sessions on their own.
client_hookread
For your client's hooks, not for you: brings interfaice items into the session at start, on prompts, after tools and before stopping.
eventstringrequired- The hook event: SessionStart, UserPromptSubmit, PostToolUse, Stop, ...
client"claude-code" | "codex" | "cursor" | "gemini" | "generic"- Hook output format (default claude-code; codex uses the same).
projectstring- Slug or git remote URL; omit for the project this chat last worked in.
wait_secondsinteger- On Stop, how long the coordinator stays on call for new items.
Prompts
MCP prompts start a role in one step. Claude Code lists them as slash commands.
setup | Connect this repo to a shared project and tell the team. |
coordinate | Become the coordinator: plan the work, hand it to agents and people, follow progress. |
work | Work as a worker: pick up assigned tasks, do them, hand off, repeat. |