Skip to main content
Glama

write_document

Write or replace full text content in a shared document by specifying document ID and share ID. Use for collaborative document editing with real-time sync.

Instructions

Write content to a document by doc_id (doc shares only).

For folder shares, use upsert_file instead.

Args: share_id: UUID of the share (for ACL check). doc_id: Document UUID. content: Full text content to write (replaces entire document). key: Yjs shared type key. Default "contents".

Returns: JSON with doc_id, length.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
share_idYes
doc_idYes
contentYes
keyNocontents

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/entire-vc/evc-team-relay-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server