WebMCP

DeveloperWebMCP verified

margin-local-docs.openai.chatgpt.site WebMCP tools

A private, local-first documentation editor where people and agents can collaborate in the margin.

10 tools1 methodsspec API surface

What can an agent do with margin-local-docs.openai.chatgpt.site WebMCP tools?

A private, local-first documentation editor where people and agents can collaborate in the margin. This page documents every listed tool, the action or answer it provides, its installation command, and the input fields an agent should send.

WebMCP tools on margin-local-docs.openai.chatgpt.site

Tool 1 of 10WebMCPAnswer

list_documents

List documents stored in this device-local Margin workspace. Optionally match titles or text and return short snippets.

How to install

Open the margin-local-docs.openai.chatgpt.site website and ask your browser agent to use list_documents

Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

Run with an agent

Use the list_documents tool on margin-local-docs.openai.chatgpt.site with query: <string>, limit: <integer>. Return the structured result and cite the source page.

Input contract

  • query string Optional case-insensitive title or document text query.
  • limit integer Maximum number of documents to return.

Open the source definition

Tool 2 of 10WebMCPAnswer

get_document

Get one Margin document as stable rich-text JSON and plain text, with comment context for only that document.

How to install

Open the margin-local-docs.openai.chatgpt.site website and ask your browser agent to use get_document

Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

Run with an agent

Use the get_document tool on margin-local-docs.openai.chatgpt.site with document_id: <string>. Return the structured result and cite the source page.

Input contract

  • document_id string Stable document ID returned by list_documents.

Open the source definition

Tool 3 of 10WebMCPAction

open_document

Open an existing local note by ID and make it the document currently displayed in the Margin editor.

How to install

Open the margin-local-docs.openai.chatgpt.site website and ask your browser agent to use open_document

Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

Run with an agent

Use the open_document tool on margin-local-docs.openai.chatgpt.site with document_id: <string>. Return the structured result and cite the source page.

Input contract

  • document_id string Stable note ID returned by list_documents.

Open the source definition

Tool 4 of 10WebMCPAction

create_document

Create and open a new document in this device-local Margin workspace. Content accepts lightweight Markdown or plain text and is stored as structured rich text.

How to install

Open the margin-local-docs.openai.chatgpt.site website and ask your browser agent to use create_document

Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

Run with an agent

Use the create_document tool on margin-local-docs.openai.chatgpt.site with title: <string>, content: <string>, format: <string>. Return the structured result and cite the source page.

Input contract

  • title string Title of the new local document.
  • content string Document body. Markdown supports headings, lists, checklists, quotes, code, links, and basic emphasis.
  • format string

Open the source definition

Tool 5 of 10WebMCPAction

update_document

Rename or update one local Margin document. Replace or append lightweight Markdown/plain text; existing comments are recovered against their exact quoted context or marked detached.

How to install

Open the margin-local-docs.openai.chatgpt.site website and ask your browser agent to use update_document

Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

Run with an agent

Use the update_document tool on margin-local-docs.openai.chatgpt.site with document_id: <string>, title: <string>, content: <string>, format: <string>, mode: <string>. Return the structured result and cite the source page.

Input contract

  • document_id string Stable ID returned by list_documents or create_document.
  • title string Optional replacement title.
  • content string Document content to replace or append.
  • format string
  • mode string Replace the document body or append new rich-text blocks to it.

Open the source definition

Tool 6 of 10WebMCPAnswer

list_comments

List anchored or detached comment threads in the local Margin workspace, filterable by document and status.

How to install

Open the margin-local-docs.openai.chatgpt.site website and ask your browser agent to use list_comments

Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

Run with an agent

Use the list_comments tool on margin-local-docs.openai.chatgpt.site with document_id: <string>, status: <string>. Return the structured result and cite the source page.

Input contract

  • document_id string Optional stable document ID.
  • status string

Open the source definition

Tool 7 of 10WebMCPAction

add_comment

Add an agent-authored comment anchored by exact quote and semantic context. Ambiguous quotes are never attached arbitrarily.

How to install

Open the margin-local-docs.openai.chatgpt.site website and ask your browser agent to use add_comment

Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

Run with an agent

Use the add_comment tool on margin-local-docs.openai.chatgpt.site with document_id: <string>, body: <string>, exact_quote: <string>, occurrence: <integer>, prefix: <string>, suffix: <string>, agent_name: <string>. Return the structured result and cite the source page.

Input contract

  • document_id string
  • body string
  • exact_quote string Exact text currently present in the document.
  • occurrence integer One-based occurrence when the exact quote repeats.
  • prefix string Text immediately before the quote for disambiguation.
  • suffix string Text immediately after the quote for disambiguation.
  • agent_name string

Open the source definition

Tool 8 of 10WebMCPAction

reply_to_comment

Append an agent reply to an existing local Margin comment thread.

How to install

Open the margin-local-docs.openai.chatgpt.site website and ask your browser agent to use reply_to_comment

Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

Run with an agent

Use the reply_to_comment tool on margin-local-docs.openai.chatgpt.site with comment_id: <string>, body: <string>, agent_name: <string>. Return the structured result and cite the source page.

Input contract

  • comment_id string
  • body string
  • agent_name string

Open the source definition

Tool 9 of 10WebMCPAction

resolve_comment

Mark a local Margin comment thread as resolved.

How to install

Open the margin-local-docs.openai.chatgpt.site website and ask your browser agent to use resolve_comment

Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

Run with an agent

Use the resolve_comment tool on margin-local-docs.openai.chatgpt.site with comment_id: <string>. Return the structured result and cite the source page.

Input contract

  • comment_id string

Open the source definition

Tool 10 of 10WebMCPAction

reopen_comment

Reopen a resolved local Margin comment thread.

How to install

Open the margin-local-docs.openai.chatgpt.site website and ask your browser agent to use reopen_comment

Install browse first, then run the command in a terminal. WebMCP tools run directly on the website and do not need a package install.

Run with an agent

Use the reopen_comment tool on margin-local-docs.openai.chatgpt.site with comment_id: <string>. Return the structured result and cite the source page.

Input contract

  • comment_id string

Open the source definition