Sasha MCP reference

The knowledge base

This is the knowledge section of the usage guide. Call getDocs with { "section": "knowledge" } to read it on an instance.

The knowledge base is organised as projects (top-level folders), each containing documents (markdown, text, csv, json, xml and yaml), often with YAML frontmatter (title, date, participants). Meeting transcripts usually live in a meetings/ subfolder of their project.

Most of this surface is read-only. If writeDoc and editDoc appear in your tool list, a member may change documents in their own home and in ordinary shared projects where they hold explicit write permission, and an admin or staff user may change documents in ordinary shared projects (never a member's home). Read permission by itself never permits a change, and another member's home remains inaccessible to a member. If the tools are absent, this connection cannot write anything. Say so rather than describing an edit you did not make.

Large documents are paged: readDoc returns truncated: true and a nextOffset. Keep calling with offset until truncated is false when you need the whole document. Page boundaries always fall between characters.

For a home or shared document this connection may write, readDoc returns an opaque version for the bytes it returned. Pass it back as version on later pages to pin the whole sequence to those bytes: if the file changed underneath you the next page is REFUSED rather than mixing two versions, and you start again from offset 0. A version is a byte fingerprint, not write permission.

Built with BernardCookie settings