superdoc_open
Open a Word document (.docx) for reading and editing. If the file does not exist, a new blank document is created at that path. Must be called before any other operation. Returns a session_id to use in subsequent calls.
This record as markdown: /tools/superdoc-mcp/superdoc-open.md
What superdoc_open does on Superdoc
AI agents use superdoc_open to create or update resources in Superdoc, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Superdoc environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
path | string | Yes | Absolute path to the .docx file. |
Parameters from the server's own tool schema.
Why superdoc_open is rated Medium
While the tool's primary purpose is opening documents for reading, its creation of new blank documents when files don't exist represents a reversible Write action. The tool establishes a session for subsequent operations that include sibling tools like superdoc_edit and superdoc_save, which will perform modifications. The Write category is appropriate because file creation is reversible (can be deleted).
From the tool's definition Tool description states 'Open a Word document (.docx) for reading and editing' and 'If the file does not exist, a new blank document is created at that path.' The capability to create new files and prepare them for editing constitutes a Write operation.
Risk signalsAccepts file system path (path)
Attacks that exploit this kind of access
The rule that runs superdoc_open safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Superdoc, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For superdoc_open, this is the rule to start with:
superdoc_open stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Superdoc, apply this rule, and every superdoc_open call is checked against it from then on.
Questions about superdoc_open
Open a Word document (.docx) for reading and editing. If the file does not exist, a new blank document is created at that path. Must be called before any other operation. Returns a session_id to use in subsequent calls. It is categorised as a Write tool in the Superdoc MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
superdoc_open accepts 1 parameter: path. Required: path. The full parameter table on this page comes from the server's own tool schema.
Register the Superdoc MCP server in PolicyLayer and add a rule for superdoc_open: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Superdoc. Nothing to install.
superdoc_open is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the superdoc_open rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for superdoc_open. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
superdoc_open is provided by the Superdoc MCP server (@superdoc/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Superdoc, and thousands of servers like it.
This server
Across the catalogue