mcp-server

v0.11.46
@opsee/mcp-server Checked 4 hours ago Published 13 days ago

Opsee 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.

ParameterTypeDescription
pageintegerPage number (default: 1)
pageSizeintegerItems per page (default: 50)

opsee_get_user

Get full details of a specific user by ID.

ParameterTypeDescription
userId *integerThe 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.

ParameterTypeDescription
projectId *integerThe 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).

ParameterTypeDescription
projectId *integerThe project ID
assigneeIdintegerFilter by assigned user ID
columnIdintegerFilter by board column ID (status)
createdSincestringOnly tasks created at or after this timestamp (RFC3339 or YYYY-MM-DD)
cycleIdintegerFilter by cycle/sprint ID
dueAfterstringOnly tasks due at or after this date (RFC3339 or YYYY-MM-DD)
dueBeforestringOnly tasks due at or before this date (RFC3339 or YYYY-MM-DD)
hasParentbooleantrue = only subtasks, false = only top-level tasks
labelIdsarrayFilter by label IDs (AND semantics — task must have all listed labels)
milestoneIdsarrayFilter by one or more milestone IDs (OR semantics)
pageintegerPage number (default: 1)
pageSizeintegerItems per page (default: 50)
parentTaskIdintegerFilter to subtasks of this task ID
priorityIdsarrayFilter by one or more priority IDs (OR semantics)
sortBystringSort column. NULLs sort last.
sortDirstringSort direction (default: desc)
taskTypeIdsarrayFilter by one or more task type IDs (OR semantics)
unassignedbooleantrue = only unassigned tasks (triage queue)
updatedSincestringOnly 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.

ParameterTypeDescription
taskId *integerThe task ID
includeContextbooleanAlso 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.

ParameterTypeDescription
projectId *integerThe project ID
title *stringTask title
assigneeIdintegerAssigned user ID
boardColumnIdintegerBoard column ID (from opsee_list_board_columns)
cycleIdintegerCycle/sprint ID
descriptionstringTask 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…
estimatedHoursnumberEstimated effort in hours
labelIdsarrayLabel IDs to attach to the new task. Saves a follow-up opsee_attach_label_to_task call per label.
milestoneIdintegerMilestone ID — attaches this task to the milestone.
parentTaskIdintegerParent task ID — makes this task a subtask of the given task.
priorityIdintegerPriority ID (from opsee_list_task_priorities)
storyPointsintegerStory points estimate (positive integer)
taskTypeIdintegerTask 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.

ParameterTypeDescription
taskId *integerThe task ID to update
assigneeIdintegerNew assigned user ID
boardColumnIdintegerNew board column ID (status)
cycleIdintegerNew cycle/sprint ID
descriptionstringNew 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…
estimatedHoursnumberEstimated effort in hours
initiativeIdintegerInitiative ID to link this task to. >0 links the task to that Initiative, 0 detaches.
labelIdsarrayReplace this task's labels with this set. Omit to leave labels unchanged. Empty array clears all labels.
milestoneIdintegerNew milestone ID (0 detaches from the current milestone).
parentTaskIdintegerNew parent task ID (0 clears the parent and promotes to a top-level task).
priorityIdintegerNew priority ID
storyPointsintegerStory points estimate (positive integer)
taskTypeIdintegerNew task type ID
titlestringNew 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.

ParameterTypeDescription
projectId *integerProject ID - all tasks must belong to this project
taskIds *arrayTask IDs to update (at least one)
assignedUserIdintegerNew assigned user ID
boardColumnIdintegerNew board column ID (status)
cycleIdintegerNew cycle/sprint ID
estimatedHoursnumberEstimated hours to set on every task
labelIdsarrayReplace label attachments on every task with this set. Empty / omitted leaves labels untouched.
milestoneIdintegerMilestone ID to attach every task to. Bulk only supports set, not clear — use opsee_update_task for detaching a single task.
parentTaskIdintegerParent task ID for every task (pass 0 to clear)
storyPointsintegerStory points to set on every task
taskPriorityIdintegerNew priority ID
taskTypeIdintegerNew 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.

ParameterTypeDescription
labelIds *arrayLabel IDs to set (empty array clears all labels)
taskId *integerThe task ID

opsee_delete_task

Delete a task by ID. This is permanent.

ParameterTypeDescription
taskId *integerThe 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.

ParameterTypeDescription
projectId *integerProject ID - all tasks must belong to this project
taskIds *arrayTask 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.

ParameterTypeDescription
projectId *integerThe 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.

ParameterTypeDescription
projectId *integerThe project ID

opsee_list_boards

List Kanban boards for an Opsee project. Use the board ID to list board columns.

ParameterTypeDescription
projectId *integerThe 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.

ParameterTypeDescription
boardId *integerThe board ID

opsee_list_cycles

List cycles/sprints in an Opsee project.

ParameterTypeDescription
projectId *integerThe project ID

opsee_get_cycle

Get details of a specific cycle/sprint by ID.

ParameterTypeDescription
cycleId *integerThe cycle ID

opsee_create_cycle

Create a new cycle/sprint in an Opsee project.

ParameterTypeDescription
endDate *stringEnd date (ISO 8601, e.g. 2026-04-08)
name *stringCycle name
projectId *integerThe project ID
startDate *stringStart date (ISO 8601, e.g. 2026-03-25)
descriptionstringCycle 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.

ParameterTypeDescription
cycleId *integerThe cycle ID to update
descriptionstringNew description
endDatestringNew end date (ISO 8601)
goalstringNew goal
isActivebooleanWhether the cycle is active
namestringNew name
startDatestringNew 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.

ParameterTypeDescription
cycleId *integerID of the cycle to close
createNextCyclebooleanIf true, create the next cycle in this project (requires name/startDate/endDate) and carry tasks into it
nextCycleEndDatestringISO 8601 end date when createNextCycle:true
nextCycleIdintegerExisting cycle to carry unfinished tasks into. Must be in the same project. Mutually exclusive with createNextCycle.
nextCycleNamestringName of the cycle to create when createNextCycle:true
nextCycleStartDatestringISO 8601 start date when createNextCycle:true

opsee_get_active_cycle

Return the currently-active cycle for a project, or 'No active cycle' if none.

ParameterTypeDescription
projectId *integerThe 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.

ParameterTypeDescription
cycleId *integerThe cycle ID

opsee_list_doc_spaces

List documentation spaces in an Opsee project.

ParameterTypeDescription
projectId *integerThe project ID

opsee_list_doc_pages

List documentation pages in an Opsee project.

ParameterTypeDescription
projectId *integerThe project ID

opsee_get_doc_page

Read a documentation page's content by ID.

ParameterTypeDescription
pageId *integerThe doc page ID

opsee_create_doc_page

Create a new documentation page in an Opsee project.

ParameterTypeDescription
content *stringPage content: markdown/plain text, or a BlockNote JSON array
projectId *integerThe project ID
title *stringPage title
contentTypestringHow the reader should interpret content: 'text' (markdown/plain) or 'json' (BlockNote array). Leave unset to detect it from the content.
parentPageIdintegerParent 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.

ParameterTypeDescription
pageId *integerThe doc page ID
changeSummarystringShort note describing the change, stored on the version snapshot
contentstringNew page content: markdown/plain text, or a BlockNote JSON array
contentTypestringHow the reader should interpret content. Only used when content is also provided; leave unset to detect it from the content.
snapshotVersionbooleanRecord this edit in page version history when the title or content changed. Defaults to true.
titlestringNew 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.

ParameterTypeDescription
pageId *integerThe 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.

ParameterTypeDescription
archived *booleantrue to archive, false to unarchive
pageId *integerThe doc page ID

opsee_list_repositories

List connected VCS repositories (GitHub/GitLab) for an Opsee project.

ParameterTypeDescription
projectId *integerThe project ID

opsee_list_milestones

List milestones in an Opsee project.

ParameterTypeDescription
projectId *integerThe project ID

opsee_get_milestone

Get details of a specific milestone by ID.

ParameterTypeDescription
milestoneId *integerThe milestone ID

opsee_create_milestone

Create a new milestone in an Opsee project.

ParameterTypeDescription
name *stringMilestone name
projectId *integerThe project ID
descriptionstringMilestone description
endDatestringEnd date (ISO 8601, e.g. 2026-04-08)
startDatestringStart date (ISO 8601, e.g. 2026-04-01)
statusstringMilestone status. Defaults to 'Planned'

opsee_update_milestone

Update a milestone's fields. Fetches the current milestone first, then applies only the provided changes.

ParameterTypeDescription
milestoneId *integerThe milestone ID to update
descriptionstringNew description
endDatestringNew end date (ISO 8601)
namestringNew name
startDatestringNew start date (ISO 8601)
statusstringNew status

opsee_list_milestone_tasks

List tasks attached to a specific milestone.

ParameterTypeDescription
milestoneId *integerThe milestone ID

opsee_attach_task_to_milestone

Attach an existing task to a milestone.

ParameterTypeDescription
milestoneId *integerThe milestone ID
taskId *integerThe 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.

ParameterTypeDescription
milestoneTaskId *integerThe 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.

ParameterTypeDescription
projectId *integerThe project ID
pageintegerPage number (default: 1)
pageSizeintegerItems per page (default: 50)

opsee_get_label

Get full details of a specific label by ID.

ParameterTypeDescription
labelId *numberThe label ID

opsee_create_label

Create a new label in an Opsee project.

ParameterTypeDescription
name *stringLabel name
projectId *integerThe project ID
colorstringHex color, e.g. #ffaa00 or ffaa00
descriptionstringLabel description
isActivebooleanWhether 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.

ParameterTypeDescription
labelId *integerThe label ID to update
colorstringNew hex color, e.g. #ffaa00 or ffaa00
descriptionstringNew description
isActivebooleanWhether the label is active
namestringNew 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.

ParameterTypeDescription
labelId *integerThe 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.

ParameterTypeDescription
labelId *integerThe label ID to attach
taskId *integerThe 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.

ParameterTypeDescription
taskLabelId *integerThe 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).

ParameterTypeDescription
taskId *integerThe task ID
pageintegerPage number (default: 1)
pageSizeintegerItems 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.

ParameterTypeDescription
initiativeIdintegerThe initiative ID (provide exactly one of taskId or initiativeId)
pageintegerPage number (default: 1)
pageSizeintegerItems per page (default: 50)
taskIdintegerThe 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).

ParameterTypeDescription
content *stringComment body
initiativeIdintegerThe initiative ID to comment on (provide exactly one of taskId or initiativeId)
isInternalbooleanMark as internal comment (default: false)
taskIdintegerThe 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.

ParameterTypeDescription
commentId *integerThe comment ID to edit
content *stringNew comment body
isInternalbooleanUpdate the internal flag (defaults to the comment's existing value if omitted)

opsee_delete_comment

Delete a comment by ID. This is permanent.

ParameterTypeDescription
commentId *integerThe 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.

ParameterTypeDescription
fromTaskId *integerThe ID of the source task
toTaskId *integerThe ID of the target task
type *stringDependency 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.

ParameterTypeDescription
taskId *integerThe task ID
pageintegerPage number (default: 1)
pageSizeintegerItems per page (default: 50)

opsee_delete_task_dependency

Delete a task dependency by its ID. This is permanent.

ParameterTypeDescription
dependencyId *integerThe 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.

ParameterTypeDescription
taskId *integerThe starting task ID
depthintegerMax hops from the source (default: 5, capped at 10)
directionstringDirection 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.

ParameterTypeDescription
taskId *integerThe task ID

opsee_log_work

Log time against a task. Posts as the authenticated user. Hours must be > 0.

ParameterTypeDescription
hours *numberHours worked (>= 0.1)
taskId *integerThe task ID
descriptionstringOptional note describing what was done

opsee_delete_work_log

Delete a work-log entry by ID. This is permanent.

ParameterTypeDescription
taskId *integerThe task ID the work log belongs to
workLogId *integerThe 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.

ParameterTypeDescription
taskId *integerThe 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.

ParameterTypeDescription
pageintegerPage number (default: 1)
pageSizeintegerItems per page (default: 50)
unreadOnlybooleanIf 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.

ParameterTypeDescription
notificationId *integerThe 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.

ParameterTypeDescription
maxintegerMaximum 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.

ParameterTypeDescription
taskId *integerThe 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.

ParameterTypeDescription
taskId *integerThe task ID
text *stringCriterion text (what passing this AC looks like)
displayOrderintegerDisplay 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.

ParameterTypeDescription
criterionId *integerThe criterion ID
displayOrderintegerNew display order
donebooleanMark complete or incomplete
textstringNew 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.

ParameterTypeDescription
criterionId *integerThe 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.

ParameterTypeDescription
projectId *integerThe project ID
searchstringKeyword 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.

ParameterTypeDescription
initiativeId *integerThe 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.

ParameterTypeDescription
projectId *integerThe project ID
title *stringInitiative title
anchorIdintegerAnchor entity ID. Required when anchorType is not 'none'
anchorTypestringAnchor type (none | task | milestone | cycle). Defaults to 'none'
coreIdeastringCore 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…
coreIdeaContentTypestringContent type of coreIdea: 'text' (markdown — the default) or 'json' (BlockNote). Leave unset and just write markdown.
statusstringInitiative status. Defaults to 'draft'
summarystringShort 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.

ParameterTypeDescription
initiativeId *integerThe initiative ID to update
anchorIdintegerNew anchor entity ID
anchorTypestringNew anchor type
coreIdeastringNew core idea body. Markdown is supported and renders as formatted blocks in the UI (same as task descriptions).
coreIdeaContentTypestringContent type for coreIdea: 'text' (markdown — default) or 'json' (BlockNote).
statusstringNew status
summarystringNew summary
titlestringNew 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.

ParameterTypeDescription
initiativeId *integerThe 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.

ParameterTypeDescription
initiativeId *integerThe initiative ID
memoryLimitintegerCap 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.)

ParameterTypeDescription
initiativeId *integerThe 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.

ParameterTypeDescription
edges *arrayDependency edges between tasks (by ref)
initiativeId *integerThe initiative ID
tasks *arrayTasks 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…

ParameterTypeDescription
edges *arrayDependency edges between tasks (by ref)
initiativeId *integerThe initiative ID
tasks *arrayProposed task tree — include kept tasks with existingTaskId, new tasks without
dryRunbooleanWhen 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.

ParameterTypeDescription
body *stringThe memory entry body text
initiativeId *integerThe initiative ID
kind *stringEntry kind: decision | outcome | learning | blocker | context
contentTypestringContent type of body: 'text' (markdown — the default) or 'json' (BlockNote). Defaults to 'text'
sourceIdintegerID of the source entity (task ID, PR ID, etc.)
sourceTypestringSource type: none | task | pull_request | doc | workflow. Defaults to 'none'
sourceUrlstringURL 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'.

ParameterTypeDescription
initiativeId *integerThe initiative ID
summary *stringWhat this unit of work accomplished and what's next
kindstringMemory entry kind. Defaults to 'outcome'
prUrlstringThe PR/MR this work produced (recorded as the entry's source URL)
taskIdintegerThe 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.

ParameterTypeDescription
initiativeId *integerThe initiative ID
kindsarrayFilter by entry kinds (decision | outcome | learning | blocker | context)
sourceIdintegerFilter by source entity ID
sourceTypestringFilter by source type (none | task | pull_request | doc | workflow)

opsee_get_doc_space

Get full details of a specific doc space by ID.

ParameterTypeDescription
spaceId *integerThe 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.

ParameterTypeDescription
projectId *integerThe project ID
title *stringDoc space title
descriptionstringDoc space description
isDefaultbooleanWhether 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.

ParameterTypeDescription
spaceId *integerThe doc space ID to update. Requires the Admin or Owner role.
descriptionstringNew description
isArchivedbooleanWhether the doc space is archived
isDefaultbooleanWhether this is the project's default doc space
titlestringNew 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.

ParameterTypeDescription
spaceId *integerThe doc space ID to delete. Requires the Admin or Owner role.

opsee_list_doc_templates

List documentation templates in an Opsee project.

ParameterTypeDescription
projectId *integerThe project ID

opsee_create_doc_template

Create a new documentation template in an Opsee project.

ParameterTypeDescription
content *stringTemplate content
name *stringTemplate name
projectId *integerThe project ID
titlestringTemplate 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).

ParameterTypeDescription
projectId *integerThe project ID the template belongs to — required because there is no GetDocTemplate RPC; the current template is found via a project list
templateId *integerThe doc template ID to update
contentstringNew content
namestringNew name
titlestringNew 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.

ParameterTypeDescription
templateId *integerThe doc template ID to delete

opsee_list_task_doc_pages

List doc pages attached to a specific task.

ParameterTypeDescription
taskId *integerThe task ID

opsee_attach_doc_page

Attach an existing doc page to a task or a milestone. Pass exactly one of taskId / milestoneId.

ParameterTypeDescription
docPageId *integerThe doc page ID to attach
milestoneIdintegerAttach to this milestone
taskIdintegerAttach 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.

ParameterTypeDescription
docPageId *integerThe doc page ID to detach
milestoneIdintegerDetach from this milestone
taskIdintegerDetach from this task

opsee_list_milestone_doc_pages

List doc pages attached to a specific milestone.

ParameterTypeDescription
milestoneId *integerThe 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.

ParameterTypeDescription
initiativeId *integerThe initiative ID whose Run Record to read
afterIdintegerPagination cursor: only events with a higher id. Pass the value the previous call reported.
kindsarrayFilter 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…
limitintegerMaximum events to return (default 50, max 200).
sincestringOnly 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.
taskIdintegerOnly events about this task. Run-wide events (breaker, spend, a Run-level pause) carry no task and are excluded when this is set.
untilstringOnly 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…

ParameterTypeDescription
steps *stringWhat 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 *integerThe 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 *stringOne line naming the failure, e.g. 'Label unchanged after pressing'. Becomes the new Task's title, prefixed with the identifier of the task above.
evidenceUrlstringA link to a screenshot or recording. Evidence is linked, never pasted.
expectedstringWhat should have happened at the end of those steps.
observedstringWhat happened instead.
pullRequestUrlstringThe pull request the work under review is on, if there is one.