mcp-server
v0.11.46Opsee MCP server — manage projects, tasks, docs, and cycles from AI coding environments
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
opsee_get_me
Get the currently authenticated Opsee user's profile (name, email, role, company).
opsee_list_users
Lists users in the authenticated company. Opsee scopes users at the Company level — there is no project-scoped user listing because Users do not have a per-project relation. Use this to resolve assignee names to IDs.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number (default: 1) |
pageSize | integer | Items per page (default: 50) |
opsee_get_user
Get full details of a specific user by ID.
| Parameter | Type | Description |
|---|---|---|
userId * | integer | The user ID |
opsee_list_projects
List all Opsee projects the authenticated user has access to.
opsee_get_project
Get details of a specific Opsee project by ID.
| Parameter | Type | Description |
|---|---|---|
projectId * | integer | The project ID |
opsee_list_tasks
List tasks in an Opsee project. Supports filtering by status, assignee, board column, cycle, labels, priority, type, milestone, parent, due date, and update/create recency. labelIds uses AND semantics; multi-id filters (priorityIds/taskTypeIds/milestoneIds) use OR semantics. Supports sorting via sortBy (created_at|updated_at|due_date|priority|title|id|display_order) and sortDir (asc|desc).
| Parameter | Type | Description |
|---|---|---|
projectId * | integer | The project ID |
assigneeId | integer | Filter by assigned user ID |
columnId | integer | Filter by board column ID (status) |
createdSince | string | Only tasks created at or after this timestamp (RFC3339 or YYYY-MM-DD) |
cycleId | integer | Filter by cycle/sprint ID |
dueAfter | string | Only tasks due at or after this date (RFC3339 or YYYY-MM-DD) |
dueBefore | string | Only tasks due at or before this date (RFC3339 or YYYY-MM-DD) |
hasParent | boolean | true = only subtasks, false = only top-level tasks |
labelIds | array | Filter by label IDs (AND semantics — task must have all listed labels) |
milestoneIds | array | Filter by one or more milestone IDs (OR semantics) |
page | integer | Page number (default: 1) |
pageSize | integer | Items per page (default: 50) |
parentTaskId | integer | Filter to subtasks of this task ID |
priorityIds | array | Filter by one or more priority IDs (OR semantics) |
sortBy | string | Sort column. NULLs sort last. |
sortDir | string | Sort direction (default: desc) |
taskTypeIds | array | Filter by one or more task type IDs (OR semantics) |
unassigned | boolean | true = only unassigned tasks (triage queue) |
updatedSince | string | Only tasks updated at or after this timestamp (RFC3339 or YYYY-MM-DD) |
opsee_get_task
Get full details of a specific task by ID. Pass includeContext=true when picking up a ticket to also get its labels, comments, dependencies (both directions), parent task, and subtasks in the same call — saves ~5 round-trips.
| Parameter | Type | Description |
|---|---|---|
taskId * | integer | The task ID |
includeContext | boolean | Also return labels, comments, dependencies, parent task, and subtasks (default false) |
opsee_create_task
Create a new task in an Opsee project. Use opsee_list_task_types, opsee_list_task_priorities, and opsee_list_board_columns first to get valid values for optional fields.
| Parameter | Type | Description |
|---|---|---|
projectId * | integer | The project ID |
title * | string | Task title |
assigneeId | integer | Assigned user ID |
boardColumnId | integer | Board column ID (from opsee_list_board_columns) |
cycleId | integer | Cycle/sprint ID |
description | string | Task description. Markdown is supported — headings (##), bullets (-), code fences, inline **bold** / *italic* / `code` / links all render as proper formatted blocks in the UI. For ACCEPTANCE CRITERI… |
estimatedHours | number | Estimated effort in hours |
labelIds | array | Label IDs to attach to the new task. Saves a follow-up opsee_attach_label_to_task call per label. |
milestoneId | integer | Milestone ID — attaches this task to the milestone. |
parentTaskId | integer | Parent task ID — makes this task a subtask of the given task. |
priorityId | integer | Priority ID (from opsee_list_task_priorities) |
storyPoints | integer | Story points estimate (positive integer) |
taskTypeId | integer | Task type ID (from opsee_list_task_types) |
opsee_update_task
Update a task's fields (patch semantics - only provided fields are changed). Fetches the current task first, merges your changes, and sends the full update.
| Parameter | Type | Description |
|---|---|---|
taskId * | integer | The task ID to update |
assigneeId | integer | New assigned user ID |
boardColumnId | integer | New board column ID (status) |
cycleId | integer | New cycle/sprint ID |
description | string | New description. Markdown is supported — headings (##), bullets (-), code fences, inline **bold** / *italic* / `code` / links all render as proper formatted blocks in the UI. For ACCEPTANCE CRITERIA… |
estimatedHours | number | Estimated effort in hours |
initiativeId | integer | Initiative ID to link this task to. >0 links the task to that Initiative, 0 detaches. |
labelIds | array | Replace this task's labels with this set. Omit to leave labels unchanged. Empty array clears all labels. |
milestoneId | integer | New milestone ID (0 detaches from the current milestone). |
parentTaskId | integer | New parent task ID (0 clears the parent and promotes to a top-level task). |
priorityId | integer | New priority ID |
storyPoints | integer | Story points estimate (positive integer) |
taskTypeId | integer | New task type ID |
title | string | New title |
opsee_bulk_update_tasks
Apply the same field changes to many tasks at once — reassign, reprioritize, move to a column or cycle, or any combination. Backend wraps all updates in one DB transaction. Per-task lookup failures (task not visible to your company, or unknown ID) are silently skipped — compare updated_count against taskIds.length to detect partial application. Omitted fields are not touched. labelIds with a non-empty list replaces each task's labels; empty/omitted leaves them alone.
| Parameter | Type | Description |
|---|---|---|
projectId * | integer | Project ID - all tasks must belong to this project |
taskIds * | array | Task IDs to update (at least one) |
assignedUserId | integer | New assigned user ID |
boardColumnId | integer | New board column ID (status) |
cycleId | integer | New cycle/sprint ID |
estimatedHours | number | Estimated hours to set on every task |
labelIds | array | Replace label attachments on every task with this set. Empty / omitted leaves labels untouched. |
milestoneId | integer | Milestone ID to attach every task to. Bulk only supports set, not clear — use opsee_update_task for detaching a single task. |
parentTaskId | integer | Parent task ID for every task (pass 0 to clear) |
storyPoints | integer | Story points to set on every task |
taskPriorityId | integer | New priority ID |
taskTypeId | integer | New task type ID |
opsee_replace_task_labels
Replace the entire set of labels on a single task. Use opsee_update_task with labelIds for the same effect, but this tool is more discoverable for the common 'set my labels to [...]' flow.
| Parameter | Type | Description |
|---|---|---|
labelIds * | array | Label IDs to set (empty array clears all labels) |
taskId * | integer | The task ID |
opsee_link_task_to_initiative
Link an existing task to an Initiative — use this to bring an already-existing task into an initiative's scope. To create NEW tasks under an initiative, use opsee_decompose_initiative (first time) or opsee_reconcile_initiative (re-planning) instead. Fetches the task first so no other fields are blanked.
| Parameter | Type | Description |
|---|---|---|
initiativeId * | integer | The initiative ID to link the task to |
taskId * | integer | The task ID to link |
opsee_unlink_task_from_initiative
Detach a task from its current Initiative. Fetches the task first so no other fields are blanked.
| Parameter | Type | Description |
|---|---|---|
taskId * | integer | The task ID to unlink |
opsee_delete_task
Delete a task by ID. This is permanent.
| Parameter | Type | Description |
|---|---|---|
taskId * | integer | The task ID to delete |
opsee_bulk_delete_tasks
Delete multiple tasks in one call. Tasks not visible to your company or not found are silently skipped — compare deletedCount against taskIds.length to detect partial application. This is permanent.
| Parameter | Type | Description |
|---|---|---|
projectId * | integer | Project ID - all tasks must belong to this project |
taskIds * | array | Task IDs to delete (at least one) |
opsee_list_task_types
Get available task types (Bug, Feature, etc.) for an Opsee project. Use these IDs when creating or updating tasks.
| Parameter | Type | Description |
|---|---|---|
projectId * | integer | The project ID |
opsee_list_task_priorities
Get priority levels (Critical, High, Medium, Low, etc.) for an Opsee project. Use these IDs when creating or updating tasks.
| Parameter | Type | Description |
|---|---|---|
projectId * | integer | The project ID |
opsee_list_boards
List Kanban boards for an Opsee project. Use the board ID to list board columns.
| Parameter | Type | Description |
|---|---|---|
projectId * | integer | The project ID |
opsee_list_board_columns
Get board columns/statuses (To Do, In Progress, Done, etc.) for a board. Use these IDs when creating or updating tasks.
| Parameter | Type | Description |
|---|---|---|
boardId * | integer | The board ID |
opsee_list_cycles
List cycles/sprints in an Opsee project.
| Parameter | Type | Description |
|---|---|---|
projectId * | integer | The project ID |
opsee_get_cycle
Get details of a specific cycle/sprint by ID.
| Parameter | Type | Description |
|---|---|---|
cycleId * | integer | The cycle ID |
opsee_create_cycle
Create a new cycle/sprint in an Opsee project.
| Parameter | Type | Description |
|---|---|---|
endDate * | string | End date (ISO 8601, e.g. 2026-04-08) |
name * | string | Cycle name |
projectId * | integer | The project ID |
startDate * | string | Start date (ISO 8601, e.g. 2026-03-25) |
description | string | Cycle description |
opsee_update_cycle
Update a cycle's fields (patch semantics — only provided fields change). Fetches the current cycle first, merges your changes, sends the full update.
| Parameter | Type | Description |
|---|---|---|
cycleId * | integer | The cycle ID to update |
description | string | New description |
endDate | string | New end date (ISO 8601) |
goal | string | New goal |
isActive | boolean | Whether the cycle is active |
name | string | New name |
startDate | string | New start date (ISO 8601) |
opsee_close_cycle
Close a cycle (mark inactive) and carry its UNFINISHED tasks forward to a target cycle. Tasks in a done/archived column stay behind so the closed cycle keeps an accurate completion record. Pass createNextCycle:true with name/startDate/endDate to also create the next cycle and carry forward into it in the same call. Omit both target options to close without moving anything.
| Parameter | Type | Description |
|---|---|---|
cycleId * | integer | ID of the cycle to close |
createNextCycle | boolean | If true, create the next cycle in this project (requires name/startDate/endDate) and carry tasks into it |
nextCycleEndDate | string | ISO 8601 end date when createNextCycle:true |
nextCycleId | integer | Existing cycle to carry unfinished tasks into. Must be in the same project. Mutually exclusive with createNextCycle. |
nextCycleName | string | Name of the cycle to create when createNextCycle:true |
nextCycleStartDate | string | ISO 8601 start date when createNextCycle:true |
opsee_get_active_cycle
Return the currently-active cycle for a project, or 'No active cycle' if none.
| Parameter | Type | Description |
|---|---|---|
projectId * | integer | The project ID |
opsee_delete_cycle
Delete a cycle by ID. This is permanent. Tasks assigned to the cycle are not deleted, but their cycle reference is cleared.
| Parameter | Type | Description |
|---|---|---|
cycleId * | integer | The cycle ID |
opsee_list_doc_spaces
List documentation spaces in an Opsee project.
| Parameter | Type | Description |
|---|---|---|
projectId * | integer | The project ID |
opsee_list_doc_pages
List documentation pages in an Opsee project.
| Parameter | Type | Description |
|---|---|---|
projectId * | integer | The project ID |
opsee_get_doc_page
Read a documentation page's content by ID.
| Parameter | Type | Description |
|---|---|---|
pageId * | integer | The doc page ID |
opsee_create_doc_page
Create a new documentation page in an Opsee project.
| Parameter | Type | Description |
|---|---|---|
content * | string | Page content: markdown/plain text, or a BlockNote JSON array |
projectId * | integer | The project ID |
title * | string | Page title |
contentType | string | How the reader should interpret content: 'text' (markdown/plain) or 'json' (BlockNote array). Leave unset to detect it from the content. |
parentPageId | integer | Parent page ID for nested pages |
opsee_update_doc_page
Update a documentation page's title, content, or contentType. Read-merge-write: fields you don't pass are preserved. No optimistic lock -- a concurrent edit from the web UI can be silently lost. Content cannot be cleared to an empty string; that call is rejected up front rather than reporting a false success. Ordering is not settable here -- it belongs to opsee_move_doc_page. Changing title or content snapshots the prior version into page history unless snapshotVersion: false.
| Parameter | Type | Description |
|---|---|---|
pageId * | integer | The doc page ID |
changeSummary | string | Short note describing the change, stored on the version snapshot |
content | string | New page content: markdown/plain text, or a BlockNote JSON array |
contentType | string | How the reader should interpret content. Only used when content is also provided; leave unset to detect it from the content. |
snapshotVersion | boolean | Record this edit in page version history when the title or content changed. Defaults to true. |
title | string | New title. When provided, the slug is regenerated from it. |
opsee_delete_doc_page
Delete a documentation page. Soft delete with no cascade: child pages are neither deleted nor reparented, so they keep pointing at the deleted parent -- still listable, but gone from the page tree. No undo through this API. Requires Admin or Owner; a User-role caller gets a permission error. To hide a page reversibly instead, use opsee_set_doc_page_archived.
| Parameter | Type | Description |
|---|---|---|
pageId * | integer | The doc page ID |
opsee_set_doc_page_archived
Archive or unarchive a documentation page. This does not cascade to child pages. Archived pages are excluded from the doc page tree view by default. Reversible: call again with archived: false to restore it.
| Parameter | Type | Description |
|---|---|---|
archived * | boolean | true to archive, false to unarchive |
pageId * | integer | The doc page ID |
opsee_list_repositories
List connected VCS repositories (GitHub/GitLab) for an Opsee project.
| Parameter | Type | Description |
|---|---|---|
projectId * | integer | The project ID |
opsee_list_milestones
List milestones in an Opsee project.
| Parameter | Type | Description |
|---|---|---|
projectId * | integer | The project ID |
opsee_get_milestone
Get details of a specific milestone by ID.
| Parameter | Type | Description |
|---|---|---|
milestoneId * | integer | The milestone ID |
opsee_create_milestone
Create a new milestone in an Opsee project.
| Parameter | Type | Description |
|---|---|---|
name * | string | Milestone name |
projectId * | integer | The project ID |
description | string | Milestone description |
endDate | string | End date (ISO 8601, e.g. 2026-04-08) |
startDate | string | Start date (ISO 8601, e.g. 2026-04-01) |
status | string | Milestone status. Defaults to 'Planned' |
opsee_update_milestone
Update a milestone's fields. Fetches the current milestone first, then applies only the provided changes.
| Parameter | Type | Description |
|---|---|---|
milestoneId * | integer | The milestone ID to update |
description | string | New description |
endDate | string | New end date (ISO 8601) |
name | string | New name |
startDate | string | New start date (ISO 8601) |
status | string | New status |
opsee_list_milestone_tasks
List tasks attached to a specific milestone.
| Parameter | Type | Description |
|---|---|---|
milestoneId * | integer | The milestone ID |
opsee_attach_task_to_milestone
Attach an existing task to a milestone.
| Parameter | Type | Description |
|---|---|---|
milestoneId * | integer | The milestone ID |
taskId * | integer | The task ID to attach |
opsee_detach_task_from_milestone
Detach a task from a milestone. Requires the MilestoneTask ID (not the task ID) — use opsee_list_milestone_tasks to find it.
| Parameter | Type | Description |
|---|---|---|
milestoneTaskId * | integer | The MilestoneTask ID (from opsee_list_milestone_tasks) |
opsee_list_labels
List labels defined in an Opsee project. Use opsee_list_task_labels for labels attached to a specific task.
| Parameter | Type | Description |
|---|---|---|
projectId * | integer | The project ID |
page | integer | Page number (default: 1) |
pageSize | integer | Items per page (default: 50) |
opsee_get_label
Get full details of a specific label by ID.
| Parameter | Type | Description |
|---|---|---|
labelId * | number | The label ID |
opsee_create_label
Create a new label in an Opsee project.
| Parameter | Type | Description |
|---|---|---|
name * | string | Label name |
projectId * | integer | The project ID |
color | string | Hex color, e.g. #ffaa00 or ffaa00 |
description | string | Label description |
isActive | boolean | Whether the label is active (default: true) |
opsee_update_label
Update a label's fields (patch semantics - only provided fields are changed). Fetches the current label first, merges your changes, and sends the full update.
| Parameter | Type | Description |
|---|---|---|
labelId * | integer | The label ID to update |
color | string | New hex color, e.g. #ffaa00 or ffaa00 |
description | string | New description |
isActive | boolean | Whether the label is active |
name | string | New label name |
opsee_delete_label
Delete a label permanently. Attached TaskLabel rows are not cleaned up automatically by this tool — backend behavior dictates whether cascade applies.
| Parameter | Type | Description |
|---|---|---|
labelId * | integer | The label ID to delete |
opsee_attach_label_to_task
Attach an existing label to a task. Returns the TaskLabel join-row ID needed for opsee_detach_label_from_task.
| Parameter | Type | Description |
|---|---|---|
labelId * | integer | The label ID to attach |
taskId * | integer | The task ID |
opsee_detach_label_from_task
Pass the TaskLabel join-row id (returned from opsee_list_task_labels), not the labelId. Proto DeleteTaskLabelRequest takes the join PK.
| Parameter | Type | Description |
|---|---|---|
taskLabelId * | integer | The TaskLabel join-row ID (from opsee_list_task_labels), not the label ID |
opsee_list_task_labels
List labels attached to a specific task (returns TaskLabel join rows with embedded Label data).
| Parameter | Type | Description |
|---|---|---|
taskId * | integer | The task ID |
page | integer | Page number (default: 1) |
pageSize | integer | Items per page (default: 50) |
opsee_list_comments
List comments on a task or an Initiative, oldest first. Includes both regular and internal comments visible to the caller. Provide exactly one of taskId or initiativeId.
| Parameter | Type | Description |
|---|---|---|
initiativeId | integer | The initiative ID (provide exactly one of taskId or initiativeId) |
page | integer | Page number (default: 1) |
pageSize | integer | Items per page (default: 50) |
taskId | integer | The task ID (provide exactly one of taskId or initiativeId) |
opsee_add_comment
Add a comment to a task or an Initiative. Posts as the authenticated user. Provide exactly one of taskId or initiativeId. Set isInternal=true to mark the comment as internal (visibility depends on backend RBAC).
| Parameter | Type | Description |
|---|---|---|
content * | string | Comment body |
initiativeId | integer | The initiative ID to comment on (provide exactly one of taskId or initiativeId) |
isInternal | boolean | Mark as internal comment (default: false) |
taskId | integer | The task ID to comment on (provide exactly one of taskId or initiativeId) |
opsee_edit_comment
Edit an existing comment's content and/or internal flag. Posts as the original author. Use opsee_list_comments first to confirm the comment ID.
| Parameter | Type | Description |
|---|---|---|
commentId * | integer | The comment ID to edit |
content * | string | New comment body |
isInternal | boolean | Update the internal flag (defaults to the comment's existing value if omitted) |
opsee_delete_comment
Delete a comment by ID. This is permanent.
| Parameter | Type | Description |
|---|---|---|
commentId * | integer | The comment ID |
opsee_create_task_dependency
Create a dependency relationship between two tasks. Use BLOCKS when the from-task must be completed before the to-task. Use BLOCKED_BY for the inverse. Use DUPLICATES when tasks are duplicates. Use RELATES_TO for a general association.
| Parameter | Type | Description |
|---|---|---|
fromTaskId * | integer | The ID of the source task |
toTaskId * | integer | The ID of the target task |
type * | string | Dependency type: BLOCKS, BLOCKED_BY, DUPLICATES, or RELATES_TO |
opsee_list_task_dependencies
List all dependencies for a task — returns both outgoing (task blocks others) and incoming (task is blocked by others) relationships.
| Parameter | Type | Description |
|---|---|---|
taskId * | integer | The task ID |
page | integer | Page number (default: 1) |
pageSize | integer | Items per page (default: 50) |
opsee_delete_task_dependency
Delete a task dependency by its ID. This is permanent.
| Parameter | Type | Description |
|---|---|---|
dependencyId * | integer | The task dependency ID |
opsee_get_dependency_chain
Server-side BFS over the BLOCKS/BLOCKED_BY graph from a task. Returns the reachable tasks and the edges that connect them. Use direction='blocks' for downstream (what does this task unblock), 'blocked_by' for upstream (what is this task waiting on), 'both' for the full neighborhood. Depth caps at 10.
| Parameter | Type | Description |
|---|---|---|
taskId * | integer | The starting task ID |
depth | integer | Max hops from the source (default: 5, capped at 10) |
direction | string | Direction to walk (default: both) |
opsee_list_work_logs
List all work-log entries for a task, oldest first. Includes the user who logged each entry, hours, and optional description.
| Parameter | Type | Description |
|---|---|---|
taskId * | integer | The task ID |
opsee_log_work
Log time against a task. Posts as the authenticated user. Hours must be > 0.
| Parameter | Type | Description |
|---|---|---|
hours * | number | Hours worked (>= 0.1) |
taskId * | integer | The task ID |
description | string | Optional note describing what was done |
opsee_delete_work_log
Delete a work-log entry by ID. This is permanent.
| Parameter | Type | Description |
|---|---|---|
taskId * | integer | The task ID the work log belongs to |
workLogId * | integer | The work log ID to delete |
opsee_get_task_actual_hours
Sum of all work_log hours on a task. Use this to compare against opsee_get_task's estimatedHours when assessing whether a task is over budget.
| Parameter | Type | Description |
|---|---|---|
taskId * | integer | The task ID |
opsee_list_my_notifications
Inbox-style listing of the authenticated user's notifications, newest first. Common notification_type values: task_assigned, comment_added, mention, task_blocked_unblocked, ai_workflow_status_change. Pass unreadOnly:true to see just the inbox.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number (default: 1) |
pageSize | integer | Items per page (default: 50) |
unreadOnly | boolean | If true, only return notifications where is_read=false |
opsee_mark_notification_read
Mark a notification as read. Read-modify-write: fetches the current notification and re-issues EditNotification with is_read=true so other fields aren't clobbered.
| Parameter | Type | Description |
|---|---|---|
notificationId * | integer | The notification ID |
opsee_mark_all_notifications_read
Loop through every unread notification and mark each read. Best-effort: per-notification failures are reported in the summary but don't abort the call. Caller can pass a maximum to bound the call.
| Parameter | Type | Description |
|---|---|---|
max | integer | Maximum number of unread notifications to mark read in this call (default: 100, hard cap 500) |
opsee_list_task_acceptance_criteria
Lists STRUCTURED acceptance criteria from a separate DB entity, NOT the checklist items inside the task description. Most tasks have their AC inline in the description as `- [ ]` markdown — to read those, fetch the task description via opsee_get_task and parse the checklist lines yourself. This tool only returns rows from the `acceptance_criteria` table, which is the automation/power-user path, not the main UI. Returns items ordered by display_order then id with text + done flag + display_order.
| Parameter | Type | Description |
|---|---|---|
taskId * | integer | The task ID |
opsee_add_acceptance_criterion
POWER-USER PATH — writes a STRUCTURED criterion to the `acceptance_criteria` DB table, which does NOT surface in the task detail UI. For typical AC, use opsee_update_task and write `- [ ]` checkbox lines under a `## Acceptance criteria` heading in the task description instead — those render as clickable checkboxes via BlockNote. Use this tool only when you need machine-trackable AC for automation (e.g. mapping criteria to PRs, AI workflow outputs, reporting). display_order defaults to 0; pass an explicit value to control ordering.
| Parameter | Type | Description |
|---|---|---|
taskId * | integer | The task ID |
text * | string | Criterion text (what passing this AC looks like) |
displayOrder | integer | Display order (default: 0) |
opsee_update_acceptance_criterion
POWER-USER PATH — patches a STRUCTURED criterion in the `acceptance_criteria` DB table. Does NOT touch description-embedded checkboxes; those live in the task description and are edited via opsee_update_task's description field. Use this only for the automation path that created the criterion via opsee_add_acceptance_criterion. Patch semantics: any subset of text / done / displayOrder; fields not supplied are left alone.
| Parameter | Type | Description |
|---|---|---|
criterionId * | integer | The criterion ID |
displayOrder | integer | New display order |
done | boolean | Mark complete or incomplete |
text | string | New text |
opsee_delete_acceptance_criterion
POWER-USER PATH — deletes a STRUCTURED criterion row from the `acceptance_criteria` DB table by ID. Does NOT remove `- [ ]` lines from a task description; for those, edit the description via opsee_update_task. Soft delete; this is permanent at the application layer.
| Parameter | Type | Description |
|---|---|---|
criterionId * | integer | The criterion ID |
opsee_list_initiatives
List initiatives in an Opsee project. Pass `search` to find a specific initiative by keyword — it matches the title and summary, tokenized, and ranks the best match first (most-recently-updated breaks ties). Use this to resume work by name, e.g. for "resume the auth-refactor initiative" call with search: "auth". Without `search`, returns all initiatives, most recent first.
| Parameter | Type | Description |
|---|---|---|
projectId * | integer | The project ID |
search | string | Keyword to match against initiative title + summary (ranked); omit to list all by recency |
opsee_get_initiative
Get details of a specific initiative by ID (title, status, summary, core idea). To pick up or resume WORK on it — the task tree, memory log, and PRs together — call opsee_get_initiative_context instead.
| Parameter | Type | Description |
|---|---|---|
initiativeId * | integer | The initiative ID |
opsee_create_initiative
Create a new initiative in an Opsee project. After creating, expand the plan in the core idea (the coreIdea field); when the plan is ready, propose a decomposition with opsee_decompose_initiative rather than creating tasks by hand.
| Parameter | Type | Description |
|---|---|---|
projectId * | integer | The project ID |
title * | string | Initiative title |
anchorId | integer | Anchor entity ID. Required when anchorType is not 'none' |
anchorType | string | Anchor type (none | task | milestone | cycle). Defaults to 'none' |
coreIdea | string | Core idea body (the initiative's primary description). Markdown is supported and recommended — headings (##), bullets (-), checklists, code fences, **bold**/*italic*/`code`/links all render as forma… |
coreIdeaContentType | string | Content type of coreIdea: 'text' (markdown — the default) or 'json' (BlockNote). Leave unset and just write markdown. |
status | string | Initiative status. Defaults to 'draft' |
summary | string | Short summary of the initiative |
opsee_update_initiative
Update an initiative's fields. Fetches the current initiative first, then applies only the provided changes. Status lifecycle: draft → active (opsee_decompose_initiative flips this automatically) → completed when the work is done. For dropped work, set status to 'abandoned' WITH a reason (in the summary or a memory entry) rather than deleting — that preserves the shared brain.
| Parameter | Type | Description |
|---|---|---|
initiativeId * | integer | The initiative ID to update |
anchorId | integer | New anchor entity ID |
anchorType | string | New anchor type |
coreIdea | string | New core idea body. Markdown is supported and renders as formatted blocks in the UI (same as task descriptions). |
coreIdeaContentType | string | Content type for coreIdea: 'text' (markdown — default) or 'json' (BlockNote). |
status | string | New status |
summary | string | New summary |
title | string | New title |
opsee_delete_initiative
Delete an initiative permanently. Prefer setting status to 'abandoned' (via opsee_update_initiative) with a reason — that preserves the initiative's memory/shared brain for later reference. Only hard-delete an initiative created in error.
| Parameter | Type | Description |
|---|---|---|
initiativeId * | integer | The initiative ID to delete |
opsee_get_initiative_context
Load an entire Initiative work session in one call: the core-idea doc body, the execution task tree with parallel slices (what can run concurrently vs sequentially), the append-only memory log, and rolled-up PRs. Call this FIRST when picking up or resuming work on an Initiative. The response ends with a working agreement: treat this context as the source of truth, log decisions/blockers/learnings as you go with opsee_add_initiative_memory, and call opsee_checkpoint when you finish a unit of work.
| Parameter | Type | Description |
|---|---|---|
initiativeId * | integer | The initiative ID |
memoryLimit | integer | Cap on memory entries returned (most recent first); 0 or omitted = service default |
opsee_get_initiative_graph
Get the task dependency graph for an initiative, including parallel execution batches (slices). Use the slices to choose the next batch of tasks that can be worked concurrently. (opsee_get_initiative_context already includes this graph — call this only when you need the graph on its own.)
| Parameter | Type | Description |
|---|---|---|
initiativeId * | integer | The initiative ID |
opsee_decompose_initiative
Materialize a proposed breakdown as real Tasks under the Initiative. PROPOSE FIRST: present the task tree (titles, structure, dependencies) to the human and get approval BEFORE calling — that approval is the confirm step, and not calling is how the human declines. One atomic operation; also moves a draft Initiative to active. Wire the tree with temporary `ref` ids: `parentRef` nests a subtask, `edges` (from_ref blocks to_ref) express sequencing, and tasks with no blocking edge run in parallel. All-or-nothing: a bad ref rolls the whole thing back.
| Parameter | Type | Description |
|---|---|---|
edges * | array | Dependency edges between tasks (by ref) |
initiativeId * | integer | The initiative ID |
tasks * | array | Tasks to create under this initiative |
opsee_reconcile_initiative
Diff a proposed task tree against an Initiative that already has tasks, and optionally apply it. For first-time task creation on a fresh Initiative use opsee_decompose_initiative instead. Workflow (follow every time): 1. opsee_get_initiative_context to load the current tree; note each task's ID. 2. Build the proposed list. Set existingTaskId to a real ID to keep that task; omit it for new tasks. 3. Call with dryRun:true to preview the changeset. 4. Present it to the human, ESPECIALLY flagged items: those carry execution state (PRs, worklogs, in-progress) and are never deleted — they stay…
| Parameter | Type | Description |
|---|---|---|
edges * | array | Dependency edges between tasks (by ref) |
initiativeId * | integer | The initiative ID |
tasks * | array | Proposed task tree — include kept tasks with existingTaskId, new tasks without |
dryRun | boolean | When true, compute and return the changeset without writing anything. Always call with dryRun:true first to preview. |
opsee_add_initiative_memory
Log a SINGLE decision, outcome, learning, blocker, or context entry to the Initiative's append-only memory the moment it happens — the as-you-go granular logger. Cite the source task or PR where relevant. For end-of-unit wrap-ups, use opsee_checkpoint instead.
| Parameter | Type | Description |
|---|---|---|
body * | string | The memory entry body text |
initiativeId * | integer | The initiative ID |
kind * | string | Entry kind: decision | outcome | learning | blocker | context |
contentType | string | Content type of body: 'text' (markdown — the default) or 'json' (BlockNote). Defaults to 'text' |
sourceId | integer | ID of the source entity (task ID, PR ID, etc.) |
sourceType | string | Source type: none | task | pull_request | doc | workflow. Defaults to 'none' |
sourceUrl | string | URL linking to the source |
opsee_checkpoint
End-of-unit wrap-up for an Initiative: records what a unit of work accomplished to the Initiative's memory and links what it touched. Call this when you finish a coherent chunk of work (a task, a PR, an investigation) — distinct from opsee_add_initiative_memory, which logs a single decision/blocker the moment it happens. Defaults the entry kind to 'outcome'.
| Parameter | Type | Description |
|---|---|---|
initiativeId * | integer | The initiative ID |
summary * | string | What this unit of work accomplished and what's next |
kind | string | Memory entry kind. Defaults to 'outcome' |
prUrl | string | The PR/MR this work produced (recorded as the entry's source URL) |
taskId | integer | The task this work advanced (links the entry to it) |
opsee_list_initiative_memory
List memory entries for an initiative (newest first). Optionally filter by kind, source type, or source ID.
| Parameter | Type | Description |
|---|---|---|
initiativeId * | integer | The initiative ID |
kinds | array | Filter by entry kinds (decision | outcome | learning | blocker | context) |
sourceId | integer | Filter by source entity ID |
sourceType | string | Filter by source type (none | task | pull_request | doc | workflow) |
opsee_get_doc_space
Get full details of a specific doc space by ID.
| Parameter | Type | Description |
|---|---|---|
spaceId * | integer | The doc space ID |
opsee_create_doc_space
Create a new documentation space in an Opsee project. Requires the Admin or Owner role; the User role has read-only access to doc spaces.
| Parameter | Type | Description |
|---|---|---|
projectId * | integer | The project ID |
title * | string | Doc space title |
description | string | Doc space description |
isDefault | boolean | Whether this is the project's default doc space (default: false) |
opsee_update_doc_space
Update a doc space's fields (patch semantics - only provided fields are changed). EditDocSpaceRequest has no field mask, so this fetches the current doc space first and resends every field. The slug is regenerated only when title changes.
| Parameter | Type | Description |
|---|---|---|
spaceId * | integer | The doc space ID to update. Requires the Admin or Owner role. |
description | string | New description |
isArchived | boolean | Whether the doc space is archived |
isDefault | boolean | Whether this is the project's default doc space |
title | string | New title |
opsee_delete_doc_space
Delete a doc space. Doc pages are not linked to doc spaces in the data model — pages are attached directly to the project. Deleting a doc space only removes this grouping row; it has no effect on any doc pages.
| Parameter | Type | Description |
|---|---|---|
spaceId * | integer | The doc space ID to delete. Requires the Admin or Owner role. |
opsee_list_doc_templates
List documentation templates in an Opsee project.
| Parameter | Type | Description |
|---|---|---|
projectId * | integer | The project ID |
opsee_create_doc_template
Create a new documentation template in an Opsee project.
| Parameter | Type | Description |
|---|---|---|
content * | string | Template content |
name * | string | Template name |
projectId * | integer | The project ID |
title | string | Template title |
opsee_update_doc_template
Update a doc template's fields (patch semantics - only provided fields are changed). There is no GetDocTemplate RPC, so projectId is required: this tool looks up the current template via opsee_list_doc_templates for that project, merges in your changes, and resends the full update (UpdateDocTemplateRequest has no field mask).
| Parameter | Type | Description |
|---|---|---|
projectId * | integer | The project ID the template belongs to — required because there is no GetDocTemplate RPC; the current template is found via a project list |
templateId * | integer | The doc template ID to update |
content | string | New content |
name | string | New name |
title | string | New title |
opsee_delete_doc_template
Delete a doc template. Soft delete (the row is marked deleted, not erased), so it is recoverable by an operator but not through this API. Requires the Admin or Owner role; the User role can only list templates.
| Parameter | Type | Description |
|---|---|---|
templateId * | integer | The doc template ID to delete |
opsee_list_task_doc_pages
List doc pages attached to a specific task.
| Parameter | Type | Description |
|---|---|---|
taskId * | integer | The task ID |
opsee_attach_doc_page
Attach an existing doc page to a task or a milestone. Pass exactly one of taskId / milestoneId.
| Parameter | Type | Description |
|---|---|---|
docPageId * | integer | The doc page ID to attach |
milestoneId | integer | Attach to this milestone |
taskId | integer | Attach to this task |
opsee_detach_doc_page
Detach a doc page from a task or a milestone. Pass exactly one of taskId / milestoneId. The delete RPCs take the join-row id, which callers never have — this tool resolves it by listing the links and matching on docPageId.
| Parameter | Type | Description |
|---|---|---|
docPageId * | integer | The doc page ID to detach |
milestoneId | integer | Detach from this milestone |
taskId | integer | Detach from this task |
opsee_list_milestone_doc_pages
List doc pages attached to a specific milestone.
| Parameter | Type | Description |
|---|---|---|
milestoneId * | integer | The milestone ID |
opsee_read_run_record
Read an Initiative's Run Record — the Foreman's append-only log of what its unattended Workers did: every dispatch, how each turn ended, the Gate results (exit codes), the Verifier's Verdicts and Defects, human steering from the CLI, spend, and any Breaker that halted the night. Call this at the start of a planning session to ask what happened since you last looked, and before re-planning an Initiative the Foreman has been running. Filter by kind and by task, narrow to a time range, and page with afterId. Everything an agent wrote or a command printed comes back quoted as data.
| Parameter | Type | Description |
|---|---|---|
initiativeId * | integer | The initiative ID whose Run Record to read |
afterId | integer | Pagination cursor: only events with a higher id. Pass the value the previous call reported. |
kinds | array | Filter by event kind: dispatch (a Worker was started) | attempt (a turn ended) | gate (tests/lint/typecheck ran) | verdict (a Verifier reported) | breaker (dispatch was halted) | spend | control (a hu… |
limit | integer | Maximum events to return (default 50, max 200). |
since | string | Only events at or after this instant (ISO 8601, e.g. '2026-09-07T18:00:00Z'). Applied to when the event happened on the Foreman's machine. |
taskId | integer | Only events about this task. Run-wide events (breaker, spend, a Run-level pause) carry no task and are excluded when this is set. |
until | string | Only events at or before this instant (ISO 8601). |
opsee_file_defect
File one failure you observed while verifying a Task as a Defect Task, exactly as the Foreman's unattended Verifier would: a sibling Task in the same Initiative (never a subtask), type Bug, related to the Task you found it on, carrying the dispatch label so the next tick schedules the fix, with a Goal / Acceptance Criteria / Verification / Boundaries description. Use this after verifying work by hand in an attended session — not for planned work, which belongs in the task tree. Everything you write here is quoted as data in the new Task, so a Worker reads it as a record of what you saw, neve…
| Parameter | Type | Description |
|---|---|---|
steps * | string | What you did, step by step, to reach the failure. This becomes the fix Task's Verification section, so write it as a journey someone else can walk. |
taskId * | integer | The task you found the failure on. The new Task relates to it and names it; the task must be in an Initiative, because that is what makes the fix dispatchable. |
title * | string | One line naming the failure, e.g. 'Label unchanged after pressing'. Becomes the new Task's title, prefixed with the identifier of the task above. |
evidenceUrl | string | A link to a screenshot or recording. Evidence is linked, never pasted. |
expected | string | What should have happened at the end of those steps. |
observed | string | What happened instead. |
pullRequestUrl | string | The pull request the work under review is on, if there is one. |