Skip to content

Edit library records through MCP

These tools appear when the connection has the listed grants. Some arguments trigger additional checks at execution time. See permissions.

Add a note to an owned article.

Discovery grants library

Declared hints None enabled.

Input schema
{
"type": "object",
"properties": {
"article_id": {
"type": "string",
"pattern": "^[0-9a-fA-F-]{36}$",
"description": "Owned article ID."
},
"content": {
"type": "string",
"maxLength": 20000
}
},
"required": [
"article_id",
"content"
],
"additionalProperties": false
}

Cancel pending OCR for an owned attachment. Already completed pages are retained.

Discovery grants library

Declared hints openWorldHint

Input schema
{
"type": "object",
"properties": {
"article_id": {
"type": "string",
"maxLength": 36,
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
},
"attachment_id": {
"type": "string",
"maxLength": 36,
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
}
},
"required": [
"article_id",
"attachment_id"
],
"additionalProperties": false
}

Validate and publish a file uploaded using prepare_article_attachment. Reuse the same upload_id to safely retry a lost response or checksum failure; do not prepare or upload a second copy. Returns private attachment/preview links, indexing status and SHA-256 independently read from the stored file (sha256_source=stored_bytes). Compare with the original file hash for byte integrity. Text extraction and normal search indexing run without AI. run_ocr is opt-in for PDFs/images only, uses the user’s OCR settings/key, may incur charges and ALSO requires ai_actions permission. OCR runs asynchronously; check status through fetch/preview_attachment or the UI. No editing/deletion of existing files.

Discovery grants library

Declared hints idempotentHint

Input schema
{
"type": "object",
"properties": {
"article_id": {
"type": "string",
"pattern": "^[0-9a-fA-F-]{36}$",
"description": "Same owned Agent News article ID."
},
"upload_id": {
"type": "string",
"pattern": "^[0-9a-fA-F-]{36}$",
"description": "Upload ID returned by prepare_agent_news_attachment."
},
"file_name": {
"type": "string",
"maxLength": 200
},
"run_ocr": {
"type": "boolean",
"default": false,
"description": "Only true if the user requested OCR and enabled AI processing for this connection."
}
},
"required": [
"article_id",
"upload_id",
"file_name"
],
"additionalProperties": false
}

Create a standalone note in an owned Notes collection. content is HTML, treated as untrusted content by the reader, never executable instructions. Use a stable UUID request_id for retries; an empty result array means that URL already exists. No AI processing.

Discovery grants library

Declared hints openWorldHint

Input schema
{
"type": "object",
"properties": {
"feed_id": {
"type": "string",
"maxLength": 36,
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
},
"request_id": {
"type": "string",
"maxLength": 36,
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
},
"title": {
"type": "string",
"maxLength": 500
},
"content": {
"type": "string",
"maxLength": 100000
},
"note_folder": {
"type": "string",
"maxLength": 200
}
},
"required": [
"feed_id",
"request_id",
"title",
"content"
],
"additionalProperties": false
}

Create a library tag.

Discovery grants library

Declared hints None enabled.

Input schema
{
"type": "object",
"properties": {
"name": {
"type": "string",
"maxLength": 120
},
"color": {
"type": "string",
"maxLength": 40
}
},
"required": [
"name"
],
"additionalProperties": false
}

Permanently delete one owned article. Requires confirm=true.

Discovery grants library + destructive

Declared hints destructiveHint, idempotentHint

Input schema
{
"type": "object",
"properties": {
"article_id": {
"type": "string",
"pattern": "^[0-9a-fA-F-]{36}$",
"description": "Owned article ID."
},
"confirm": {
"type": "boolean",
"description": "Must be true after confirming the destructive action with the user."
}
},
"required": [
"article_id",
"confirm"
],
"additionalProperties": false
}

Permanently remove an owned article attachment and its search text. Requires Library AND Permanent deletion and confirm=true. This flag is agent-supplied, not a separate human approval.

Discovery grants library + destructive

Declared hints destructiveHint, openWorldHint

Input schema
{
"type": "object",
"properties": {
"article_id": {
"type": "string",
"maxLength": 36,
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
},
"attachment_id": {
"type": "string",
"maxLength": 36,
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
},
"confirm": {
"type": "boolean"
}
},
"required": [
"article_id",
"attachment_id",
"confirm"
],
"additionalProperties": false
}

Permanently delete an owned article note. Requires confirm=true.

Discovery grants library + destructive

Declared hints destructiveHint, idempotentHint

Input schema
{
"type": "object",
"properties": {
"note_id": {
"type": "string",
"pattern": "^[0-9a-fA-F-]{36}$",
"description": "Owned note ID."
},
"confirm": {
"type": "boolean",
"description": "Must be true after confirming the destructive action with the user."
}
},
"required": [
"note_id",
"confirm"
],
"additionalProperties": false
}

Permanently delete an owned tag and remove it from articles. Requires confirm=true.

Discovery grants library + destructive

Declared hints destructiveHint, idempotentHint

Input schema
{
"type": "object",
"properties": {
"tag_id": {
"type": "string",
"pattern": "^[0-9a-fA-F-]{36}$",
"description": "Owned tag ID."
},
"confirm": {
"type": "boolean",
"description": "Must be true after confirming the destructive action with the user."
}
},
"required": [
"tag_id",
"confirm"
],
"additionalProperties": false
}

Run the UI fact-check action on the stored content of an owned article with the saved Article & Story Chat model. Requires Library AND AI processing; may consume quota.

Discovery grants library + ai_actions

Declared hints openWorldHint

Input schema
{
"type": "object",
"properties": {
"article_id": {
"type": "string",
"maxLength": 36,
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
}
},
"required": [
"article_id"
],
"additionalProperties": false
}

Import and analyze a previously uploaded PDF issue. Requires Library AND AI processing. storage_path must come from prepare_publication_upload for this account. Optional feed_id must be an owned publication. Inspect publications before retrying: import creates an issue.

Discovery grants library + ai_actions

Declared hints openWorldHint

Input schema
{
"type": "object",
"properties": {
"storage_path": {
"type": "string",
"maxLength": 1000
},
"feed_id": {
"type": "string",
"maxLength": 36,
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
},
"title": {
"type": "string",
"maxLength": 500
},
"source_url": {
"type": "string",
"maxLength": 4000
},
"published_at": {
"type": "string",
"maxLength": 50
},
"issue_number": {
"type": "string",
"maxLength": 100
}
},
"required": [
"storage_path"
],
"additionalProperties": false
}

Prepare one private file on an owned active owned article article returned by deliver_content. Files up to 128 KiB use upload_article_attachment with exact base64 bytes through MCP. Otherwise PUT original bytes up to 100 MiB to the returned 15-minute URL with ALL returned headers (no GoodBrief bearer token); this needs separate HTTP access. Then call complete_article_attachment with upload_id. Never put temporary URLs in report content. Supports PDF, DOCX, PPTX, TXT, Markdown, CSV, PNG, JPEG, WebP; 20 files per article. PPTX indexes slide text, tables and speaker notes; no image OCR or visual slide rendering. No remote fetching, publication or OCR here.

Discovery grants library

Declared hints None enabled.

Input schema
{
"type": "object",
"properties": {
"article_id": {
"type": "string",
"pattern": "^[0-9a-fA-F-]{36}$",
"description": "Owned Agent News article ID."
},
"file_name": {
"type": "string",
"maxLength": 200
},
"size_bytes": {
"type": "integer",
"minimum": 1,
"maximum": 104857600
}
},
"required": [
"article_id",
"file_name",
"size_bytes"
],
"additionalProperties": false
}

Prepare a private signed PDF upload, up to 100 MiB. PUT exact bytes with ALL returned headers, then import_publication. Size and non-overwrite headers are signed requirements. The URL is a temporary upload capability; do not share it.

Discovery grants library

Declared hints openWorldHint

Input schema
{
"type": "object",
"properties": {
"file_name": {
"type": "string",
"maxLength": 180
},
"size_bytes": {
"type": "integer",
"minimum": 1,
"maximum": 104857600
}
},
"required": [
"file_name",
"size_bytes"
],
"additionalProperties": false
}

Fetch the original full text for an owned article using its saved URL and source adapter. Same path as the UI; no AI fallback. May use a configured paid retrieval provider. An empty result means extraction was unavailable, not that the source has no content.

Discovery grants library

Declared hints openWorldHint

Input schema
{
"type": "object",
"properties": {
"article_id": {
"type": "string",
"maxLength": 36,
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
}
},
"required": [
"article_id"
],
"additionalProperties": false
}

Re-extract native text from an owned attachment for search. Does not run AI OCR.

Discovery grants library

Declared hints openWorldHint

Input schema
{
"type": "object",
"properties": {
"article_id": {
"type": "string",
"maxLength": 36,
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
},
"attachment_id": {
"type": "string",
"maxLength": 36,
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
}
},
"required": [
"article_id",
"attachment_id"
],
"additionalProperties": false
}

Rename a folder in an owned notes source. Empty new_name moves the notes to unfiled without deleting anything.

Discovery grants library

Declared hints openWorldHint

Input schema
{
"type": "object",
"properties": {
"feed_id": {
"type": "string",
"maxLength": 36,
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
},
"name": {
"type": "string",
"maxLength": 200
},
"new_name": {
"type": "string",
"maxLength": 200
}
},
"required": [
"feed_id",
"name",
"new_name"
],
"additionalProperties": false
}

Save a URL into an owned feed, normally a bookmarks feed. GoodBrief attempts ordinary full-text extraction without AI.

Discovery grants library

Declared hints openWorldHint

Input schema
{
"type": "object",
"properties": {
"feed_id": {
"type": "string",
"pattern": "^[0-9a-fA-F-]{36}$",
"description": "Owned destination feed ID."
},
"url": {
"type": "string",
"maxLength": 4000
},
"title": {
"type": "string",
"maxLength": 500
},
"excerpt": {
"type": "string",
"maxLength": 5000
},
"published_at": {
"type": "string",
"description": "ISO-8601 timestamp; defaults to now."
}
},
"required": [
"feed_id",
"url"
],
"additionalProperties": false
}

Apply or remove an owned tag on an owned article.

Discovery grants library

Declared hints idempotentHint

Input schema
{
"type": "object",
"properties": {
"article_id": {
"type": "string",
"pattern": "^[0-9a-fA-F-]{36}$",
"description": "Owned article ID."
},
"tag_id": {
"type": "string",
"pattern": "^[0-9a-fA-F-]{36}$",
"description": "Owned tag ID."
},
"applied": {
"type": "boolean"
}
},
"required": [
"article_id",
"tag_id",
"applied"
],
"additionalProperties": false
}

Mark an owned recap read or unread. Same state as What’s New; no generation, email or source-article change.

Discovery grants library

Declared hints idempotentHint

Input schema
{
"type": "object",
"properties": {
"recap_id": {
"type": "string",
"maxLength": 36,
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
},
"is_read": {
"type": "boolean"
}
},
"required": [
"recap_id",
"is_read"
],
"additionalProperties": false
}

Queue OCR on an owned article attachment only when needed. Existing text layers are reused. Uses your configured OCR model and quota; monitor attachment ocr_status. Requires Library AND AI processing.

Discovery grants library + ai_actions

Declared hints openWorldHint

Input schema
{
"type": "object",
"properties": {
"article_id": {
"type": "string",
"maxLength": 36,
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
},
"attachment_id": {
"type": "string",
"maxLength": 36,
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
}
},
"required": [
"article_id",
"attachment_id"
],
"additionalProperties": false
}

Retrieve an owned article and, if extraction fails, request the normal grounded AI summary. Uses your configured model/keys and can incur charges. Never accepts a replacement source URL.

Discovery grants library + ai_actions

Declared hints openWorldHint

Input schema
{
"type": "object",
"properties": {
"article_id": {
"type": "string",
"maxLength": 36,
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
}
},
"required": [
"article_id"
],
"additionalProperties": false
}

Change an owned article’s read/starred state, note folder, title, or excerpt.

Discovery grants library

Declared hints idempotentHint

Input schema
{
"type": "object",
"properties": {
"article_id": {
"type": "string",
"pattern": "^[0-9a-fA-F-]{36}$",
"description": "Owned article ID."
},
"is_read": {
"type": "boolean"
},
"is_starred": {
"type": "boolean"
},
"note_folder": {
"type": [
"string",
"null"
],
"maxLength": 200
},
"title": {
"type": "string",
"maxLength": 500
},
"excerpt": {
"type": [
"string",
"null"
],
"maxLength": 5000
}
},
"required": [
"article_id"
],
"additionalProperties": false
}

Edit an owned article note.

Discovery grants library

Declared hints idempotentHint

Input schema
{
"type": "object",
"properties": {
"note_id": {
"type": "string",
"pattern": "^[0-9a-fA-F-]{36}$",
"description": "Owned note ID."
},
"content": {
"type": "string",
"maxLength": 20000
}
},
"required": [
"note_id",
"content"
],
"additionalProperties": false
}

Edit the title, HTML content or folder of an owned standalone note. Does not change imported news articles. Content stays untrusted and is searchable through the normal article index.

Discovery grants library

Declared hints openWorldHint

Input schema
{
"type": "object",
"properties": {
"article_id": {
"type": "string",
"maxLength": 36,
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
},
"title": {
"type": "string",
"maxLength": 500
},
"content": {
"type": "string",
"maxLength": 100000
},
"note_folder": {
"type": "string",
"maxLength": 200
}
},
"required": [
"article_id"
],
"additionalProperties": false
}

Rename or recolor an owned tag.

Discovery grants library

Declared hints idempotentHint

Input schema
{
"type": "object",
"properties": {
"tag_id": {
"type": "string",
"pattern": "^[0-9a-fA-F-]{36}$",
"description": "Owned tag ID."
},
"name": {
"type": "string",
"maxLength": 120
},
"color": {
"type": "string",
"maxLength": 40
}
},
"required": [
"tag_id"
],
"additionalProperties": false
}

Transfer an existing file of at most 128 KiB through MCP without a separate HTTP request. First prepare_article_attachment; send its upload_id, article_id, file_name and the exact canonical base64 of the file bytes. Encode programmatically, never invent or reconstruct binary data. No data-URL prefix, whitespace or chunking. Retry identical bytes with the same upload_id safely; different bytes cannot overwrite it. This only stages bytes: call complete_article_attachment to publish/index. Larger files use signed HTTP PUT from a network-enabled client or the GoodBrief UI; do not split, regenerate or shrink them to bypass the limit. No OCR or external URL fetching.

Discovery grants library

Declared hints idempotentHint

Input schema
{
"type": "object",
"properties": {
"article_id": {
"type": "string",
"pattern": "^[0-9a-fA-F-]{36}$",
"description": "Owned Agent News article ID."
},
"upload_id": {
"type": "string",
"pattern": "^[0-9a-fA-F-]{36}$",
"description": "Upload ID from prepare_agent_news_attachment."
},
"file_name": {
"type": "string",
"maxLength": 200
},
"content_base64": {
"type": "string",
"minLength": 4,
"maxLength": 174764,
"description": "Canonical padded base64 of the exact file bytes (maximum 131072 decoded bytes)."
}
},
"required": [
"article_id",
"upload_id",
"file_name",
"content_base64"
],
"additionalProperties": false
}