Tokenrip
Server Details
Shared workspaces for documents, tables and tasks, with handoffs between chats and assistants.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- tokenrip/cli
- GitHub Stars
- 4
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 108 tools
The set has many overlapping or near-duplicate tools: artifact_get, artifact_read, artifact_get_content, artifact_versions, artifact_patch, and artifact_update all concern reading or writing artifacts; task_complete, task_report, and output_record all record work; check, workspace_list, and workspace_load all surface what needs attention. Descriptions are detailed, but the boundaries require deep reading and invite misselection.
Most tools follow a predictable snake_case resource_action pattern such as artifact_get, task_create, workspace_list, team_show, and table_get_rows. A few single-word or irregular names (check, search, whoami, activity) deviate, but the overall convention is clear.
108 tools is far beyond the 3-15 well-scoped range and creates a very heavy surface for an agent to navigate. Although Tokenrip is broad, the count is an extreme mismatch for practical tool selection and orchestration.
The surface covers artifacts, tasks, reviews, tables, folders, teams, workspaces, triggers, skills, outputs, trash, storage, notifications, and sessions with full lifecycle operations. Minor gaps remain, such as no explicit team metadata update tool and no standalone table list/drop tool, but most workflows have a path.
Publisher details
- Operator
- Tokenrip · Publisher source
- Operator website
- https://tokenrip.com
- Vendor relationship
- First-party
- Documentation
- https://docs.tokenrip.com
- Privacy policy
- Not provided
- Trust center
- Not available
- Restrictions
- Requires a free Tokenrip account: sign in with your email and a six-digit code (OAuth 2.1), or use an API key. No paid plan or admin approval needed; 1 GB of storage is free. · Publisher source
Available Tools
108 toolsactions_usageShow actions usageARead-onlyIdempotentInspect
Read this month's actions for your account, or a team you belong to (team): the plan, the actions used and the limit (null: no limit), when the allowance resets (resetsAt, the 1st of the next month, UTC), mode (measure: nothing is paused; enforce: agents' changes are paused at the limit), and the actions per workspace, each with its agents (each a principal by handle, the busiest first, with its count) and unattributed (actions no agent is recorded for: before per-agent counting began, or a platform admin's removal). A workspace in the trash still lists its count; workspaces purged for good read as one entry with null id, slug and name. An action is one agent operation that changed a workspace and shows in its history: a bulk change counts once per workspace it changes; reads, failed attempts, a person's own changes in the browser and work outside a workspace are free. A workspace's actions count toward its owner, whoever's agent made them. A platform admin reads any team, or another account with account (an account id or alias; anyone else: FORBIDDEN).
Inputs: why, team, account. Returns: mode, plan, used, limit, +3 more
activityRead activity feedARead-onlyIdempotentInspect
Read authorized personal or team activity with keyset pagination and rendered attribution. A page may hold fewer than limit events when they are large; while nextCursor is not null, call again with cursor: nextCursor. subject narrows it to one subject's history: the id an event names, or an artifact's id or alias; an artifact subject is returned by its id, or with id null once it is purged forever (its title stays in the payload).
Inputs: why, team, type, actor, +4 more. Returns: items, partial, nextCursor
artifact_appendAppend to artifactAInspect
Add text to the end of a text artifact (a running log, a notes file, a tracker) without sending or reading the rest: the server appends it to the current content, on a new line when the file is not empty and does not end with one. Nothing already in the file is changed or removed: the new current version (a new version id) holds all of the earlier text followed by the addition. So an append stores no separate copy of the text as it was before, whatever the file's history setting says, unless a task's review round uses that version (then it is kept, and the storage check counts the whole new version). expectedVersionId is never needed (when sent it is checked first, and a stale one is CONFLICT). Text files only: a binary file is refused (replace it with artifact_update), and a table takes rows (table_append_rows).
Inputs: id (required), text (required), why, expectedVersionId. Returns: content, version, artifact
artifact_bulkMove or delete artifacts in bulkADestructiveIdempotentInspect
Apply move or delete independently to at most 200 artifacts (ids: their ids, aliases or page URLs). move needs its destination: folder (an id, or a slug in the artifacts' workspace, else in team, else your personal folders), or folder: null to unfile them. delete moves each to the trash for 30 days and returns their dates; it takes no folder or team. Workspace items need why; a revision entry per item is optional and refuses (CONFLICT) that item if it changed since. Returns how many succeeded and, per failed item, its id and the refusal code its own call answers; nothing is retried.
Inputs: ids (required), action (required), why, team, +2 more. Returns: failed, deleted, succeeded
artifact_deleteDelete artifactADestructiveIdempotentInspect
Move an artifact to the trash for 30 days: reads then answer DELETED with the dates, and the alias stays held. Standalone: the owner or a platform admin. Workspace artifacts: anyone in the workspace but a viewer, with why; expectedWorkspaceRevision is optional and refuses (CONFLICT) if the artifact changed since. Repeating it returns the same dates.
Inputs: id (required), why, expectedWorkspaceRevision. Returns: id, type, purgeAt, deletedAt
artifact_forkCopy artifactAInspect
Fork a readable non-table artifact (id: its current version) or one version by its own id (versionId), as POST /v0/forks. The copy lands in the source's workspace when you can write there (with why); a workspace file you read only by its public link lands standalone in your own account (no why); a standalone source lands standalone. folder files it: a folder id, or a slug (in the workspace the copy lands in, else in team, else your personal folders). The receipt's forkedFrom names the version copied: { artifactId, versionId, version }, as artifact_get and artifact_list state it. The copy keeps the source's description; a workspace copy with none returns a hint saying so.
Inputs: id, why, team, title, +2 more. Returns: artifact
artifact_getGet artifact detailsARead-onlyIdempotentInspect
Read authorized artifact metadata by id, alias or page URL, its description whole. For a workspace member or a platform admin it also lists the tasks that made, have as a result, or use the file (tasks, at most 20, and tasksTotal), and carries Tokenrip's assessment of the file (assessment: its importance, reason, summary, when it was made, whether a guide was used and whether the file changed since; null when it has none) and who kept it from a cleanup list (kept, null when nobody did). An artifact too large for one reply (a long description) comes as complete base64 JSON chunks: call again with the same inputs and continuation { sha256, offset: nextOffset } until nextOffset is null, then decode and join them. Its tasks, tasksTotal, assessment, kept, tableRevision, lastReadAt, updatedAt and workspaceRevision ride beside the first part, outside the chunks, so task work, an assessment, a read or a row written meanwhile does not refuse the continuation. The file itself changing between chunks refuses it with CHANGED_DURING_READ: read it again from the start, without continuation.
Inputs: id (required), why, continuation. Returns: object
artifact_get_contentGet artifact contentARead-onlyIdempotentInspect
Read complete file content inline or through an authenticated immutable version resource. Use table_get_rows for tables.
Inputs: id (required), why, versionId. Returns: content
artifact_listList artifactsARead-onlyIdempotentInspect
List owned or team artifacts with complete offset continuation. Follow nextCursor as offset; stable collections are ordered updatedAt descending then ID descending. Each row carries its importance (high, medium, low or none: how much its workspace's work needs it, as Tokenrip assessed it; null when it has no assessment), outOfDate when the file changed since, when it was last read, and, for a file with no description, its assessment's one-line summary. importance (with workspaceId) lists only the files assessed at those levels; where no file of a workspace you read has an assessment, the empty page carries a note saying where assessments come from.
Inputs: why, team, type, limit, +6 more. Returns: note, items, partial, nextCursor
artifact_moveMove artifact to folderADestructiveIdempotentInspect
Move an artifact into a folder, or unfile it: folder is required, a folder id or a slug (in the artifact's workspace, else in team, else your personal folders), or null to unfile. Workspace artifacts need why; expectedWorkspaceRevision is optional and refuses (CONFLICT) if the artifact changed since.
Inputs: id (required), folder (required), why, team, +1 more. Returns: object
artifact_patchEdit artifact detailsADestructiveIdempotentInspect
Patch artifact details, visibility, folder or history (how many earlier versions its whole-file updates keep: off, all or a count; null follows its folder, then its workspace; not on a table) without creating a version; name at least one. Workspace artifacts need why (except a patch of visibility alone), and expectedWorkspaceRevision when description or metadata is sent (the patch was composed from what you read); with only title, alias, folder, visibility or history it is optional and refuses (CONFLICT) if the artifact changed since. visibility on a workspace artifact is private or link (anyone with the URL reads it, without signing in), set only by the workspace's owner or a member of the team that owns it (share; a guest is refused GUEST_FORBIDDEN). folder moves it (an id, or a slug in its workspace, else in team, else your personal folders; null unfiles); alias null clears it. A link exposes every version it keeps. metadata replaces the stored object, except a table keeps its schema and strict unless they are sent; a sent table schema must be valid (types, enum values, at most one unique column, and each new column name 1 to 256 characters with no leading or trailing space, comma or square bracket) but may keep its stored column names. A schema that declares or moves the key re-keys the rows: repeated values in the new key column are STATE_CONFLICT, and an object or array value or a value over 1024 bytes is INVALID_INPUT, changing nothing. Returns a bounded receipt.
Inputs: id (required), why, team, alias, +7 more. Returns: artifact
artifact_publishPublish artifactAInspect
Publish text as a versioned artifact. description (optional) says what it is, one line first: lists show the first line. A workspace item needs why (workspaceId, or a workspace folder named in folder, homes it there) and takes no visibility, teams or publicAsset (make it readable by anyone afterwards with artifact_share_policy); no expected revision is needed. folder files it: a folder id, or a slug (in workspaceId, else in team, else your personal folders). Typed teams lists are authorized before standalone creation. The bounded receipt includes complete immutable content access. rawUrl is the link to the file itself; url is its page. Stored content and its description count toward the owner's storage; a table takes added records as rows (table_append_rows) without resending the rest. A workspace item created with no description returns a hint saying so.
Inputs: type (required), content (required), why, team, +10 more. Returns: content, artifact
artifact_readRead artifactARead-onlyIdempotentInspect
Read artifact metadata and complete immutable file content. Tables return a typed direction to table_get_rows.
Inputs: id (required), why, versionId. Returns: content, artifact, tableTool
artifact_updateUpdate artifact contentADestructiveInspect
Replace an artifact's content with text (content), a base64 file (base64Content, filename, mimeType), or edits: up to 50 { find, replace } pairs applied in order to the current text on the server, each find occurring exactly once (else nothing changes), so you send only the passage that changes. The result is a new current version of the artifact's own type. Like a file on a computer, the write replaces the content: the earlier version is kept only when the file's history setting keeps it (its own, its folder's or its workspace's: off by default, the last N, or all) or when you send keepPrevious: true. expectedVersionId (currentVersionId from your last read or receipt) is needed only to replace workspace content another agent or person wrote with content; edits never need it. When sent it is checked first, and a stale one is CONFLICT: re-read, then retry with current values. Empty text content is valid. A table takes added records as rows (table_append_rows) without resending the rest.
Inputs: id (required), why, edits, content, +6 more. Returns: content, version, artifact
artifact_uploadUpload fileAInspect
Upload a strictly encoded base64 file. description (optional) says what it is, one line first: lists show the first line. A workspace item needs why (workspaceId, or a workspace folder named in folder, homes it there) and takes no teams; no expected revision is needed. folder files it: a folder id, or a slug (in workspaceId, else in team, else your personal folders). Authorize typed team selection before standalone file creation; returns bounded content access. rawUrl is the link to the file itself; url is its page. Stored content and its description count toward the owner's storage; a table takes added records as rows (table_append_rows) without resending the rest. A workspace item created with no description returns a hint saying so.
Inputs: filename (required), mimeType (required), base64Content (required), why, +8 more. Returns: content, artifact
artifact_version_deleteDelete artifact versionADestructiveIdempotentInspect
Delete one version by its own id (id; the version names its artifact), except the artifact's last remaining version. Standalone: the owner. Workspace artifacts: anyone in the workspace but a viewer, with why; expectedWorkspaceRevision is optional and refuses (CONFLICT) if the artifact changed since. A version a task's review round uses (its draft, or an approver's edit) is kept while that task exists: VERSION_IN_USE with details.task and details.round. A version you cannot read is NOT_FOUND.
Inputs: id (required), why, expectedWorkspaceRevision. Returns: deleted, versionId, artifactId
artifact_version_diffCompare artifact versionsARead-onlyIdempotentInspect
Read a complete text or CSV version diff, as GET /v0/diffs: id (the version, by its own id), or artifactId alone (its current version), against the version before it; with fromVersionId (a version of the same artifact, not later), everything the versions from fromVersionId on changed, against the version before fromVersionId; with baseVersionId instead (a version of the same artifact, not later), against that version itself, as a draft artifact compares with its base (task_get latestRound.draft.artifacts[].base.versionId). Large diffs use a hash-guarded resource; deleting the base version invalidates continuations.
Inputs: id, why, artifactId, baseVersionId, +1 more. Returns: object
artifact_versionsList artifact versionsARead-onlyIdempotentInspect
List artifact versions newest first. Follow nextCursor as offset for complete history. A version whose description is too large for one reply comes alone, as complete base64 JSON chunks of its page: call again with the same inputs and continuation { sha256, offset: nextOffset } until nextOffset is null, decode and join them, then follow that page's nextCursor.
Inputs: id (required), why, limit, offset, +1 more. Returns: object
artifact_versions_pruneDelete old artifact versionsADestructiveIdempotentInspect
Permanently delete an artifact's old versions, keeping the current one and the newest keep (default 0: only the current one). A version a task's review round uses is kept too, whatever keep says; keptInUse counts them. Frees storage; every version counts toward the owner's storage. Nothing goes to the trash, so a prune cannot be undone. A table has rows, not versions (INVALID_TYPE).
Inputs: id (required), why, keep, expectedWorkspaceRevision. Returns: removed, keptInUse, artifactId, freedBytes, +1 more
checkCheck what needs youARead-onlyIdempotentInspect
Check what needs you (this agent key) across every workspace you reach, or only the workspaces you name (ids or slugs, at most 50). Returns, for each workspace with something to report (at most 50 listed; moreWorkspaces counts the rest): waiting, the tasks that wait on you (an exact count, and items with id, title, type and to: do for a task for you, decide for a review addressed to you; at most 20 items in the whole reply, every decide before any do, hasMore where a workspace has more); unreadMessages, the workspace chat's messages you have not been shown (up to 100); lastChange, when the workspace last changed and who changed it, never counting your own changes or the chat (a message on a task's thread is a change), looked for among its newest 1,000 history entries. quietWorkspaces counts the workspaces with nothing to report, and asOf is the time of the answer. include limits it to some parts (waiting, messages, changes): a part left out is absent, never zero. since, the asOf of your previous check, lists a workspace for a change only when the change came after it less 30 seconds, so a change made just before your last check is listed again: compare lastChange.at with what you saw. What waits and unread chat are listed either way. It changes nothing: it marks nothing read, and the call itself is recorded like any call. A workspace you do not reach, one in the trash included, is refused INVALID_INPUT naming workspaces; a slug two of your workspaces share, AMBIGUOUS_REFERENCE with details.candidates (name it by id). WORKSPACE_BUSY: nothing was changed; check again shortly.
Inputs: why, since, include, workspaces. Returns: asOf, waiting, workspaces, moreWorkspaces, +2 more
connection_audit_purgePurge connection call logADestructiveInspect
Delete audit rows older than N days (default 30) for one connection, named by its id alone (a disabled connection's too) or its name with optional team: every caller's rows — your personal connection, or a team connection you created or whose team you own. The cutoff is relative to execution time, so repeating the operation may delete additional newly aged rows.
Inputs: id (required), why, team, olderThanDays. Returns: purged
connection_audit_recentShow recent connection callsARead-onlyIdempotentInspect
Recent connection-call metadata: every caller's rows for one connection, which you must be able to call: its id alone (a disabled connection's too), or its name with optional team. Select at most limit candidates (default 50, max 500); this is not a full historical audit. Every selected row is returned inline or through complete live-hash-guarded resource chunks.
Inputs: id (required), why, team, limit. Returns: object
connection_listList connectionsARead-onlyIdempotentInspect
List complete public connection configuration for your account or a current team membership (team); stored secrets are omitted. Disabled connections are left out unless includeDisabled. canCall says whether you may call each one now: a restricted credential serves only its named users. Large lists use complete live-hash-guarded resource chunks.
Inputs: why, team, includeDisabled. Returns: object
correction_addAdd correctionAInspect
Record a correction on a task definition (definition: its id, or its type with workspaceId): one point a person stated about how that kind of work is done, which every later pickup of a task of the type carries after the instructions, whichever agent does it. Use it when the account's operator corrects how a type of work is done, beyond the piece in hand; a correction about this piece alone belongs in the work. It is in force at once, recorded as theirs with your why; they are told by email, as their corrections notice setting says (on by default), and can retire it on the definition's page. task (optional): the task it came up on, of the definition's workspace. text is 1 to 500 characters and at most 1500 bytes as sent (a plain character costs 2). The same text already in force (ignoring case) answers with that one, existing true, and records or posts nothing. A definition holds at most 20 in force: another is refused CORRECTIONS_FULL, with details.definition, inForce, limit and page. An archived definition is refused DEFINITION_ARCHIVED (restore it first, or add the correction to a live definition). A type with no definition, or one you cannot read, is UNAVAILABLE with details.reason correction_needs_definition: define the type first, or, for guidance that holds for the whole workspace, put it in the workspace's guide. Only the workspace's owner or a member of the team that owns it records corrections. Where you are a guest (any role), nothing is recorded and neither the definition's limit, its archive nor a type with no definition (named by its type with workspaceId) refuses it: the text is posted as your comment, on the named task's thread or, with no task, in the workspace's chat naming the type, with the hint correction-posted-as-comment. Returns the correction (its id, text, who, why, source) or null, existing, how many are in force of how many, personTold, the page where it is retired, and correctionPosted when it was posted.
Inputs: text (required), definition (required), why, task, +1 more. Returns: page, limit, inForce, existing, +3 more
correction_retireRetire correctionADestructiveIdempotentInspect
Retire a correction by its id: no later pickup carries it, and it is kept with who retired it and when. Work already in hand is not recalled. There is no way to put it back in force: add it again. Retiring one already retired changes nothing and answers with it as it is. Only the workspace's owner or a member of the team that owns it retires one: a guest of any role is refused GUEST_FORBIDDEN, and a retry changes nothing. A correction you cannot read is UNAVAILABLE. Returns the correction as it is now, and how many the definition holds in force of how many.
Inputs: id (required), why. Returns: limit, inForce, correction
definition_createCreate task definitionAInspect
Create a task definition: for one task type in a workspace (draft-article, weekly-numbers), its one-line purpose, its instructions (markdown, at most 64000 characters, saved whole as version 1 and counted toward the workspace's storage), who does tasks of that type (doer) and whether a person reviews their work. Only the workspace's owner or a member of the team that owns it writes task definitions (directWork): a guest of any role is refused GUEST_FORBIDDEN, and a retry changes nothing. Sent without review or reviewer, the type is reviewed by the account's operator. The reviewer is a person, never an agent; review none is a workspace admin's, in their own browser (anyone else is refused REVIEW_OFF_FORBIDDEN, with details.page, the place where the admin can). A type that already has a definition here, an archived one included, is refused DEFINITION_TYPE_TAKEN naming it. Returns the definition with its corrections counted (definition_get lists them): its revision, its current instructions version and its page in the dashboard. A receipt too large for one tool reply carries its instructions text cut to 512 bytes, with instructionsCut; definition_get reads it whole. Instructions longer than a task_start answer always carries whole (14000 bytes as sent; a plain ASCII character is 2) still save, and a hint (instructions-too-long-for-pickup) says so: a pickup too large for one reply names them with their size instead.
Inputs: type (required), workspaceId (required), why, doer, +4 more. Returns: definition
definition_getGet task definitionARead-onlyIdempotentInspect
Read one task definition whole: its type, purpose, doer, routine and, for a cleanup definition, its limits (cleanup), review (whether it is required, the reviewer, and who turned it off and when), whether it is archived, its revision for definition_update, its page in the dashboard, its current instructions with their version number, who saved them, when, and the why an agent stated, and its corrections in force, oldest first, each with who recorded it, the why and where it came from. version, a number from 1 to instructionsVersion, reads that saved version instead. numbers: true adds its last 8 weeks, each from Monday 00:00 UTC, the current week first: tasks of its type done (records of work not counted), review rounds decided and sent back, corrections recorded on it, and the median review wait; an archived definition reads them too. Name it by its id, or by its type with workspaceId. A definition you cannot read is UNAVAILABLE. A definition too large for one tool reply returns lossless base64 JSON chunks: call again with the same arguments, nextOffset as offset and sha256. A definition that changed between chunks refuses the continuation with CHANGED_DURING_READ: read it again from the start, with no offset or sha256. A chunked definition's open instructions update (instructionsUpdate), and with numbers: true its numbers, ride beside its first part, outside the chunks, so work done meanwhile does not refuse the continuation.
Inputs: definition (required), why, offset, sha256, +3 more. Returns: object
definition_listList task definitionsARead-onlyIdempotentInspect
List a workspace's live task definitions in type order (archived: true lists the archived ones instead), each with its id, type, purpose, doer, review and reviewer, revision, current instructions version (no text) and how many of its type's tasks are open. The first page of the live list also carries undefinedTypes: the types used on this workspace's tasks that no definition holds, each with its task count, most used first, at most 50; every other page carries []. A page holds at most limit definitions, fewer when they do not fit one tool reply; while nextCursor is not null, call again with cursor: nextCursor. definition_get reads one whole. A workspace you cannot read is UNAVAILABLE.
Inputs: workspaceId (required), why, limit, cursor, +1 more. Returns: nextCursor, definitions, undefinedTypes
definition_updateUpdate task definitionADestructiveInspect
Change a task definition, by its id or by its type with workspaceId. It changes its purpose, instructions (saved whole as the next version), doer, reviewer, review, archived, or a cleanup definition's limits (cleanup). Replacing its instructions or purpose needs the revision you read (expectedRevision; none is PRECONDITION_REQUIRED, a stale one CONFLICT with currentRevision); other changes need none and a revision sent with them is not checked. Only the workspace's owner or a member of the team that owns it changes a definition (directWork): a guest of any role is refused GUEST_FORBIDDEN, and a retry changes nothing. Turning review off, and archiving a definition that requires review, are a workspace admin's, in their own browser: anyone else is refused REVIEW_OFF_FORBIDDEN. includesCorrections names the corrections in force that a new instructions text now covers: in the same write the new version is saved and each named one is retired, pointing at that version, so later pickups carry the text instead. It needs instructions that differ from the current text (INVALID_INPUT with details.reason includes_need_instructions otherwise); dropping a correction without a new text is a retire (correction_retire). One not in force on this definition refuses the whole update (STATE_CONFLICT with details.reason CORRECTION_NOT_IN_FORCE and details.corrections). A save that includes corrections also finishes the task of an instructions update Tokenrip drafted that waits on a person. cleanup on a definition whose routine is not suggest_cleanup is refused (INVALID_INPUT with details.reason cleanup_routine_only). A refused update saves nothing, and a change that changes nothing writes nothing. Returns the definition as definition_create does, with a hint (instructions-too-long-for-pickup) when the instructions saved are longer than a task_start answer always carries whole.
Inputs: definition (required), why, doer, review, +8 more. Returns: definition
feedback_sendSend feedback to TokenripAInspect
Sends an optional note to the Tokenrip team about Tokenrip itself: a call that didn't do what you expected, something confusing, a tool or capability you needed and didn't find, or feedback from the account's operator. The team reads every note to fix problems and add what agents need. A note is most useful when it says what you were trying to do, what you expected, and what happened or would have helped; one note per problem. A note is not for files, messages or workspace content, or any secret. The team may reply to the account's operator by email. Up to 5,000 characters; at most 20 notes a day per person.
Inputs: text (required), why. Returns: status
folder_createCreate folderAInspect
Create a personal, team (team), or workspace (workspaceId) folder, with an optional description of what it holds (one line first: lists show the first line). A workspace folder needs why; team and workspaceId go alone. New folders need no expected revision. A description counts toward storage: one that does not fit is refused STORAGE_LIMIT_REACHED. A workspace folder created with no description returns a hint saying so.
Inputs: slug (required), why, team, description, +1 more. Returns: folder
folder_deleteDelete folderADestructiveIdempotentInspect
Move a folder, and the files in it, to the trash for 30 days: id is the folder's id (any kind: personal, team or workspace), or its slug: in workspaceId when given, else in team, else one of your personal folders. They leave listings, and reads of the files answer DELETED through the folder. The files keep their filing and come back with the folder; the slug stays held. Personal: the owner; team: any member; workspace: who may delete its content, with why (expectedWorkspaceRevision optional). Repeating it returns the same dates.
Inputs: id (required), why, team, workspaceId, +1 more. Returns: id, type, purgeAt, deletedAt
folder_emptyEmpty folderADestructiveIdempotentInspect
Move the live files in a workspace folder to the trash and leave the folder: id is the folder's id, or its slug with workspaceId; the workspace is the folder's own. Needs why. expectedWorkspaceRevision is optional: send the folder's workspace revision to refuse (CONFLICT) if it changed since.
Inputs: id (required), why, workspaceId, expectedWorkspaceRevision. Returns: kept, failed, trashed
folder_listList foldersARead-onlyIdempotentInspect
List your personal folders, a team's (team), or the ones you can see in a workspace (workspaceId). Each carries its description's first line, at most 280 characters (descriptionCut: true when part was left out; folder_show reads it whole). Follow nextCursor until null for the complete collection; pages are ordered by folder ID, and a page holds fewer than limit when they do not fit one reply.
Inputs: why, team, limit, cursor, +1 more. Returns: items, partial, nextCursor
folder_showShow folderARead-onlyIdempotentInspect
Get a folder's details, its description whole: id is the folder's id (any kind: personal, team or workspace), or its slug: in workspaceId when given, else in team, else one of your personal folders. artifact_count is its live files (null for a workspace folder). A folder too large for one reply (a long description) comes as complete base64 JSON chunks: call again with the same inputs and continuation { sha256, offset: nextOffset } until nextOffset is null, then decode and join them.
Inputs: id (required), why, team, workspaceId, +1 more. Returns: object
folder_updateUpdate folderADestructiveIdempotentInspect
Give any folder a new slug (newSlug), set any folder's history (how many earlier versions its files' whole-file updates keep; null follows the workspace; a workspace folder's by anyone in the workspace but a viewer, and that of the folder holding the workspace's guide only by the workspace's owner or a member of the team that owns it), or set its description (what it holds, one line first; null clears it), one per call: id is the folder's id (any kind: personal, team or workspace), or its slug: in workspaceId when given, else in team, else one of your personal folders. The workspace is the folder's own. A workspace folder's change needs why; expectedWorkspaceRevision is optional: send the folder's workspace_revision to refuse (CONFLICT) if it changed since. A description counts toward storage: one that does not fit is refused STORAGE_LIMIT_REACHED.
Inputs: id (required), why, team, history, +4 more. Returns: folder
key_listList connected agentsARead-onlyIdempotentInspect
List the agents connected to your account: each key's id, name, creation and last-use times, whether it is the one you are using (current), for a connector (a chat app connected through OAuth) its client, how many browsers its sign-in links hold signed in (browser_sessions; revoking the key signs them out), and its access (all workspaces, or the workspaces it may read or change). Never returns a key itself.
Inputs: why. Returns: keys
key_revokeRevoke agent keyADestructiveIdempotentInspect
Revoke one key on your account by its id from key_list. That agent (or connector) is disconnected on its next call; every other key keeps working. Revoking your own key (current) disconnects you.
Inputs: id (required), why. Returns: id, revoked
message_deleteDelete a messageADestructiveIdempotentInspect
Delete a message you wrote (with this same agent key; the account's operator cannot delete it, nor you theirs): its text is gone for good and a deleted marker stays in the thread at its position. Anyone else's message refuses MESSAGE_NOT_YOURS; one already deleted, or in a thread you cannot read, is UNAVAILABLE. Returns the message, without its text.
Inputs: id (required), why. Returns: message
message_postPost a messageAInspect
Post a message, in markdown, in a workspace's chat (workspaceId: its id or slug) or in a task's thread (taskId), exactly one of the two. Any member may post, viewers included; a key limited to reading is refused (KEY_ACCESS_LIMITED). The workspace chat is read by every member of the workspace, guests included, and the other members are told by email (their agents with a confirmed mailbox of their own in their place) unless they turned chat messages off. A task's thread is read by whoever reads the task and tells nobody; it holds questions and answers about the task, and the task's own state says where the work stands. Returns the message with its id and its position in the thread; message_update and message_delete take the id.
Inputs: body (required), why, taskId, workspaceId. Returns: message
message_readRead messagesAIdempotentInspect
Read a thread, newest first: a workspace's chat (workspaceId: its id or slug) or a task's thread (taskId), exactly one of the two. Every member of the workspace reads its chat, guests included; whoever reads a task reads its thread. Each message names its author: mine says it is from your own account, isCaller that it is from you; any other author was a member of the workspace when it wrote the message (account.former: true marks a deleted account). A deleted message stays as a marker at its position, with body null. Reading the chat's newest page marks it read for this agent key up to its newest message (workspace_list's unreadMessages and workspace_load's messages count from there); a page reached with cursor, and a task's thread, mark nothing. A page may hold fewer than limit messages when they are large (partial: true); while nextCursor is not null, call again with cursor: nextCursor for older ones. Answer with message_post.
Inputs: why, limit, cursor, taskId, +1 more. Returns: thread, partial, messages, nextCursor
message_updateEdit a messageADestructiveInspect
Replace the text of a message you wrote (with this same agent key; the account's operator cannot edit it, nor you theirs). The old text is not kept, the message reads as edited, and nobody is told again. Anyone else's message refuses MESSAGE_NOT_YOURS; a deleted message, or one in a thread you cannot read, is UNAVAILABLE. Returns the message.
Inputs: id (required), body (required), why. Returns: message
notification_mailboxSet this agent's mailboxADestructiveInspect
Set or remove this agent's own email address for Tokenrip notices. Exactly one of: address (Tokenrip emails a six-digit confirmation code there, valid 30 minutes, sent on behalf of the account's operator and counted against their hourly cap; a new address replaces the old one and ends its confirmation) or remove: true. This tool takes no code: the emailed code is entered on the Agents page by the account's operator in their own browser (agentsUrl from whoami), or sent back by the agent over the CLI or the API. Until the mailbox is confirmed, work that waits on this agent goes to the account's operator when tellPerson is on. A Tokenrip notice names a workspace, what waits there and how to load it; the work itself is in Tokenrip. Returns this agent's notification settings, the mailbox pending until pendingUntil. Refused NO_OPERATOR or OPERATOR_AMBIGUOUS when there is no single person behind your account to send the code, and RATE_LIMITED past the hourly cap.
Inputs: why, remove, address. Returns: agent, reach, person, defaults, +3 more
notification_settings_getRead notification settingsBRead-onlyIdempotentInspect
Read who hears about what by email: this agent's settings (for: me, the default) or the account's operator's (for: person). Returns the defaults (addressed soon, messages soon, corrections soon; addressed is work waiting on the recipient, messages a new message in a workspace's chat, corrections a correction an agent of the account recorded on a task definition: a kind for: person only, so an agent's own read has no corrections), every per-workspace change from them, the digest hour and time zone of the account's operator, and for this agent its mailbox, whether waiting work goes to the account's operator while it has none (tellPerson), and reach: how it is told about work waiting on it now (channel endpoint, mailbox, person or nobody; its endpoint's host, header name and health when it has one, set with the CLI or REST, never here; and a note to read). With workspaceId, also each type's delivery in that workspace, marked isDefault.
Inputs: for, why, workspaceId. Returns: agent, reach, person, defaults, +3 more
notification_settings_setChange notification settingsADestructiveIdempotentInspect
Change who hears about what by email, for this agent (for: me, the default) or the account's operator (for: person). One type in one workspace: workspaceId, type (addressed, messages, corrections) and delivery (off, soon, digest) together; setting the default again removes the change. corrections is for: person only: an agent that records a correction has the account's operator emailed, and corrections off for: person stops that email; for: me with corrections is refused. messages off stops chat emails to that inbox: an agent's off stops them at its mailbox, where no other agent is emailed either (the account's operator is emailed instead only when that mailbox is none of their addresses); off for: person stops them at the addresses of the account's operator. digestHour (0-23) and timeZone (an IANA name such as Europe/Berlin) are for: person (or leave out for): the hour and zone the digest of the account's operator follows, which need not be yours. tellPerson (for: me) turns off or on sending work that waits on this agent to the account's operator while it has no mailbox. Returns the settings after the change.
Inputs: for, why, type, delivery, +4 more. Returns: agent, reach, person, defaults, +3 more
output_listList outputsARead-onlyIdempotentInspect
List what went out from a workspace, newest first: filter by agent (a handle from workspace_load agents), kind, labels (all of them), task, status (sending, sent, failed), since and until. Each output carries its target, ref, task, approval (who approved it, or null), the agent that recorded it and its outcomes (what it achieved, newest first: output_measure). A page may hold fewer than limit outputs when they are large; while nextCursor is not null, call again with cursor: nextCursor (and the same filters) for older ones. An output too large for one reply comes alone, as complete base64 JSON chunks of its page: call again with the same inputs and continuation { sha256, offset: nextOffset } until nextOffset is null, decode and join them, then follow that page's nextCursor.
Inputs: why, kind, task, agent, +8 more. Returns: object
output_measureRecord outcomesAInspect
Record what an output you or another agent sent achieved, as named numbers: id (the output), outcomes (1 to 20, each { metric, value, observedAt? }). A metric is your own name with its window in it (likes.7d, clicks.28d, replies, open_rate); value any finite number; observedAt when you read it, not in the future (omit for now). Use it when you measure a sent output (an X post's likes after 7 days), so whoever plans next week's work reads what worked with output_list. An outcome is never changed: if a number was wrong, record the right one, which reads first. Only a sent output takes outcomes: a claim (sending) or a failed one refuses OUTPUT_NOT_SENT with details.status. An output holds at most 50: more refuses OUTCOMES_FULL with details.count and details.limit (an outcome is one point, its window in its metric's name; a table holds a series). Needs task editing access in its workspace. Returns the output with its outcomes, newest first, how many this call recorded (recorded) and how many it holds (held); a receipt too large for one tool reply keeps the newest outcomes that fit, with outcomesCut (output_list reads them all).
Inputs: id (required), outcomes (required), why. Returns: held, output, recorded
output_recordRecord an outputAInspect
Record one thing you did outside Tokenrip, in one call: something you sent, posted or published (an X post, an email reply, a client report), or an operation you carried out (a deploy, a merge, a migration run). kind (x.post, email.reply, deploy), target (who received it, or where it was done), ref (the post's URL, a message id, a build or commit id), text, file (the artifact it was made from), task, labels. An output goes on a task: name the task it served (the one you were started for). On a task it takes the task's labels, and as its approval the task's approved round, else the approved round of the task whose finish started it. With no task named, Tokenrip files a record of work for it once it is sent: a Done task reported by you, titled from kind and target (x.post: x:@bob), with these labels, starting nothing. Recorded sent, this receipt's output.task names it (recorded true); recorded sending, output.task is null (no record yet) until output_update settles it sent. A refused key files nothing. To send once only: first record it with status sending and a key unique to this one send and destination (the task id with the kind, task-id:x.post, or the id of the message you reply to; never an id that recurs, such as a draft's), then send, then settle it with output_update (sent with its ref, or failed only when you know it did not go out, which frees the key). A key an output that is not failed already holds is OUTPUT_EXISTS: details.output names it, and the key stays held while that output is claimed or sent. Not for files you make in the workspace (artifact_publish) or results of a task (task_complete).
Inputs: kind (required), key, ref, why, +7 more. Returns: output
output_updateSettle an outputADestructiveInspect
Settle an output you claimed with status sending: sent once it went out (set ref to the post's URL or message id, and text if it changed), or failed when you know it did not (its key is free again; if you cannot tell, leave it sending). A claim recorded with no task is filed as a record of work when you settle it sent (reported by whoever recorded it; the receipt's output.task names it, recorded true); settled failed, nothing is filed and output.task stays null. Any agent who edits tasks in its workspace may settle it, so a retry can settle a stuck claim. An output that is not sending refuses OUTPUT_SETTLED with details.status.
Inputs: id (required), status (required), ref, why, +1 more. Returns: output
profile_updateUpdate my profileADestructiveIdempotentInspect
Update your account profile, as PATCH /v0/accounts/me: at least one field. null clears a field (an empty string is refused); metadata is a JSON object replacing the stored one; website must be an http or https URL; visibility public lists the profile publicly. Returns a bounded update receipt; read the profile separately.
Inputs: tag, why, alias, email, +4 more. Returns: id, updated
searchSearch artifactsARead-onlyIdempotentInspect
Search readable artifacts: the title, and the current version's headings (a leading heading only with text of its own) and body of markdown, HTML, code and text (not alias, description or metadata), matched by stemmed English words, not characters. Scoped to a workspace (workspaceId, or an artifactId in one), each result carries its best passages, and ranking blends keywords with meaning where the server has an embedding provider; pending counts chunks not yet searchable by meaning (absent with match: 'words', which already reads them). Elsewhere, keyword ranking. match: 'words' (with q) returns only results whose text holds the query's words (an identifier, say), none when none does; each result's matchedBy says whether its text holds the words or it was found by meaning alone. rank is a relative order (the first is 1 when keywords and meaning are blended). Follow nextCursor as offset for remaining results; mode reports how the search ranked.
Inputs: q, why, team, type, +6 more. Returns: mode, items, total, partial, +2 more
skill_getRead skillARead-onlyIdempotentInspect
Read a skill: its SKILL.md instructions by default, or any file by path. Name it with id: its id, the page URL of a skill shared by link, or its name (add team for a team skill; without team, a name means the account's operator's personal skill). Returns the skill, its file manifest (filesComplete is false when the list was cut short; those files are still readable by path) and one chunk of the file as utf8 text or base64 bytes, with the whole file's sha256. While file.nextOffset is not null, continue with id set to skill.id, the same path, version set to skill.version and offset set to file.nextOffset, so every chunk comes from the same skill and version.
Inputs: id (required), why, path, team, +2 more. Returns: file, files, skill, filesComplete
skill_listList skillsARead-onlyIdempotentInspect
List the skills in your reach: the personal skills of the account's operators and the skills of your teams, each with its one-line description and current version. Skills are reusable procedures the account's operator or a team saved; skill_get reads one. A long catalog pages: pass nextOffset as offset.
Inputs: why, offset. Returns: skills, nextOffset
skill_publishPublish skillAInspect
Publish a new version of a skill as a change set: files add or replace paths ({ path, text } for text, { path, base64 } for binary), removals drop paths, and every other file of the current version carries over. SKILL.md needs YAML frontmatter with name (equal to name) and description. Pass expectedVersion: 0 to create a new skill (CONFLICT if the name is taken), or the version you read to update it without overwriting someone else's change. With team, the skill belongs to that team; without, to the account's operator.
Inputs: name (required), files (required), why, team, +2 more. Returns: skill, created, version
storage_usageShow storage usageARead-onlyIdempotentInspect
Read storage usage for your account, or a team you belong to (team): the plan, bytes used and the limit (null: no limit), bytes per workspace, standalone and bundle bytes, trashBytes (the part of usedBytes in the trash), textBytes (long text: task briefs, results and drafts, task definition instructions, output text and descriptions), and the largest artifacts with their current and history bytes. Every kept version, table row and bundle version counts, and so does long text, and the trash until it is purged. A workspace counts toward its owner. A platform admin reads any team, or another account with account (an account id or alias; anyone else: FORBIDDEN).
Inputs: why, team, account. Returns: plan, payer, largest, textBytes, +6 more
table_append_rowsAdd table rowsADestructiveInspect
Append up to 1000 typed JSON rows and 16 MiB of row values per call (more is TOO_MANY_ROWS or ROWS_TOO_LARGE: split the write). Returns every row ID; strict table rules apply before row effects. The key (the one unique column) compares exact stored text: '100' and '100.0' differ, the number 1 and the string '1' are one key. Before any row is written: a key value that is an object or array or over 1024 bytes, text holding U+0000 or a lone surrogate, or an upsert row without its key, is INVALID_INPUT; a key repeated within the call, or a plain append of a key a stored row holds, is STATE_CONFLICT. To update stored rows instead, pass upsert: true (the match is on the table's key; a table without one is INVALID_INPUT). A plain append of a stored key is refused atomically, so when several callers add one key, one wins. An upsert overwrites the columns it sends on its match unless the row sends its revision. Add records here rather than rewriting a file: rows are stored once, not copied per change. Send expectedTableRevision (from a rows page, the table read or the last receipt) to refuse the whole call (CONFLICT) if the table changed since; the reply's tableRevision is the next one to send.
Inputs: id (required), rows (required), why, upsert, +1 more. Returns: count, rowIds, revisions, tableRevision
table_createCreate tableAInspect
Create a structured table with a typed schema (the title is optional); a column name is 1 to 256 characters with no leading or trailing space, comma or square bracket. description (optional) says what it is, one line first. At most one column may set unique: true, the table's key. strict rejects unknown columns and invalid values. Use a table for data that grows by adding records: rows are stored once, not copied per change. A workspace table created with no description returns a hint saying so.
Inputs: schema (required), why, title, folder, +6 more. Returns: table
table_create_from_csvCreate table from CSVAInspect
Create a table and rows from CSV. description (optional) says what it is, one line first. headers and explicit schema are mutually exclusive; a column name is 1 to 256 characters with no leading or trailing space, comma or square bracket (headers are trimmed), and an unclosed quote is INVALID_INPUT. A schema may mark at most one column unique, the key. A key value repeated in the file (two blank cells count) is STATE_CONFLICT, and a key value over 1024 bytes or a cell holding U+0000 or a lone surrogate is INVALID_INPUT; either way no table is created. A workspace table created with no description returns a hint saying so.
Inputs: csvContent (required), why, title, folder, +6 more. Returns: table, rowCount
table_delete_rowsDelete table rowsADestructiveIdempotentInspect
Delete up to 1000 rows by their own ids (ids), all of one table (rows of two tables are INVALID_INPUT). An id that names no row you can read is skipped. Workspace tables need why; expectedRevisions is optional and refuses (CONFLICT) a row that changed since. Send expectedTableRevision to refuse the whole delete (CONFLICT) if the table changed since; when none of the named rows exists any more, nothing names the table, so the reply is deleted: 0 with no tableRevision and the guard is not checked. Otherwise the reply's tableRevision is the next one to send.
Inputs: ids (required), why, expectedRevisions, expectedTableRevision. Returns: deleted, tableRevision
table_get_rowsRead table rowsARead-onlyIdempotentInspect
Read authorized table rows using filters, sort, projection and forward/back cursors. An enum column sorts and range-compares (lt, lte, gt, gte) in its declared order; a range value must be a declared value. A page keeps the rows that fit one reply: when partial, continue with after: nextCursor (before: prevCursor when paging back). A single row too large for a reply returns as an authenticated JSON resource; changes between its chunks require restarting this call.
Inputs: id (required), why, after, limit, +6 more. Returns: object
table_update_rowUpdate table rowADestructiveInspect
Partially merge typed JSON into one table row, named by its own id (id; the row names its table). A workspace table needs why. expectedRevision is optional: when sent, a row that changed since is CONFLICT and nothing is written. A row you cannot read is NOT_FOUND. Returns a bounded receipt. Setting the key column to a value another row holds is STATE_CONFLICT; a key value that is an object, an array or over 1024 bytes, or text holding U+0000 or a lone surrogate, is INVALID_INPUT. Send expectedTableRevision to refuse the update (CONFLICT) if the table changed since; the reply's tableRevision is the next one to send.
Inputs: id (required), data (required), why, expectedRevision, +1 more. Returns: id, updated, revision, updatedAt, +1 more
task_cancelCancel taskADestructiveIdempotentInspect
Cancel a task that will not be done, To do, Doing or In review, with an optional reason; it can be reopened. On an In review task, cancel is how a submission is turned down: its submitter's account (the submitter, another of its agents or that account's operator) or whoever decides it (a reviewer may) cancels it, and its round closes cancelled (REVIEW_NOT_YOURS for anyone else; details.task.reviewer says who decides it). Send expectedRevision, the revision you read, to cancel only what you saw: a task re-submitted, decided or started since refuses CONFLICT with details.currentRevision and nothing is cancelled. A done task refuses TASK_ALREADY_DONE and a cancelled one TASK_CLOSED. A failed task is cancelled by a person in Tokenrip: your cancel of it refuses TASK_FAILED. On these and REVIEW_NOT_YOURS, details.task says where the task stands: its status, who it waits on (waitsOn) and the moves open to you (moves). To ask for changes instead, task_decide send_back. To withdraw a submission of yours (or of another agent of the same account) and keep the task, use task_stop.
Inputs: id (required), why, reason, expectedRevision. Returns: task
task_completeComplete taskADestructiveIdempotentInspect
Complete a task that is free or held by you, another agent of the same account or the account's operator, from To do as well as Doing, with what was done (result) and up to 50 links to what it produced (result links: an artifact in this workspace, by id or page URL, optionally at a version; task_get reads them back in links). A url there is recorded as an output of kind link on the task instead (task_get outputs; a hint names it); record a post, an email or anything else that went out with output_record. Completing a task starts what its thenStart names and a task for each trigger listening for its type (task_get whenDone says which, as things stand); a completion hands nothing back to anyone by default, which only an approval does. An approval finishes its task: an approved submission is already Done, and its approved material is its result (task_get approvedRound). Another person's live hold refuses with TASK_TAKEN, an In review task with TASK_IN_REVIEW, a done one with TASK_ALREADY_DONE, a cancelled one with TASK_CLOSED and a failed one with TASK_FAILED (it waits on a person); nothing is written, and details.task says where the task stands: its status, who it waits on (waitsOn) and the moves open to you (moves). A task whose type's task definition requires review, with no round a person approved, refuses REVIEW_REQUIRED the same way: details.reviewer says who decides it, and details.task.moves lists submit, not complete.
Inputs: id (required), why, links, result. Returns: task
task_createCreate taskAInspect
File a task in a workspace (workspaceId; omit it when you reach one workspace), or under a task as its child (parentId: the parent's workspace), for a person or an agent (assignee), reviewed by a person or an agent (reviewer; it may be the assignee). Name yourself as me; an agent as agent:me, agent: (your own agents), agent: or agent: (a handle from workspace_load agents); a refusal (INVALID_ASSIGNEE, INVALID_REVIEWER) lists in details.candidates who you can name. links are the files and pages the work uses (context links: an artifact in this workspace, by id or page URL, optionally at a version, or a url). type (what kind of work) is a free tag agents filter on; labels (at most 20) group work in the workspace's own words (client:acme, campaign.q4). Tokenrip gives labels no meaning of its own. A type with a task definition here (definition_list) fills the assignee and reviewer you leave out from the definition's doer and reviewer, and definitionDefaults on the receipt says which it filled; under a type whose definition requires review the reviewer is a person (an agent is INVALID_REVIEWER with details.reason reviewed_type). thenStart says what starts when the task is done: at most 5 follow-ons, each a type with a task definition here (definition_list), an assignee (named as above) or both, with an optional title; [] says nothing follows; null is the default (an approval of an agent's submission, with no trigger listening for its type, hands back to that agent). A refused follow-on names its entry and field (details.fields[0].path, as thenStart[1].type; a type with no live definition lists the types that have one in available). Returns a bounded receipt with thenStart and whenDone (what finishing the task will start); task_get retrieves all details.
Inputs: title (required), due, why, body, +9 more. Returns: task
task_decideDecide a reviewADestructiveInspect
Decide a review addressed to you (task_list reviewer=me): approve, which finishes the task (Done, the approved round's final material its result; optionally with edits.text, the text then approved; without it, the round's saved edit (task_get latestRound.savedEdit, a person's edit saved in their browser) is approved when there is one; and edits.artifacts, each { artifact, version } the current version of a draft artifact), or send_back with a comment saying what to change (required; the task goes back To do to whoever had it). Under a type whose task definition requires review only a person approves: your approval is REVIEW_REQUIRED (details.reviewer and details.definition say who decides and why); you may still send it back. To say no, call task_cancel, which a reviewer may do (decline and skip are refused, naming it). A comment may go with either, posted in the same write. An approval starts what the task's whenDone names (task_get): its follow-ons, the triggers listening for its type, or with neither a new task for the agent that submitted it. expectedRevision is the revision you read (required: PRECONDITION_REQUIRED without it); a task revision that moved refuses CONFLICT with details.currentRevision. An approval is refused DELETED while a draft artifact is in the trash or after it was purged; send it back or cancel the task instead. A review addressed to anyone else, or your own submission, refuses REVIEW_NOT_YOURS; one already decided refuses TASK_NOT_IN_REVIEW. On both, details.task says where the task stands: its status, who it waits on (waitsOn) and the moves open to you (moves). From the workspace's owner or a member of the team that owns it, a correction that cannot be recorded refuses the decision whole (CORRECTIONS_FULL; DEFINITION_ARCHIVED or STATE_CONFLICT with details.reason NO_LIVE_DEFINITION, naming correction); where you are a guest it is posted as your comment and never refuses the decision. Returns the review receipt, with correction or correctionPosted when the decision sent one.
Inputs: id (required), decision (required), why, edits, +4 more. Returns: task, correction, correctionPosted
task_failFail taskADestructiveIdempotentInspect
Fail a task you or another agent of the same account holds when it cannot be done as asked, with a report (result, required): what went wrong and what was tried. The report becomes the task's result; the task becomes Failed, nobody holds it, it keeps its doer, links and files, it starts nothing (no follow-on, no trigger), and it waits on a person, who retries it (for the same doer or another) or cancels it in Tokenrip; no agent reopens or cancels a failed task. The account's operator, when the account has one, is notified, as their settings allow. Only an agent of the person whose agent holds the task, under a live lease, fails it: a task nobody holds refuses TASK_NOT_STARTED, another person's hold or the account's operator's own (in the browser) TASK_TAKEN, a lapsed hold TASK_NOT_STARTED (start it again first), one already failed TASK_FAILED; details.task says where the task stands (status, waitsOn, moves). To put down work that can go on as it is, use task_stop instead.
Inputs: id (required), result (required), why. Returns: task
task_getGet taskARead-onlyIdempotentInspect
Get a task whole: its body and payload, where it stands and the moves open to you (waitsOn, moves), its latest round whole and its approved round, its links, files, children and outputs, its type's task definition, what started it and what it was started with, what starts when it is done (thenStart, whenDone) and what its finishes started, Tokenrip's own work on it (tokenrip), and the newest 30 entries of its timeline. Large tasks return lossless base64 JSON chunks; call again with nextOffset and sha256. A task that changed between chunks refuses the continuation with CHANGED_DURING_READ: read it again from the start, with no offset or sha256.
Inputs: id (required), why, round, offset, +2 more. Returns: object
task_listList tasksARead-onlyIdempotentInspect
List one workspace's task summaries with keyset pagination: name the workspace (workspaceId; omit it when you reach one workspace), or a task's children by parentId. status is a list (or comma-separated text) of todo, doing, review, done, cancelled, failed (default todo,doing) or all; with no order, open statuses list in queue order (front first) and any other set by created; order=created is newest first, order=finished most recently finished first, for done and cancelled only. assignee=me lists tasks for you (the account's operator's tasks and yours as an agent, not your sibling agents') or held by you; assignee=none lists tasks for no one (held or not); reviewer=me lists reviews In review addressed to you. waiting: 'me' answers what is my turn in one call: the tasks that wait on you (reviews addressed to you, then To do tasks for you), each row saying why in waitsOn.to; a task you hold is not listed. Every task says who it waits on (waitsOn) and the moves open to you now (moves), so a row answers whether it is your turn without task_get. A page may hold fewer than limit tasks when they are large; while nextCursor is not null, call again with cursor: nextCursor. type filters on the task's tag, your workspace's word for what kind of work it is; a type may have a task definition here (definition_list). labels is a list (or comma-separated text), in any case: only tasks with all of those labels (the workspace's own words for grouping work, such as client:acme). Every task names its assignee, reviewer, creator and completer as principals: a person, or an agent by its handle (agent.id). Read full body, payload, drafts and links with task_get.
Inputs: why, type, limit, order, +10 more. Returns: items, partial, nextCursor
task_reopenReopen taskADestructiveIdempotentInspect
Reopen a done, cancelled or failed task; it goes back to To do, except a submission cancelled while In review and still for the one who submitted it, which goes back In review to its reviewer on a new round carrying the same draft, whoever cancelled it. Reopening a failed task retries it, which only a person does, in Tokenrip: your reopen of a failed task refuses TASK_FAILED. assignee names who it is for once reopened (me, a person or an agent; null for anyone; a newly named assignee is notified); omit it to keep whoever it was for (a named assignee always reopens it To do). An approval is spent once used: the approved round is cleared, except on a failed task's retry, which keeps it; any cancel reason and the failure are cleared too; every round, the result (a failed task's report) and the links stay. A task that is not done, cancelled or failed refuses TASK_NOT_CLOSED, and details.task says where the task stands: its status, who it waits on (waitsOn) and the moves open to you (moves).
Inputs: id (required), why, assignee. Returns: task
task_reportReport finished workADestructiveInspect
Report work you already did that needed no approval: a new task born Done (a title, and workspaceId or parentId; omit both when you reach one workspace) with what was done (result), links to the files it produced (result links; a url there is recorded as an output of kind link, and a hint names it), a type and labels. A type whose task definition requires review is refused REVIEW_REQUIRED (details.field type, details.reviewer): such work is submitted, or reported without that type. A new report is a finish: it starts a task for each trigger listening for its type, and hands nothing back to anyone (a report takes no thenStart, and only an approval hands back). With id, add a later result to a Done task, which starts nothing: result replaces its text and links are added; a task that is not Done refuses TASK_NOT_DONE, and details.task says where the task stands: its status, who it waits on (waitsOn) and the moves open to you (moves). Returns the review receipt; a result or approved text too large for it is cut to 512 bytes there (cut is true), and task_get reads it whole. A report only records work in the workspace: it sends, posts and deploys nothing and contacts no outside service. Work done outside Tokenrip is recorded with output_record on the task it served; with no task named, this record of work is filed for it once it is sent. Nor for a number measured later (an output's likes or opens): record that on the output with output_measure.
Inputs: id, why, body, type, +6 more. Returns: task
task_startStart taskAInspect
Start a task, which makes it yours under a lease (leaseHours, default 2): by id, or without one your next piece of work in workspaceId. By id: a free task (To do, or an agent hold whose lease lapsed); starting a task you hold renews the lease and never shortens it; anyone else's live hold refuses with TASK_TAKEN, a hold by another agent of the same account included, a task In review with TASK_IN_REVIEW, a done or cancelled one with TASK_CLOSED and a failed one with TASK_FAILED; on each, details.task says where the task stands: its status, who it waits on (waitsOn) and the moves open to you (moves). Without an id: the first task that waits on you as this agent (what workspace_load lists as waiting on you), a review addressed to you, then a task for you to do, each in queue order, leaving out the tasks you hold. A task to do is started. A review is not started: it comes back In review as it stands, nothing written (task_decide decides it), and comes back first until it is decided; a task to do can still be started by id meanwhile. Never a task for no one, for the account's operator with no agent named, or for another agent. When nothing is free to take just now, task is null and nothing is written. Two starts at once never take the same task. The answer is the task as its work needs it: its body and context links, its latest and approved rounds, its type's task definition with the instructions and the corrections in force, what started it and what it was started with, and what starts when it is done; cut names what was left out to fit one tool reply. The claim loop: start, work, then task_submit (it needs review), task_complete (done), task_stop (put it down) or task_fail (it cannot be done as asked). Starting the task again before its lease runs out renews it; once it lapses another agent may take it over, and should another person's agent take it, your submit is refused TASK_TAKEN. Only the holder writes the task's draft artifacts: the hold covers the task, not its files.
Inputs: id, why, leaseHours, workspaceId. Returns: task, holding
task_stopStop taskAIdempotentInspect
Stop working on a task you or another agent of the same account holds (or the account's operator, in the browser) and put it back in To do; for work that cannot be done as asked, use task_fail instead. A workspace admin may stop anyone's. Another person's hold refuses with TASK_TAKEN. On a task In review on a submission of yours or of another agent of the same account, stop withdraws it: the round closes with verdict withdrawn and the task goes back To do; another person's submission refuses with TASK_IN_REVIEW. A stop can say who the task is for next: assignee names me, a person or an agent, or null for anyone (a newly named assignee is notified); omit it and the task stays for whoever it was for. It can also carry a comment, posted to the task's thread in the same write: what the next one needs to know. A name that cannot take the task refuses with INVALID_ASSIGNEE (details.candidates lists who can) and nothing is stopped. A task nobody holds refuses with TASK_NOT_STARTED: a To do task, and one whose agent hold lapsed (it already reads To do); task_update changes who a To do task is for. On TASK_TAKEN, TASK_IN_REVIEW and TASK_NOT_STARTED, details.task says where the task stands: its status, who it waits on (waitsOn) and the moves open to you (moves).
Inputs: id (required), why, comment, assignee. Returns: task
task_submitSubmit work for reviewADestructiveInspect
Before acting outside the workspace (a post, an email, a booking), or to send a draft for review, submit it: the exact draft, the approve verb, a type (what kind of work it is, a free tag), a comment for the reviewer, and links to the files and pages it uses (context links). Each submission is a new round. A new submission takes a title and its workspaceId (omit it when you reach one workspace), or parentId (the parent's workspace); with id, submit on a task that is free or held by you, another agent of the same account or the account's operator, or replace an open submission of yours or theirs (its round closes replaced); another person's live hold refuses TASK_TAKEN, another person's open submission (or one addressed to you to decide) TASK_IN_REVIEW, a done or cancelled task TASK_CLOSED and a failed one TASK_FAILED, and on each details.task says where the task stands: its status, who it waits on (waitsOn) and the moves open to you (moves). It waits In review for its reviewer: the account's operator unless you, the task or its type's task definition name one (a person, or an agent as agent:, agent: or agent:; never you); submitting never changes whom the task is for. A task holds at most 50 rounds (TOO_MANY_ROUNDS). On an existing task, type fills a missing one; another type is refused (INVALID_FIELD). Under a type whose task definition requires review the reviewer is a person (an agent is INVALID_REVIEWER with details.reason reviewed_type). Returns the review receipt; task_get reads the decision once it is made (latestRound).
Inputs: id, why, body, type, +10 more. Returns: task
task_updateUpdate taskADestructiveInspect
Update a task. expectedRevision, the revision you read, is needed to replace title, body or thenStart (none is PRECONDITION_REQUIRED, a stale one CONFLICT with details.currentRevision, and nothing is written); it is not checked for other changes. assignee and reviewer take me, a person, or an agent (agent:me, agent:, agent: or agent:), and null clears them. type sets or (null) clears the task's type. A type you set that has a task definition fills the empty assignee and reviewer from it (definitionDefaults on the receipt). A task that follows a type whose definition requires review keeps its type against an agent, open or closed, and an agent never gives a done task such a type unless a person approved it (INVALID_INPUT naming type, details.reason reviewed_type); its reviewer stays a person (INVALID_REVIEWER, details.reason reviewed_type). addLabels and removeLabels change its labels (at most 20). addLinks adds context links (files and pages the work uses) and removeLinks removes them by target ({ artifact } or { url }); result links are never removed. While the task is In review, a new reviewer re-addresses its open review (never to the submission's own submitter: INVALID_REVIEWER) and a new assignee is whom a send back returns it to. position moves the task in the queue: top, bottom, or before or after another task; it changes no revision. thenStart replaces what starts when the task is done (as task_create takes it; omit it to leave the list); a done or cancelled task refuses it TASK_CLOSED until it is reopened. Returns a bounded receipt with thenStart and whenDone; task_get retrieves all details.
Inputs: id (required), why, body, type, +10 more. Returns: task
team_add_memberAdd team memberADestructiveInspect
Add someone to a team (member: an email address, an alias or an account id); any member may add. Another account of the account's operator (the same person) is added at once: status 'member'. Anyone else gets an invite: status 'invited' with inviteUrl, the invite page, which is safe to share and signs nobody in. An email address new to Tokenrip joins at its next sign-in with a code Tokenrip emails; someone who already uses Tokenrip joins by pressing Join on the invite page in their own browser. Tokenrip emails the invite from the verified address of the account's operator (adding again resends it, at most once an hour); an account added by alias or id is emailed only when exactly one verified person is behind it. Members join with the member role. Refused STATE_CONFLICT when the account has no verified person behind it or is already a member; NO_OPERATOR or OPERATOR_AMBIGUOUS when an add by email has no single verified person on your account to send from (an alias or id add then invites without the email); RATE_LIMITED past the hourly invite email limits, which workspace invites share (an alias or id add then invites without the email).
Inputs: id (required), member (required), why. Returns: object
team_createCreate teamAInspect
Create a team with the caller as owner and initial member. Returns a bounded identity receipt; use team_show for details.
Inputs: slug (required), why, name, description. Returns: team, created
team_deleteDelete teamADestructiveIdempotentInspect
Delete a team as its owner. Memberships and team artifact links are removed; artifacts remain. Refused TEAM_HAS_PLAN while the team is on a paid plan (a cancelled plan counts until its period ends); the team's owner or an admin cancels it in Billing, in the dashboard.
Inputs: id (required), why. Returns: deleted
team_leaveLeave teamADestructiveIdempotentInspect
Leave a team. An owner leaving transfers ownership to the earliest remaining member; the last member leaving deletes the team, which is refused TEAM_HAS_PLAN while the team is on a paid plan (a cancelled plan counts until its period ends); the team's owner or an admin cancels it in Billing, in the dashboard.
Inputs: id (required), why. Returns: left
team_listList teamsARead-onlyIdempotentInspect
List teams you belong to, with your role in each (owner, admin, or member), ordered by team ID. Follow nextCursor until null for the complete collection.
Inputs: why, limit, cursor. Returns: items, partial, nextCursor
team_remove_memberRemove team memberADestructiveIdempotentInspect
Remove a member (account id or alias) from a team, or cancel a pending invite (its id from team_show, its email address, or the invited account's id or alias). Only the team owner or the member themselves may remove a membership; only the owner or the member who sent it may cancel an invite. The last member removing themselves deletes the team, refused with TEAM_OWNS_WORKSPACES while it owns workspaces and TEAM_HAS_PLAN while it is on a paid plan.
Inputs: id (required), teamId (required), why. Returns: removed
team_set_member_roleSet team member roleADestructiveIdempotentInspect
Assign the team-scoped member or admin role. Only the current team owner may assign roles. Refused STATE_CONFLICT for the owner, whose role is owner and changes only when ownership is transferred.
Inputs: id (required), role (required), teamId (required), why. Returns: role, agent_id
team_showShow teamARead-onlyIdempotentInspect
Read team metadata and members. Authenticated discovery permits nonmembers. Members are ordered by account ID; follow members.nextCursor until null. A team too large for one reply (a long description) comes as complete base64 JSON chunks: call again with the same inputs and continuation { sha256, offset: nextOffset } until nextOffset is null, then decode and join them. A member also reads invites: the pending invites, newest first, each with its id, the email address it was sent to (null for an add by alias or id), the alias (for an add by alias or id), who sent it, when, and invite_url, the invite page, which is safe to share.
Inputs: id (required), why, limit, cursor, +1 more. Returns: object
trash_listList trashARead-onlyIdempotentInspect
List what is in the trash, newest first, with when each item was deleted, by whom, and when it purges (30 days after deletion). Omit workspaceId, team and account for your own trash (standalone artifacts, bundles, personal folders, personal workspaces); pass team for a team's folders and workspaces, or workspaceId for the artifacts and folders deleted in that workspace. account (an account id or alias) reads another account's own trash, for a platform admin only (anyone else: FORBIDDEN); a platform admin also reads any team's and any workspace's trash. type lists one type only (one that trash holds). A deleted folder or workspace is one entry. Restore an entry with trash_restore, by its id.
Inputs: why, team, type, limit, +3 more. Returns: items, nextOffset
trash_purgePurge from trashADestructiveIdempotentInspect
Delete for good from the trash: permanent (no restore afterwards), and it frees the storage the items used. Pass one entry by its id (a trash_list entry's id; the server finds its type; it must be in the trash, a live item is refused NOT_IN_TRASH, an id that names nothing NOT_FOUND), or all: true to empty a whole trash: your own by default, or one of workspaceId, team, or a platform admin's account, as trash_list scopes it; type takes one type only, deletedBefore only what was deleted at or before that instant. all takes what was in the trash when the first call began and works in pages: while nextCursor is not null, call again with the same inputs and cursor: nextCursor, until it is null (a cursor sent with other inputs is refused INVALID_CURSOR). skipped lists each entry left in the trash and why: forbidden (you may not remove it), restored (it left the trash or was deleted again after the purge began), gone (already purged), failed (its purge failed; it is left in the trash, a new call tries it again, and if it keeps failing it stays). Needs the same authority as deleting each item. why is required for a workspace item and a workspace scope; their purge is recorded in the workspace history. Purging a folder or workspace takes everything in it.
Inputs: id, all, why, team, +5 more. Returns: purged, skipped, nextCursor
trash_restoreRestore from trashAIdempotentInspect
Bring an item back from the trash: id is a trash_list entry's id (an artifact's alias or your own bundle's slug works too); the server finds its type. It returns to its folder, workspace and name; a folder or workspace brings back everything that went with it. Needs the same authority as deleting it. why is required for a workspace item. expectedWorkspaceRevision (the entry's workspaceRevision) is optional and refuses (CONFLICT) if it changed since. A file whose folder is still in the trash comes back unfiled; one whose workspace is in the trash is refused (WORKSPACE_DELETED): restore the workspace first. A restored workspace counts toward its owner again, so restoring one is refused WORKSPACE_LIMIT_REACHED when the owner has no room: a team without a paid plan, or an owner at its maximum (delete a workspace first). Restoring a live item does nothing; an id that names nothing is NOT_FOUND.
Inputs: id (required), why, expectedWorkspaceRevision. Returns: id, type, unfiled, restored
trigger_createAdd triggerAInspect
Add a trigger to a live task definition (definition: its id, or its type with workspaceId): each time its when happens, Tokenrip starts a task of that definition (its doer, review and instructions). when is one of { kind: task_done, type }, each finish of a task of that type here (completed, approved, or filed done with task_report; a cancel or a failure starts nothing; the type need not have a definition); { kind: schedule, cron, timeZone? }, each due time of a five-field cron expression at least 5 minutes apart, read in timeZone (an IANA zone; omitted: your account's, and an account with none is refused INVALID_INPUT naming when), the latest due time only after a pause and none before the trigger was added; { kind: file_added, folder }, each file created in or moved into that folder of the workspace (its id or slug), started with the file at the version that arrived. A trigger is on once added, and is never edited or deleted: trigger_update turns it off. Only the workspace's owner or a member of the team that owns it adds one (directWork): a guest of any role is refused GUEST_FORBIDDEN, and a retry changes nothing. One trigger per definition and when: another is refused TRIGGER_EXISTS, with details.trigger { id, on } naming the one that holds it. An archived definition is refused INVALID_INPUT naming definition. Past the hourly ceiling on one trigger's starts, its further starts wait (waiting counts them). Returns the trigger whole: its id, definition, when (a schedule's next due time and its expression in words, such as Every Monday at 09:00; a folder's slug and whether it is in the trash), whether it is on, who added it, its last start, how many of its starts wait, and its definition's page in the dashboard.
Inputs: when (required), definition (required), why, workspaceId. Returns: trigger
trigger_getGet triggerARead-onlyIdempotentInspect
Read one trigger by its id, whole as trigger_create returns it, with its starts newest first: each start's state (waiting, started, dropped with its reason, or failed), its cause (the finished task, the file that arrived, or the due time), the task it started with its status, and its depth. A page holds at most 20 starts, fewer when they do not fit one tool reply; while nextCursor is not null, call again with cursor: nextCursor for older ones. A trigger you cannot read is UNAVAILABLE.
Inputs: id (required), why, cursor. Returns: trigger
trigger_listList triggersARead-onlyIdempotentInspect
List a workspace's triggers in the order they were added, each whole as trigger_create returns it (on or off, its when with a schedule's next due time and words, its last start, and how many of its starts wait). definition (an id, or a type) lists that definition's alone; type lists the triggers listening for that task type done. A page holds at most limit triggers (1 to 100, default 50), fewer when they do not fit one tool reply; while nextCursor is not null, call again with cursor: nextCursor and the same filters. trigger_get reads one with its starts. A workspace you cannot read is UNAVAILABLE.
Inputs: workspaceId (required), why, type, limit, +2 more. Returns: triggers, nextCursor
trigger_updateTurn a trigger on or offADestructiveIdempotentInspect
Turn a trigger on (on true) or off (on false), by its id. Off, it starts nothing, and its starts still waiting are dropped (dropReason trigger_off); turning it on again does not bring them back. A schedule turned on starts from now: no due time while it was off starts anything. Turning it to what it is changes nothing and writes nothing. A trigger's when and its definition never change, and nothing deletes one. Only the workspace's owner or a member of the team that owns it turns one on or off (directWork): a guest of any role is refused GUEST_FORBIDDEN, and a retry changes nothing. A trigger you cannot read is UNAVAILABLE. Returns the trigger whole, as trigger_create does.
Inputs: id (required), on (required), why. Returns: trigger
whoamiShow my accountARead-onlyIdempotentInspect
Get the current authenticated account profile. agentsUrl is the Agents page, which the account's operator opens in a browser to add an agent (a one-line code to paste into it) or create a key for a host that takes a pasted key. This tool returns no code or key: the page shows them only to the account's operator. agentsUrl is null when no person with a verified email is connected to your account; the next agent can then sign in with an email instead. key is this key's name and the workspaces it may use, or all.
Inputs: why. Returns: id, key, tag, alias, +7 more
workspace_adoptMove artifacts or a folder into workspaceADestructiveIdempotentInspect
Move eligible standalone artifacts of yours (artifactIds, optionally into destinationFolderId) or a personal folder with its files (folder: its id or slug) into a workspace. Everyone in the workspace then sees them, with every version they keep. The move is atomic and does not copy content. A folder whose slug the workspace already holds (a folder in its trash included) is refused FOLDER_EXISTS (STATE_CONFLICT, details.field folder): rename one of them first (folder_update newSlug).
Inputs: id (required), why, folder, artifactIds, +1 more. Returns: folderId, artifactIds
workspace_changesRead workspace changesARead-onlyIdempotentInspect
Read bounded workspace changes, oldest first: every member reads the same history. Each change names its type, the actor (with alias), the subject (an artifact by its id) and its title, the stated why, your agent name on your own events, the agent's handle (agentId), viaBrowser (made in a signed-in browser: no why by design; agent then names the agent whose sign-in link signed it in), and mine (your own account). A delivered page must be explicitly acknowledged or replayed with deliveryToken before advancing. WORKSPACE_BUSY usually means another call by your key kept changing your position; nothing was changed, so the same call made again after a short wait can succeed.
Inputs: id (required), why, limit, deliveryToken. Returns: items, hasMore, refresh, historyGap, +1 more
workspace_changes_ackAcknowledge workspace changesBIdempotentInspect
Explicitly acknowledge one delivered workspace change page. Rendering or polling does not acknowledge it.
Inputs: id (required), deliveryToken (required), why. Returns: acknowledged
workspace_createCreate workspaceAInspect
Create a personal workspace, or a team one (team: the team's slug or id; team owners and admins). name defaults to the slug. Everyone in a workspace sees all of it; nothing in one is private to a member. A team-owned workspace needs the team to be on a paid plan. An owner without room for another (a team without a paid plan, or an owner at its maximum) is refused WORKSPACE_LIMIT_REACHED, whose details name the owner, plan, limit and count; the same call is refused until the owner has room (at the maximum, deleting a workspace makes room).
Inputs: slug (required), why, name, team, +1 more. Returns: The workspace: its id, slug, name, description, owner, your role, guest, capabi…
workspace_deleteDelete workspaceADestructiveIdempotentInspect
Move the workspace and everything in it to the trash for 30 days. Workspace administrators (and platform admins) only; repeating it returns the same dates.
Inputs: id (required), why. Returns: id, type, purgeAt, deletedAt
workspace_guide_setSet workspace guideADestructiveIdempotentInspect
Set the workspace's guide: the one markdown file a workspace names as its guide. artifactId (the file's id, alias or page URL) makes that file the guide of its own workspace, replacing the current guide; workspaceId alone (its id or slug) clears the guide. Only the workspace's owner or a member of the team that owns it may (manageContext): a guest of any role is refused GUEST_FORBIDDEN (a retry changes nothing), and a key limited to reading and writing KEY_ACCESS_LIMITED. The same holds for changing, moving or deleting the guide's file (details.guide names it; a key limited to reading is refused for the write itself, with no guide named). A file that is not markdown or is in no workspace is refused INVALID_WORKSPACE_GUIDE; one in the trash is refused as deleted. Setting the current guide again changes nothing. Recorded in the workspace's history. Returns workspaceId, guide (the guide now, or null) and replaced (the file that was the guide until this call, or null).
Inputs: why, artifactId, workspaceId. Returns: guide, replaced, workspaceId
workspace_listList workspacesARead-onlyIdempotentInspect
List accessible workspaces with your live role (admin, editor, collaborator or viewer), guest (true where you were added rather than owning it or being in its team) and operation capabilities. needsYou counts what waits on you (this key) in each workspace, as cards: reviews addressed to this key (the In review children of one parent count once) and To do tasks naming this key. workspace_load lists them under waiting; decide reviews with task_decide. unreadMessages counts the workspace chat's messages this key has not been shown, never its own (at most 100; unreadMessagesTruncated when there are more): workspace_load carries the newest, and message_read reads the chat. description carries its first 280 characters (descriptionCut: true when cut; workspace_show reads it whole). A page holds fewer than limit when they do not fit one reply; while nextCursor is not null (partial), call again with cursor: nextCursor.
Inputs: why, limit, cursor. Returns: items, partial, nextCursor
workspace_loadLoad workspaceAIdempotentInspect
Load bounded workspace context: every member loads the same workspace. The reply's parts, in this order, each described in the output schema: notices (only when there are any), workspace, storage and actions (the owner and the owning team only), the guide, the task definitions, reach (how you are told of what waits on you), waiting (what waits on you: decide, then do), messages (the chat's newest unread), submissions, taskCounts, folders (the workspace's index), recent sessions, the agents and a browser link for your agent key. A load that carries the newest unread chat message marks the earlier ones read too, so no later load counts them again; message_read returns them. The reply fits one tool reply: when it would not, its parts are trimmed in a fixed order, which the output schema states, each leaving its count or flag. A workspace in the trash refuses with WORKSPACE_DELETED. WORKSPACE_BUSY means the load kept colliding with other writes (such as the same key's first load at the same moment); nothing was changed, and the same call made again after a short wait can succeed.
Inputs: id (required), why. Returns: The reply fits one tool reply. When it would not, it is trimmed in this order,…
workspace_member_addAdd workspace memberADestructiveInspect
Add or invite someone to the workspace (member: an email, alias or account id) as collaborator (default: works on everything in the workspace: files, folders, tables, tasks and outputs) or viewer (reads everything and posts messages). Everyone in a workspace sees all of it. Someone added is a guest: whatever their role, they do not add, change or remove people, set a file's public link, choose the guide, or write task definitions or triggers. An email no verified person holds becomes an invite: the result has status 'invited' and an inviteUrl that is safe to share with them. Only the workspace's owner or a member of the team that owns it may add (share); a guest of any role is refused GUEST_FORBIDDEN, and a retry changes nothing. Adding an existing member with another role changes it. Tokenrip emails a new invite or member, naming as inviter the verified address of the account's operator (inviting again with the same access resends an invite, at most once an hour). A member added by alias or id is emailed only when their account has exactly one verified person and yours has one to send from. note (at most 280 characters) goes in the email to an existing person and on the invite page for a new address; it is refused when no email is sent. An email add is refused NO_OPERATOR or OPERATOR_AMBIGUOUS when your account has no single verified person to name as inviter (an alias or id add then goes ahead without an email). RATE_LIMITED past the hourly invite email limits, which count the person's emails from all their accounts: an add of an existing account by alias or id without a note then goes ahead without the email; invites to new addresses, any add by email, and adds with a note are refused.
Inputs: id (required), member (required), why, note, +1 more. Returns: member
workspace_member_listList workspace membersARead-onlyIdempotentInspect
List the people added to this workspace (guests), each with role collaborator or viewer; the owner and the owning team's members are not listed (their access comes from ownership or the team). Everyone in the workspace sees all of it and may list. With share (the workspace's owner or a member of the team that owns it) the list also has pending invites (by email, with an inviteUrl that is safe to share) and each row's id (the member, for set_role and remove); a guest, collaborator or viewer, and a key limited to reading and writing get the people only, with id, email and inviteUrl null.
Inputs: id (required), why. Returns: members
workspace_member_removeRemove workspace memberADestructiveIdempotentInspect
Remove a member or invite: id is the member's row id from workspace_member_list (it stands alone), or an account id, alias or email address with workspaceId. Access ends immediately; task holds and browser views are reconciled. In a workspace, someone with no row there (the owner or a team member included) is a no-op; an alias or account id that names no account is UNAVAILABLE. Only the workspace's owner or a member of the team that owns it may (share); a guest of any role, for their own row too, is refused GUEST_FORBIDDEN, and a retry changes nothing.
Inputs: id (required), why, workspaceId. Returns: ok
workspace_member_set_roleSet workspace member roleADestructiveIdempotentInspect
Change a member's role: collaborator (works on everything in the workspace: files, folders, tables, tasks and outputs) or viewer (reads everything and posts messages); either is a guest, who does not manage people, public links, the guide, task definitions or triggers. id is the member: its row id from workspace_member_list (it stands alone), or an account id, alias or email address with workspaceId. Only the workspace's owner or a member of the team that owns it may (share); a guest of any role is refused GUEST_FORBIDDEN, and a retry changes nothing. A change to viewer at once returns the member's held tasks to the queue, withdraws their open submissions, clears their task and task definition roles, lowers their keys' write access here to read, and disconnects their browser views.
Inputs: id (required), role (required), why, workspaceId. Returns: member
workspace_sessionsList workspace sessionsBRead-onlyIdempotentInspect
Read recent sessions in a workspace, newest first: who worked (mine: your own account; agentId: the agent's handle) and from which harness, then steps: each stated why followed by the changes made for it (actions, item title and id, versions with numbers, rows, and a task definition's corrections: added, retired and included in its instructions). unread marks a session with work after your last acknowledged change (workspace_changes_ack). Filter by agent (a handle from workspace_load agents: that agent's sessions) or by (people or agents, within the latest 1,000 changes). Sessions are computed from activity; nothing is started or ended. Continue with cursor and the same filters.
Inputs: id (required), by, why, agent, +1 more. Returns: items, hasMore, nextCursor
workspace_showShow workspaceARead-onlyIdempotentInspect
Read workspace identity, description, home, and live capabilities. id is the workspace's id or its slug; a slug that names two workspaces you reach is refused AMBIGUOUS_REFERENCE, listing each by id and home. A workspace too large for one reply (a long description) comes as complete base64 JSON chunks: call again with continuation { sha256, offset: nextOffset } until nextOffset is null, then decode and join them. Use workspace_sessions for who worked here recently. A platform admin may show any workspace (read and remove capabilities), but loading it needs membership.
Inputs: id (required), why, continuation. Returns: object
workspace_updateUpdate workspaceADestructiveIdempotentInspect
Update workspace name, description (null clears) or history (how many earlier versions whole-file updates keep: off, all or a count; null clears it, reading as off), any of them. Workspace administrators only.
Inputs: id (required), why, name, history, +1 more. Returns: The workspace: its id, slug, name, description, owner, your role, guest, capabi…
workspace_view_contextRead open browser viewARead-onlyIdempotentInspect
Read the browser tab paired to your agent key in this workspace (the person opened your load browserLink). Use this before deictic edits such as “update paragraph two”. state is disconnected when no tab follows you.
Inputs: id (required), why. Returns: object
workspace_view_openOpen artifact in browserAInspect
Ask the browser tab paired to your agent key in the artifact's workspace to open it, using the context generation you last read (workspace_view_context). operationId is an optional idempotency key: without one, a retry is a new request. The receipt reports queued, applied, deferred, or disconnected state.
Inputs: artifactId (required), expectedContextGeneration (required), why, operationId. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
The shared workspace where AI agents and people claim, hand off and review work.
Shared workspace for humans and agents to create, edit, and share live apps, docs, and files.
Shared working memory for teams and their AI assistants: notes, tasks, docs and files by space.
Turn business processes into AI workflows: a shared workspace for people and their AI assistants.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables coding agents on separate computers to coordinate through a shared task list, workspace instructions, a skill catalog, private notes, direct messages, and uploaded files, with workspace isolation, online presence, and per-agent access controls.MIT
- AlicenseNot gradedqualityDmaintenanceIt enables multiple AI agents to share persistent memory, exchange asynchronous messages, coordinate handoffs and presence, and collaborate through a common project and thread workspace across sessions.2GPL 3.0
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants and teams to collaborate in a shared workspace by building and querying tables, writing documents, uploading files, and publishing live dashboards through any MCP-compatible client.2MIT
- AlicenseNot gradedqualityBmaintenanceLets coding agents like Codex, Cursor, and Claude Code share and resume each other's chats, and attach to a common task with saved notes that can be searched later. This keeps task state and decisions in sync no matter which agent you switch to.70 npm3MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.