Strategy Hub
v1.0.1Versioned memory for agents: markdown docs with history, safe concurrent commits, human claim links.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_workspaces
List workspaces you belong to, with your role in each.
| Parameter | Type | Description |
|---|---|---|
q | string | Workspace name substring (workspace picker search) |
set_active_workspace
Switch your active workspace — the default scope for list/create/search when no workspace_id is passed.
| Parameter | Type | Description |
|---|---|---|
workspace_id * | string |
list_documents
List documents in a workspace (defaults to your active workspace). Uses the same ?q=, folder, type, access, sort, and view params as the documents browse UI.
| Parameter | Type | Description |
|---|---|---|
access | string | |
folder | string | First path segment; (root) for titles without / |
group_by | string | Alias for view: time→date, folder→folders |
include_archived | boolean | Deprecated — use library. When true, lists archived documents only. |
library | string | Library bucket; default active |
list_kind | string | Alias for library (includes active) |
name | string | Exact document title |
q | string | Document name substring (?q= in the UI) |
sort | string | name-asc | name-desc | updated-desc | updated-asc |
type | string | |
view | string | date (default) or folders grouping |
workspace_id | string |
create_document
Create a document in a workspace. Use content_type markdown for prose; html only for full-page strategy decks per docs/HTML-SUBSET.md. Optionally seed initial content as the first commit.
| Parameter | Type | Description |
|---|---|---|
name * | string | Document title (no file extension) |
content | string | Optional initial body — committed immediately |
content_type | string | |
if_exists | string | When set to return, reuse an existing document with the same name in the workspace instead of creating a duplicate |
workspace_id | string |
read_document
Read a document at primary or a named version line. Returns document.baseHash on the active line and a windowed snippet.
| Parameter | Type | Description |
|---|---|---|
document_id * | string | |
around | string | Center the snippet on the first line containing this text |
line_end | integer | |
line_start | integer | |
max_lines | integer | |
version | string | Named version line (e.g. draft/pricing); omit for primary |
read_at_commit
Read a document body as of a specific commit hash.
| Parameter | Type | Description |
|---|---|---|
commit_hash * | string | |
document_id * | string | |
max_lines | integer |
commit_document
Save to primary or a version line. Protected documents block saves to primary — use submit_proposal instead, or save to a version line for intermediate work. Provide base_hash from your last read.
| Parameter | Type | Description |
|---|---|---|
document_id * | string | |
message * | string | Save message — why this change |
base_hash | string | Line head you last saw (document.baseHash) |
content | string | Full replacement body (fallback) |
edit | Targeted edit intent — preferred over full-body content | |
version | string | Named version line to save to (draft/*); omit for primary |
submit_proposal
Submit a primary proposal on Protected documents (write_mode: reviewed). Requires write access. Pass proposal_id to amend an existing open proposal (like pushing commits to a PR branch). Omit proposal_id to open a new proposal. After submit: a workspace peer approves (or owner bypasses), then anyone with write access publishes.
| Parameter | Type | Description |
|---|---|---|
document_id * | string | |
content | string | Proposed full document body (fallback) |
edit | Targeted edit intent — preferred over full-body content | |
message | string | |
proposal_id | string | Amend this pending/approved proposal instead of creating a new one |
update_proposal
Amend a pending or approved proposal on a Protected document. Resets approval to pending. Like pushing additional commits to an open PR branch — use when iterating on the same proposal rather than opening a parallel one.
| Parameter | Type | Description |
|---|---|---|
proposal_id * | string | |
content | string | Full proposed document body (fallback) |
edit | Patch the current proposal body | |
message | string |
list_proposals
List proposals on a document (default: open — pending or approved). Like gh pr list for Protected documents.
| Parameter | Type | Description |
|---|---|---|
document_id * | string | |
status | string | Filter by status; default open (actionable proposals) |
read_proposal
Read a proposal's proposed body (bounded excerpt, like read_document). Use diff_proposal to see changes vs primary.
| Parameter | Type | Description |
|---|---|---|
proposal_id * | string | |
around | string | |
document_id | string | Optional guard — fails if proposal is on another document |
line_end | integer | |
line_start | integer | |
max_lines | integer |
diff_proposal
Diff a proposal against primary (what would change if published). Same preview shape as diff_commits.
| Parameter | Type | Description |
|---|---|---|
proposal_id * | string | |
document_id | string | Optional guard — fails if proposal is on another document |
withdraw_proposal
Withdraw (close without publishing) an open proposal. Any reader may withdraw pending or approved proposals — like closing a PR without merge.
| Parameter | Type | Description |
|---|---|---|
proposal_id * | string |
list_versions
List version lines on a document: primary plus named versions (draft/*). Version lines support multi-step work without racing primary.
| Parameter | Type | Description |
|---|---|---|
document_id * | string |
publish_version
Publish a version line to primary on open documents. On protected documents, use submit_proposal with the version content instead — versions are a workbench for intermediate saves, not a direct path to primary.
| Parameter | Type | Description |
|---|---|---|
document_id * | string | |
version * | string | Version line name to publish to primary |
document_history
Paginated commit history for a document (newest first).
| Parameter | Type | Description |
|---|---|---|
document_id * | string | |
limit | integer | |
offset | integer |
diff_commits
Compare two saves line-by-line (a diff). Same +/− preview as after saving.
| Parameter | Type | Description |
|---|---|---|
document_id * | string | |
from_hash * | string | |
to_hash * | string |
rename_document
Rename or move a document (needs edit access). Slashes are folders: "Research/Q3/plan" moves it into Research/Q3 (you need edit access there too). Moving changes who can see it — check list_access first. Title only — no file extension.
| Parameter | Type | Description |
|---|---|---|
document_id * | string | |
name * | string |
archive_document
Archive a document (owner or admin). Hides it from the active list; full history is kept. Prefer this over delete for inactive work.
| Parameter | Type | Description |
|---|---|---|
document_id * | string |
unarchive_document
Restore an archived document to the active list (owner only).
| Parameter | Type | Description |
|---|---|---|
document_id * | string |
trash_document
Move a document to trash (owner only). Recoverable for 30 days before auto-purge. Prefer archive for inactive work you may revisit.
| Parameter | Type | Description |
|---|---|---|
document_id * | string |
restore_document
Restore a trashed document to the active list (owner only).
| Parameter | Type | Description |
|---|---|---|
document_id * | string |
purge_document
Permanently delete a trashed document and its history (owner only). Document must already be in trash.
| Parameter | Type | Description |
|---|---|---|
document_id * | string |
delete_document
Alias for trash_document — moves a document to trash (owner only). Use purge_document for permanent deletion.
| Parameter | Type | Description |
|---|---|---|
document_id * | string |
search_documents
Full-text search across a workspace's documents (title + body).
| Parameter | Type | Description |
|---|---|---|
query * | string | |
limit | integer | |
workspace_id | string |
add_document_comment
Add a comment on a document (Comments panel). Does not change document content.
| Parameter | Type | Description |
|---|---|---|
body * | string | |
document_id * | string |
delete_document_comment
Delete a document comment (author or document owner).
| Parameter | Type | Description |
|---|---|---|
comment_id * | string |
resolve_document_comment
Mark a document comment resolved or reopen it (author or document owner).
| Parameter | Type | Description |
|---|---|---|
comment_id * | string | |
resolved * | boolean |
read_workspace_context
Read workspace standing instructions plus applicable Standards: rules/ markdown docs whose body starts with YAML frontmatter kind: rule (see document templates). Path alone is not enough.
| Parameter | Type | Description |
|---|---|---|
workspace_id | string |
step_up_probe
Diagnostic only: tests whether this client supports MCP scope step-up. Calling it should make your client ask you to re-authorize Strategy Hub with an extra scope. Safe; changes nothing.
list_folders
List folders you can see, with your role and whether you can share each one. Folders come from slashes in document titles; access granted on a folder covers everything inside it.
| Parameter | Type | Description |
|---|---|---|
workspace_id | string |
list_access
Who can access a document or folder, and why (owner, direct grant, inherited folder grant, or workspace membership).
| Parameter | Type | Description |
|---|---|---|
document_id | string | Document to inspect or share |
folder | string | Folder path (e.g. Research/Q3) or folder id |
workspace_id | string | Workspace for folder paths (default: active) |
grant_access
Share a document or folder with a person by email (they must have a Strategy Hub account). Needs admin on that document/folder. Grants only add access; folder grants cover everything inside.
| Parameter | Type | Description |
|---|---|---|
email * | string | |
role * | string | |
document_id | string | Document to inspect or share |
folder | string | Folder path (e.g. Research/Q3) or folder id |
workspace_id | string | Workspace for folder paths (default: active) |
revoke_access
Remove a person's direct grant on a document or folder (see list_access for user ids). Access inherited from a parent folder or the workspace stays.
| Parameter | Type | Description |
|---|---|---|
user_id * | string | |
document_id | string | Document to inspect or share |
folder | string | Folder path (e.g. Research/Q3) or folder id |
workspace_id | string | Workspace for folder paths (default: active) |
rename_folder
Rename a folder (needs edit access on everything inside). Document titles under it are updated; grants stay with the folder.
| Parameter | Type | Description |
|---|---|---|
folder * | string | Folder path or id |
name * | string | New folder name (no slashes) |
workspace_id | string |
move_folder
Move a folder under another folder (or to the workspace root). Moving changes who can see its contents: they stop inheriting grants from the old parent and start inheriting from the new one.
| Parameter | Type | Description |
|---|---|---|
folder * | string | Folder path or id |
new_parent * | Destination folder path or id; null for the workspace root | |
workspace_id | string |
create_access_key
Create a narrower access key to hand to a subagent or another tool. If you are using an access key, the new key is its child: it can never do more than your key (enforced by the database on every request) and revoking your key revokes it. If you are connected through OAuth (e.g. the Claude connector), the new key is independent: it is limited only by the scope you set, and it is NOT revoked with your connection — it expires on its own or via revoke_access_key. A subagent only stays inside the key if it is given this key INSTEAD of your connection (see docs/MCP.md). Capabilities: read < comme…
| Parameter | Type | Description |
|---|---|---|
capabilities * | array | |
label * | string | Who/what the key is for, e.g. 'research subagent' |
deny_documents | array | Exclude these documents |
deny_folders | array | Exclude these folders |
documents | array | Allow only these documents (titles or ids) |
expires_in_minutes | integer | Default 1440 (one day) |
folders | array | Allow only these folders (paths or ids) |
whole_workspace | boolean | Allow the whole workspace |
workspace_id | string | Workspace for paths (default: active) |
list_access_keys
List the access key you are using and the keys created from it (scope and expiry; never the key itself).
revoke_access_key
Revoke an access key you created (and every key created from it). Takes effect on the next request.
| Parameter | Type | Description |
|---|---|---|
key_id * | string |