MCP

Connect your AI agent

LinkDrop is an MCP server at https://mcp.lnkdrp.com/mcp. Add it to your client, sign in when it asks, and your agent creates share links, sets passwords and reads the numbers. No key to paste; a key is there for scripts and for clients that cannot sign in.

What the MCP server does

MCP (Model Context Protocol) is how an AI client such as ChatGPT, Claude or Cursor reaches tools outside the chat. LinkDrop's MCP server gives your agent the tools to share a PDF as a link, set a password or an expiry, replace the file without breaking the link, and read who opened it and which pages they read. It runs on LinkDrop's servers, so there is nothing to install.

Pick your client

Try asking your agent

  • “Share the Q3 board deck from my Google Drive with Priya.”
  • “Share board-update.pdf from my Downloads and give me the link.”
  • “Make a link to the Series A memo for Priya that expires in a week.”
  • “Put the password tidewater on the pricing sheet link.”
  • “Has anyone opened the pricing sheet this week?”

Plain requests: your agent picks the tools. Checked against the tool list below on 2026-10-13; each guide has more for its client.

How connecting works

Sign in, no key

Claude Code, Cursor, Codex, Gemini CLI, Cowork, ChatGPT and Claude sign in: LinkDrop opens in your browser, you pick the workspace the agent should work in and click Allow. The agent then shows on the Agents page, where an owner or admin can revoke it at any time.

A key, for the rest

Grok, scripts and machines with no browser use a key, sent as an Authorization header. A key is shown once, LinkDrop keeps only a hash, and a workspace can have up to ten.

Your rules apply

An agent works under your plan and credits, asks before it deletes anything, and cannot invite a teammate without an owner or admin approving. Everything it does is in your activity feed, named after its app.

Every step, for every client, is also in the help article Connect your agent, and Getting a file to your agent covers sharing from Google Drive, a public link or your computer.

More than one workspace

A connection belongs to one workspace, and your client keeps one server per name. To connect another workspace, add LinkDrop again under a different name, any name you will recognize, such as LinkDrop Acme (LinkDrop-Acme in a command), and pick that workspace when you sign in, or use a key created there. Existing connections keep working, and your agent sees them all; lnkdrp_whoami on each says which workspace it acts on.

What your agent can do

ToolAccess
lnkdrp_whoamiWhich workspace, plan and key the agent is using.read
Inputs
  • none
Returns

Your user id and email, the workspace id and name, plan (free or pro), the key's prefix and scopes, the client name LinkDrop recorded, credits remaining (included, starter, purchased and automatically reloaded) and when they reset, whether another automatic reload can add credits when they run low (onDemand, monthly Pro only), the credit cost per AI action by tier, and a capabilities object answering "what can I do here" in one call: document/project/collaborator caps with what's used and left, whether links are limited (they are not a plan limit; a document holds up to 50), whether recipients can browse prior versions, and which product features have no MCP tool at all yet; where the workspace has email templates, its email image limits (each image, one email, images per email, images per workspace, the largest upload).

Errors
  • unauthorized: the key is missing or invalid
  • key_revoked: the key was revoked
Worth knowing

Call it first to confirm the connection; it costs nothing.

lnkdrp_list_docsFind documents by title, by any share-link slug, or by id.read
Inputs
  • query: optional; matches document titles and the slug of any share link on the document
  • ids: optional; up to 50 document ids to fetch directly (query and page are then ignored)
  • page: optional, default 1
  • limit: optional, 1 to 50, default 25
Returns

total, page, limit, hasMore and the matching documents: id, default shareId and shareUrl, title, one-line summary, processing status, version, who put the live version up (name and agent, no email) and dates. Archived and deleted documents are left out.

Errors
  • validation: a malformed id or an out-of-range page or limit
Worth knowing

This is how an agent finds a document it was not handed. Pair a result's id with get_share, list_share_links or get_share_stats.

lnkdrp_get_activityThe workspace activity feed: uploads, link changes, views, downloads, plan and agent events.read
Inputs
  • limit: optional, 1 to 100, default 40
  • cursor: optional; the nextCursor from the previous page
  • types: optional; only these event types, e.g. share.viewed, share_link.created, doc.archived
  • docId: optional; only events on one document
  • who: optional; agents (anything done by any MCP or API client), me (the key owner in the app) or team (other members)
Returns

items, newest first, each with type, time, who acted (and which agent client, if any), the document and project it concerns, and the event's payload. Plus nextCursor for the next page.

Errors
  • validation: an unknown event type, a malformed cursor or an out-of-range limit
Worth knowing

who: agents is the audit trail for agents, including this one. Viewer names and emails show on share.viewed and share.downloaded rows on every plan, as in the app.

lnkdrp_share_pdfCreate a share link from a PDF: a file in your Google Drive, a URL, or a file on your own machine.write
Inputs
  • idempotencyKey: required; reuse it on retries and you get the same document back
  • driveFileId: a file in the person's Google Drive: the id from lnkdrp_drive_search, or the Drive, Docs, Slides or Sheets link the person pasted. LinkDrop fetches it itself through the person's own Drive connection: nothing is downloaded or uploaded by the agent, and the document links back to the original. A PDF is imported as is, up to 50 MB; a Google Doc, Slides deck or Sheet is converted to PDF by Google (up to 10 MB). Without a title the document is named after the Drive file. The first choice whenever the file is in Drive
  • sourceUrl: a public https URL to a PDF, up to 50 MB. A Google Docs, Slides or Sheets link, or a Drive file link, goes through the person's Drive connection when they have one; without it a Docs link is refused with the Integrations link, and a Drive file link works only if shared with anyone who has the link. OneDrive and SharePoint links are refused. Exactly one of sourceUrl / fileBase64 / filePath / uploadId / driveFileId / file
  • filePath: an absolute path to a PDF, read from disk by the MCP server itself, so it only works when the server runs on the same machine as the file (a local server; otherwise the call is refused and points you at lnkdrp_create_upload or sourceUrl). The right input for a file you already have locally: no base64 for the agent to emit. Up to 16 MB before optimization
  • fileBase64: the PDF's bytes, base64-encoded, the last resort for a small file with no public URL and no local path: up to 16 MB before optimization and, on the hosted server, under 3 MB after it, or the call is refused and points at lnkdrp_create_upload / sourceUrl. A file in the agent's own environment goes in with lnkdrp_create_upload and uploadId instead
  • uploadId: from lnkdrp_create_upload, after the PDF was PUT to its one-time URL. The input for a cloud agent whose file is only in its own sandbox: up to 50 MB, used once, only from the connection that created it. (The uploadId in the result is LinkDrop's upload record, a different id.)
  • file: ChatGPT only, a PDF the person attached in the chat, passed by ChatGPT as { download_url, file_id, mime_type?, file_name? }. The server downloads it in the same call, so no sandbox network access is involved; without a title the document is named after file_name. Other clients do not see this input
  • optimize: optional, default on; shrinks the PDF before upload by downsampling its images, and keeps the original whenever the result is not smaller or its page count changed
  • fileName: optional, used with fileBase64, or to override filePath's own basename or the name given to lnkdrp_create_upload
  • title: optional, up to 200 characters
  • allowDownload: optional, default off
  • password: optional, 1 to 128 characters
  • waitForReady / timeoutSeconds: optional; wait for processing (default 60s, max 120s)
Returns

docId, shareId, the shareUrl (valid at once, even while processing), status, version, uploadId, what optimization did (optimized), and any AI steps that were skipped as warnings.

Errors
  • plan_limit: the Free plan's shared-document cap; the error lists what you can still do without upgrading
  • out_of_credits: the AI summary needs credits the workspace does not have; add credits or retry after the reset
  • fetch_blocked / source_not_found / unsupported_content_type / too_large: the URL or file could not be used (source_not_found: the URL answered 404/410; too_large for an inline file names lnkdrp_create_upload and sourceUrl as the way round)
  • drive_not_connected / drive_token_revoked: the person has not connected Google Drive, or Google no longer accepts the connection; the error carries the Integrations page link to give them
  • drive_file_not_found / drive_not_supported: the Drive file is not visible to their connection, or is not a PDF or Google Doc, Slides or Sheet
  • file_unavailable: the file from the ChatGPT chat could not be fetched (the HTTP status is in the message); nothing is created
  • file_not_reachable: the path is inside the agent's own sandbox (/mnt/data/…), which the server cannot read
  • On ChatGPT and claude.ai, a failure about where the file is (these two, a sandbox path, a filePath on the hosted server, a fileBase64 that is garbled, not a PDF or too large) also carries details.uploadLink, an upload link made with this call's settings, and details.next, the sentence to pass on
  • validation: the arguments were wrong, or the uploadId has expired, has not arrived yet or is in use by another call; the message says how to fix them
  • not_found: the uploadId is not this connection's, was already used, or expired and was cleared; get a new one from lnkdrp_create_upload
Worth knowing

The routes in, best first: a file in Google Drive (driveFileId), a public link (sourceUrl), a file on the person's computer with a local server (filePath), a file only in the agent's sandbox (lnkdrp_create_upload, then uploadId), a file attached in a ChatGPT chat (file), and an upload link the person opens (lnkdrp_create_upload_link). If the agent's client blocks the sandbox upload, the file never reaches LinkDrop and nothing is created; the other routes do not go through the client's network. LinkDrop writes every upload's summary itself, for 1 credit; an agent cannot supply its own. Optimization needs Ghostscript on the MCP server; without it the file is uploaded unchanged.

lnkdrp_replace_pdfPut a new PDF on a document you already shared. Every link keeps working.write
Inputs
  • idempotencyKey: required; reuse it on retries and you get the same result back
  • docId: the existing document to update
  • driveFileId: the new file in the person's Google Drive: the id from lnkdrp_drive_search, or the Drive, Docs, Slides or Sheets link the person pasted; LinkDrop fetches it itself (a PDF up to 50 MB, or a Google Doc, Slides deck or Sheet converted to PDF, up to 10 MB) and the new version links back to the original. The first choice whenever the file is in Drive
  • sourceUrl: a public https URL to the new PDF, up to 50 MB. A Google Docs, Slides or Sheets link, or a Drive file link, goes through the person's Drive connection when they have one; without it a Docs link is refused with the Integrations link. OneDrive and SharePoint links are refused. Exactly one of sourceUrl / fileBase64 / filePath / uploadId / driveFileId / file
  • filePath: an absolute path to the new PDF, read from disk by the MCP server itself, so it only works when the server runs on the same machine as the file. Up to 16 MB before optimization
  • fileBase64: the new PDF's bytes, base64-encoded, the last resort for a small file with no public URL and no local path: up to 16 MB before optimization and, on the hosted server, under 3 MB after it, or the call is refused and points at lnkdrp_create_upload / sourceUrl
  • uploadId: from lnkdrp_create_upload, after the new PDF was PUT to its one-time URL; up to 50 MB, used once, only from the connection that created it
  • file: ChatGPT only, the new PDF attached in the chat, passed by ChatGPT as { download_url, file_id, mime_type?, file_name? }; the server downloads it in the same call. Other clients do not see this input
  • optimize: optional, default on; shrinks the PDF before upload, keeping the original whenever the result is not smaller or its page count changed
  • fileName: optional, used with fileBase64, or to override filePath's own basename or the name given to lnkdrp_create_upload
  • title: optional, up to 200 characters; leaves the title unchanged if omitted
  • waitForReady / timeoutSeconds: optional; wait for processing (default 60s, max 120s)
Returns

docId, shareId, shareUrl, status, the new version number, uploadId, what optimization did (optimized), and any AI steps that were skipped as warnings.

Errors
  • not_found: the docId does not exist in this workspace, or the uploadId is not this connection's, was already used, or expired and was cleared (get a new one from lnkdrp_create_upload)
  • out_of_credits: the AI summary needs credits the workspace does not have; add credits or retry after the reset
  • fetch_blocked / source_not_found / unsupported_content_type / too_large: the URL or file could not be used (source_not_found: the URL answered 404/410; too_large for an inline file names lnkdrp_create_upload and sourceUrl as the way round)
  • drive_not_connected / drive_token_revoked: the person has not connected Google Drive, or Google no longer accepts the connection; the error carries the Integrations page link to give them
  • drive_file_not_found / drive_not_supported: the Drive file is not visible to their connection, or is not a PDF or Google Doc, Slides or Sheet
  • file_unavailable: the file from the ChatGPT chat could not be fetched (the HTTP status is in the message); nothing is created
  • file_not_reachable: the path is inside the agent's own sandbox (/mnt/data/…), which the server cannot read
  • On ChatGPT and claude.ai, a failure about where the file is (these two, a sandbox path, a filePath on the hosted server, a fileBase64 that is garbled, not a PDF or too large) also carries details.uploadLink, an upload link made with this call's settings, and details.next, the sentence to pass on
  • validation: the arguments were wrong, or the uploadId has expired, has not arrived yet or is in use by another call; the message says how to fix them
Worth knowing

Never blocked by the document cap: replacing does not create a document. The status flips to preparing as soon as the call starts, before the new file is fetched.

lnkdrp_stage_pdfSave a new PDF beside a document as a draft for review, instead of replacing it. Links keep showing the live version until the draft is published.write
Inputs
  • docId or shareId: the document
  • driveFileId, sourceUrl, filePath, fileBase64 or uploadId (or file in ChatGPT): the new PDF, exactly one, as for lnkdrp_replace_pdf
  • baseVersion: optional; base the draft on this earlier version and compare it with that version (default: the live version)
  • idempotencyKey: optional; the same call again returns the same draft
  • wait / timeoutSeconds: optional; wait until the draft is ready for review (default 60s, max 120s)
Returns

The draft: its uploadId, status, file name, the version it is based on and the live version's number, how many pages changed from its base and a summary of the changes, when it expires, the review page link, and who may publish it. identical: true when the file is the live version (nothing is staged).

Errors
  • plan_limit: drafts are a Pro feature
  • validation: the document is not ready, your earlier draft is still being prepared, or baseVersion is not a version of the document (or was removed)
  • storage_quota_exceeded: the workspace's storage is full
Worth knowing

Anyone on the team who can upload may stage a draft, even on a document only some people may publish. One open draft per person per document; a new one replaces your earlier draft. Drafts are discarded after 14 days unless published.

lnkdrp_update_from_sourcePull the latest version of a document from where it was imported (today: its Google Drive file). Creates nothing when the file has not changed.write
Inputs
  • idempotencyKey: required; reuse it on retries and you get the same result back
  • docId: a document imported from Google Drive (its remoteSource names the file)
  • waitForReady / timeoutSeconds: optional; wait for processing (default 60s, max 120s)
  • stage: optional; true saves a changed file as a draft for review instead of a new version (Pro)
Returns

upToDate: true with the current version when the Drive file has not changed since the last import (no version, no credits); otherwise the same fields as lnkdrp_replace_pdf for the new version, or the draft when stage is true.

Errors
  • no_remote_source: the document was uploaded, not imported from a linked file; use lnkdrp_replace_pdf
  • drive_not_connected / drive_token_revoked: the person has not connected Google Drive, or Google no longer accepts the connection; the error carries the Integrations page link to give them
  • drive_file_not_found: their Drive connection cannot see the file; the error names whose Drive it was imported from
  • version_processing: a new version is still being prepared; wait for it, then update again
Worth knowing

Uses the Drive connection of the person the agent acts as, never the importer's. Changed files become a new version exactly as lnkdrp_replace_pdf makes one: every link keeps working, and the compare and summary are charged as usual.

lnkdrp_drive_searchFind a file in the person's own Google Drive, to share it without downloading or uploading anything. The best way to get a file in.read
Inputs
  • query: words from the file's name, as the person said it ("USAVX deck", "Q3 board update"). An empty string lists their most recently modified files
Returns

Up to 10 PDFs and Google Docs, Slides and Sheets whose name contains the query, newest first: driveFileId, name, kind (pdf, google-doc, google-slides or google-sheets), mimeType, modifiedTime, ownerName, webViewLink and sizeBytes, plus the connected googleEmail. Pass the driveFileId to lnkdrp_share_pdf or lnkdrp_replace_pdf.

Errors
  • drive_not_connected: the person has not connected Google Drive to LinkDrop; give them the Integrations page link the error carries
  • drive_token_revoked: Google no longer accepts their Drive connection; ask them to reconnect it on the Integrations page
Worth knowing

Uses the Drive connection of the person the agent acts as (one per person, the same in every workspace they are in), never a teammate's. Read-only: it never changes anything in Drive or LinkDrop. When several files match, ask the person which one. A Drive or Docs link the person pasted needs no search: pass it as driveFileId.

lnkdrp_create_uploadGet a one-time URL to upload a PDF from the agent's own environment, for a cloud agent with no public link to the file.write
Inputs
  • fileName: required, the PDF's file name, ending in .pdf
  • sizeBytes: optional; a file over 50 MB is refused now rather than after the upload
  • contentType: optional, always application/pdf
Returns

uploadId, the uploadUrl to PUT the file to, method (PUT), expiresAt, maxBytes, a ready-made curl command, and the next step: lnkdrp_share_pdf or lnkdrp_replace_pdf with the uploadId. If the PUT fails with a network error, the next step names lnkdrp_create_upload_link: with docId for a new version, or with the share's settings for a new document.

Errors
  • validation: the file name is not a .pdf, or the MCP server runs locally over stdio, which serves no upload URLs (pass filePath there)
  • forbidden: the connection is read-only (a Viewer's, or a read key), so it cannot upload
  • too_large: the declared size is over 50 MB
  • rate_limited: too many upload URLs from this connection (20 in 10 minutes, or 5 unused at once); use or let expire the ones it has
Worth knowing

Not the first choice: a file in Google Drive goes in with lnkdrp_drive_search and driveFileId, and a public link as sourceUrl, with nothing to upload. The URL takes one PDF up to 50 MB, expires 15 minutes after it is issued and only works for the connection that created it, which needs write access; treat it like a password until it is used. Once the file arrives the server keeps it 5 minutes for the share, and deletes it as soon as it is shared. If the agent's client blocks the upload, the file never reaches LinkDrop and nothing is created; Drive, a public link and an upload link (lnkdrp_create_upload_link) do not go through the client's network. mcp.lnkdrp.com is not on the package-manager allowlist claude.ai's code sandbox uses by default, and ChatGPT's code tool has been seen without outbound network.

lnkdrp_create_upload_linkGet a one-time link where the person adds a PDF from their own browser, for an agent that cannot send the file itself.write
Inputs
  • docId: optional; makes the upload a new version of this document. With docId every other setting is refused: a new version keeps the document's title, project, links and access
  • title: optional, up to 200 characters; without it the document is named after the file
  • projectId or projectSlug: optional; the project the new document goes into
  • allowDownload: optional, default off
  • password: optional, 1 to 128 characters; stored on the server and never returned
  • idempotencyKey: optional; the same key returns the same link while it is unused
Returns

uploadLinkId, the url (https://www.lnkdrp.com/u/…), expiresAt, mode (new or replace), the settings it carries, passwordSet, status pending, and next: the URL on its own line, then a sentence to pass on to the person.

Errors
  • validation: a setting given with docId, a bad title or password, a project that is not in this workspace, or a document that is a received copy
  • not_found: the document is not in this workspace
  • version_processing: a new version of that document is still being prepared; wait for it
  • plan_limit: a new document at the Free plan's shared-document cap
  • forbidden: the connection is read-only
  • link_used / link_expired: the idempotencyKey's link was already used or has expired; use a new key
  • rate_limited: 10 upload links are already waiting for this person in this workspace
Worth knowing

The link works once, for 60 minutes, and only for the LinkDrop account this connection acts as, signed in, in this workspace. Nothing changes until the person opens it and chooses a PDF; the document is then filed with these settings, and a new version needs them to click Replace. The URL carries no password or personal details. Links are always on www.lnkdrp.com, never emailed or shortened. The route for claude.ai and ChatGPT, whose sandboxes cannot reach LinkDrop by default.

lnkdrp_check_upload_linkWhether the person has used an upload link yet, and the document or email image it made.read
Inputs
  • uploadLinkId: from lnkdrp_create_upload_link or lnkdrp_create_email_asset_upload_link (ulk_ and 20 hex characters)
  • waitSeconds: optional, 0 to 20, default 0; waits only while the upload is under way
Returns

kind (document or email_image), status (pending, started, uploaded, processing, ready, failed, expired or revoked), the document once there is one (docId, title, status, shareUrl, version) or, for an email image link once ready, the image (assetId, name, url, size, width, height and imgTag), failReason, expiresAt, and next.

Errors
  • not_found: no such upload link for this connection; only the person whose connection made it can read it
Worth knowing

Check after the person says it's uploaded rather than in a loop. failed and expired need a new link; revoked means the key or sign-in that made it was removed.

lnkdrp_get_shareStatus, settings and summary of a link. Poll it after share_pdf.read
Inputs
  • docId or shareId: exactly one; any of a document's links resolves
Returns

Processing status, whether sharing is on, download/password/version-history settings, the share URL, preview image, the AI one-liner and summary once ready, and who put the live version up (name and agent; who staged it, for a published draft; no email). Asked about a specific link, it reports that link's own settings and a link block naming it.

Errors
  • validation: none or both ids given
  • not_found: unknown id, or a document in another workspace
lnkdrp_set_share_accessTurn sharing, downloads or the password on or off for a link.write
Inputs
  • idempotencyKey: required
  • docId
  • shareEnabled / allowDownload: optional booleans
  • password: a string to set, null to remove
  • allowRevisionHistory: optional; letting recipients browse versions is Pro
Returns

The same shape as lnkdrp_get_share, after the change.

Errors
  • plan_limit: turning sharing on at the Free shared-document cap, or version history on Free
  • forbidden: a read-only key
  • not_found
lnkdrp_get_share_statsViews, downloads and viewers for a link over a window of days.read
Inputs
  • docId and/or shareId: a shareId scopes everything to that one link; a docId covers all its links
  • days: 1 to 60, default 15, on every plan
  • includeViewers: per-viewer rows with per-page time, on every plan
Returns

Totals for views, opens, downloads, pages viewed and time spent, a unique viewer count, and a per-day series. With includeViewers it also returns every reader, with their pages and the time spent on each page. Owner and teammate opens are excluded from every figure and counted separately as ownerPreviews.

Errors
  • validation
  • not_found
Worth knowing

views counts recipients; opens counts sittings. A reader who came back three times is one view and three opens.

lnkdrp_write_visit_briefWrite the brief for a visit that ended without one, for the same credits as Write the brief in the app.write
Inputs
  • visitBriefId: the id of a visit in recentVisits (lnkdrp_get_share_stats or lnkdrp_get_project_stats) whose status is recap or failed
Returns

The visit with its brief, the credits it cost, and the credits left.

Errors
  • out_of_credits: not enough credits, or the day's credit cap is reached (nothing is charged)
  • not_found: no such visit in this workspace
  • validation: the visit already has a brief, or one is being written
  • upstream: the model failed; nothing is charged and it can be tried again
Worth knowing

Costs what the button costs: 1 credit at Standard, 3 at Advanced (the workspace's level); the one free brief on Free costs nothing. It is billed to you and named in the activity feed as asked for by the agent. No confirmation, like an upload's summary.

lnkdrp_create_share_linkAdd another link to a document, one per recipient, with its own label, password and expiry.write
Inputs
  • docId
  • label: private name, 1 to 80 characters, never shown to viewers
  • audience: optional private note, up to 120 characters
  • allowDownload / allowRevisionHistory: optional
  • password: optional, 1 to 128 characters
  • expiresAt: optional ISO date in the future
  • enabled: optional, default on
  • sentAt / sentVia: optional; when the link was sent ("now" or an ISO time) and how (email, slack, message, other), for a link made and sent together
Returns

The new link with its own shareUrl, working immediately, with its sent time when one was given.

Errors
  • validation: missing label, past expiry, short password
  • not_found: the document
Worth knowing

Links are never plan-capped. A document may carry one per investor or counterparty on any plan.

lnkdrp_list_share_linksEvery link of a document with its settings, status and view counts, or search its links by name.read
Inputs
  • docId
  • query: optional; full-text search this document's links by label/audience, ranked by relevance
Returns

Every link (or, with query, only the matches), default first: label, audience, shareUrl, status (active, disabled, expired), password and expiry state, that link's viewer and download counts, and when it was sent and first opened (sentAt, sentVia, firstOpenedAt, timeToFirstOpenMs).

Errors
  • not_found
Worth knowing

Don't know which document a link is on? lnkdrp_find_share_link searches by name across the whole workspace.

lnkdrp_find_share_linkFind a share link by name (its label or audience) across the whole workspace.read
Inputs
  • query: the name to search for, e.g. "a16z" or "Sequoia"
  • limit: optional, 1 to 50, default 20
Returns

The matching links, ranked by relevance: which document each is on (id, title, default shareId), the link's own id, shareId, shareUrl, label, audience, whether it's the default link, and when it was sent and first opened.

Errors
    Worth knowing

    Backed by a MongoDB text index: whole-word matches only ("a16z" matches, "nest" does not), fast at any workspace size. Returns [] rather than an error when nothing matches.

    lnkdrp_verify_share_passwordCheck whether a password opens a link, without revealing the real one.read
    Inputs
    • docId and linkId
    • password: the candidate to test
    Returns

    { passwordEnabled, matches }. matches is false whenever the link has no password.

    Errors
    • validation
    • not_found: unknown link, or a link on another document
    • forbidden: owner or admin only
    • rate_limited
    Worth knowing

    Safe to call: it never opens the link, records a view, or spends the recipient's 10-tries-per-5-minutes unlock budget. Its own limit is 20 checks per link per 5 minutes.

    lnkdrp_update_share_linkChange or disable one link without touching the document's other links.write
    Inputs
    • linkId and docId
    • label / audience / enabled / allowDownload / password / expiresAt / allowRevisionHistory: any of them
    • sentAt: "now" records a send, an ISO time sets or corrects the first send, null clears it; sentVia: email, slack, message or other
    Returns

    The updated link.

    Errors
    • validation: includes a sent time in the future or before the link was created
    • not_found: unknown link, or a link on another document
    • forbidden
    Worth knowing

    Disabling a link revokes one recipient's access instantly; the document's other links are untouched.

    lnkdrp_delete_share_linkDelete one link after confirming with you; its past analytics are kept.asks firstwrite
    Inputs
    • linkId and docId
    • confirm: only for clients that cannot show you a prompt; the agent sets it after you say yes
    Returns

    ok, and what was deleted (link id, shareId, label). The link stops resolving at once; its analytics stay in the document's totals. lnkdrp_restore_share_link brings it back for as long as the document exists.

    Errors
    • validation: the default link cannot be deleted (disable it instead), or you did not confirm
    • not_found
    Asks you first

    Before acting it shows you the link, how many recipients opened it and when, and asks. It will not proceed without your yes.

    lnkdrp_restore_share_linkBring back a deleted document link or project link, at the same address.write
    Inputs
    • linkId: the deleted link's id (from the delete, or the share_link.revoked row in the activity feed)
    Returns

    ok, the restored link id, and notes on its state.

    Errors
    • not_found: unknown, or its document or project was permanently removed
    • validation: not deleted, or its document or project is deleted
    • forbidden: a viewer, or below admin for a project link
    Worth knowing

    It comes back switched off, with its label, settings and analytics, so the recipient is not let back in until you turn it on. No confirmation, because nothing is lost by it.

    lnkdrp_set_doc_visibilityKeep a document inside its project only, or list it in the workspace again.write
    Inputs
    • docId
    • visibility: "project" to keep it inside its project, "workspace" to list it everywhere again
    Returns

    docId, visibility, primaryProjectId.

    Errors
    • validation: the document is in no project (VISIBILITY_NEEDS_PROJECT)
    • not_found
    Worth knowing

    A contained document leaves every workspace-wide list, search, the dashboard and lnkdrp_list_docs; the project's own listing, its direct link, metrics and history keep working. Adding a contained document to a second project is refused until it is listed again.

    lnkdrp_archive_docArchive a document to free a slot, or bring it back. Reversible; keeps analytics. Confirms with you first.asks firstwrite
    Inputs
    • docId
    • archived: true to archive, false to bring it back
    • confirm: only for clients that cannot show you a prompt
    Returns

    ok, the document's new archived state, and how many links were affected.

    Errors
    • validation: you did not confirm
    • not_found
    • plan_limit: unarchiving at the Free shared-document cap
    Asks you first

    Archiving takes every link on the document down at once and frees a Free-plan slot; everything comes back on unarchive. It asks first because of the blast radius, even though it is reversible.

    lnkdrp_delete_docDelete a document, after confirming with you. It can be restored for 30 days. Prefer archive if you might want it back.asks firstwrite
    Inputs
    • docId
    • confirm: only for clients that cannot show you a prompt
    Returns

    ok, and what was deleted (document id, title, how many links).

    Errors
    • validation: still processing, or you did not confirm
    • not_found
    Asks you first

    The document, its file and every link disappear at once; lnkdrp_restore_doc brings them back for 30 days, then it is purged for good. It shows you the document, its links and traffic first, and will not proceed without your yes.

    lnkdrp_restore_docBring back a document deleted in the last 30 days, with its links working again.write
    Inputs
    • docId: the deleted document's id (from the delete, or a doc.deleted row in the activity feed)
    Returns

    ok, the restored document id, and notes on its links and tags.

    Errors
    • not_found: unknown, or permanently removed
    • validation: not deleted, or its project or workspace is deleted
    • plan_limit: at the Free shared-document cap
    Worth knowing

    Puts back exactly what the delete took away; its tags are not restored. No confirmation, because nothing is lost by it.

    lnkdrp_update_docRename a document without uploading a new version.write
    Inputs
    • docId
    • title: 1 to 200 characters
    Returns

    docId, the new title and the previous one; unchanged: true when it already had that title.

    Errors
    • validation: an empty or too-long title
    • not_found
    • forbidden: a viewer or a read-only key
    Worth knowing

    Recipients see the title too: in the tab and link preview of its links, and under a project link. The file, version, links and analytics are unchanged, and the rename shows in the activity feed.

    lnkdrp_create_projectCreate a project to group documents, such as a data room for one deal.write
    Inputs
    • idempotencyKey: required; reuse it on retries and you get the same project back
    • name: 1 to 80 characters, unique in the workspace
    • description: optional; shown on the project's public page
    Returns

    The project: id, slug, name, description, document count, its page in the app, and its public page URL.

    Errors
    • plan_limit: the Free plan's project cap; the error lists what you can still do without upgrading
    • validation: a missing or too-long name, or a name another project already uses
    Worth knowing

    A new project's public page is on from the start and lists every document you add whose link is on. Turn it off with update_project if you don't want it.

    lnkdrp_list_projectsList the workspace's projects, or search them by name.read
    Inputs
    • query: optional; matches project names and descriptions
    • page: optional, default 1
    • limit: optional, 1 to 50, default 25
    Returns

    total, page, limit, hasMore and the projects, most recently updated first: id, slug, name, description, document count, app URL and dates.

    Errors
    • validation: an out-of-range page or limit
    lnkdrp_get_projectOne project and a page of its documents.read
    Inputs
    • projectId or projectSlug: exactly one
    • query: optional; only documents whose title or link slug matches
    • page: optional, default 1
    • limit: optional, 1 to 50, default 25
    Returns

    The project (id, slug, name, description, document count, app URL, whether its public page is on and its URL) and its documents: id, shareId and share URL, title, status, version and dates. Archived documents are left out.

    Errors
    • not_found: no such project in this workspace
    • validation: both or neither of projectId and projectSlug
    lnkdrp_get_project_statsWho opened a project's links and what they read: the analytics of a data room.read
    Inputs
    • projectId or projectSlug: exactly one
    • shareId: optional; one project link only
    • days: optional, 1 to 60, default 15
    • includeViewers / includeVisits: optional; per-reader detail and visit briefs
    • viewerUserId or viewerBotIdHash, docId: optional; one reader, one document
    Returns

    Landings and document opens over time, each reader with the documents they opened and for how long, and the project's visit briefs. Names, emails and brief text are marked as content from viewers.

    Errors
    • not_found: no such project in this workspace
    • validation: both or neither of projectId and projectSlug, or an out-of-range value
    Worth knowing

    The project-level counterpart of lnkdrp_get_share_stats. Capped at 50 readers and 10 documents per reader, with counts of what was left out.

    lnkdrp_get_team_statsWhat each member of the workspace did: the Team tab of the Metrics page.read
    Inputs
    • range: optional, 7d, 30d or 90d, default 30d
    • includeMemberSeries: optional; each member's actions per day
    Returns

    One row per owner, admin and member, their agents counted as them: documents added, new versions published (a replaced file or a published draft), drafts added and waiting for review, links created and marked sent, views and readers on their links, last active. Team totals and actions per day. Names and emails are marked as content people typed.

    Errors
    • validation: a range other than 7d, 30d or 90d
    Worth knowing

    On Free, or with nobody else in the workspace, it answers with no rows and a note saying why.

    lnkdrp_add_docs_to_projectPut documents into a project. A document can be in several projects.write
    Inputs
    • projectId or projectSlug: exactly one
    • docIds: 1 to 50 document ids
    Returns

    Which documents were added, which were already in the project, which were not found (unknown, deleted or archived), and any that failed with the reason.

    Errors
    • not_found: no such project in this workspace
    • forbidden: a read-only key, or a viewer in the workspace
    Worth knowing

    Safe to retry. While the project's public page is on, added documents whose link is on are listed there.

    lnkdrp_remove_doc_from_projectTake a document out of a project. The document itself stays.write
    Inputs
    • projectId or projectSlug: exactly one
    • docId
    Returns

    Whether it was removed, whether it was in the project at all, and the projects it is still in.

    Errors
    • not_found: no such project or document in this workspace
    Worth knowing

    Not a delete: the document, its links, their analytics and its other projects are untouched, so it doesn't ask first.

    lnkdrp_update_projectRename a project, change its description, or turn its public page on or off.write
    Inputs
    • projectId or projectSlug: exactly one
    • name: optional, 1 to 80 characters
    • description: optional; an empty string clears it
    • publicPageEnabled: optional; whether the project's public page works
    Returns

    The updated project.

    Errors
    • validation: nothing to change, or a name another project already uses
    • not_found
    Worth knowing

    Anything you don't pass is kept. Renaming keeps the slug and every URL.

    lnkdrp_delete_projectDelete a project after confirming with you. Its documents stay in the workspace; it can be restored for 30 days.asks firstwrite
    Inputs
    • projectId or projectSlug: exactly one
    • confirm: only for clients that cannot show you a prompt
    Returns

    ok, and what was deleted (project id, slug, how many documents left it).

    Errors
    • validation: you did not confirm
    • not_found
    Asks you first

    Only the project goes: its documents, their links and analytics are kept. Its public page stops working. lnkdrp_restore_project brings it back, its documents put back, for 30 days; then it is purged for good. It shows you the project, its document count and whether its public page is live, and will not proceed without your yes.

    lnkdrp_restore_projectBring back a project deleted in the last 30 days, with its documents put back.write
    Inputs
    • projectId or projectSlug of the deleted project (from the delete, or the activity feed)
    Returns

    ok, the restored project, and notes on what came back.

    Errors
    • not_found: unknown, or permanently removed
    • validation: not deleted, or a live project now uses its name or slug
    • plan_limit: at the Free project cap
    Worth knowing

    No confirmation, because nothing is lost by it.

    lnkdrp_list_deletedWhat was deleted in this workspace lately: documents, links and projects, newest first, with what restores each, and the versions removed from live documents.read
    Inputs
    • kind: optional; doc, link, project or version (doc, link and project when omitted, with the removed versions listed beside them)
    • days: optional; deleted in the last 1 to 30 days, default 7
    • page, limit: optional; limit 1 to 50, default 20
    Returns

    Each item's id, title or label, when it was deleted and by whom (and which agent, when one did it), when it will be removed for good, whether it can be restored and with which tool. A link also names its document or project. A removed version has its document, number, file name, the storage its purge frees, its purge date and whether that purge is switched on.

    Errors
    • validation: an unknown kind, or days outside 1 to 30
    Worth knowing

    The same list as Recently deleted in the app, for this workspace only and never a deleted workspace or account. It lists what an owner or admin sees there; for a member the list is empty. Private (locked) projects you hold no grant for stay hidden. A removed version cannot be restored, and its PDF counts toward storage until it is purged.

    lnkdrp_get_pending_purgesWhat is waiting to be removed for good in this workspace, by kind: how many, when the next one is due, and how much storage each frees.read
    Inputs
      Returns

      One bucket per kind (deleted documents, deleted projects, removed versions, abandoned and failed uploads, documents with no file): count, next purge date, bytes freed, and whether that purge deletes or only reports. Plus the storage meter.

      Errors
        Worth knowing

        For an owner or admin of this workspace; for a member it is empty. Some kinds only report what they would remove while LinkDrop reviews them; nothing of theirs is deleted.

        lnkdrp_create_project_linkSend a whole project to one audience: one link to the project, with its own password and expiry.write
        Inputs
        • projectId or projectSlug: exactly one
        • label: private name, 1 to 80 characters, never shown to viewers
        • audience: optional private note, up to 120 characters
        • allowDownload: optional, default off; it governs every document opened through this link
        • password: optional, 1 to 128 characters
        • expiresAt: optional ISO date in the future
        • enabled: optional, default on
        • sentAt / sentVia: optional; when the link was sent ("now" or an ISO time) and how, for a link made and sent together
        Returns

        The new link with its own shareUrl (the project page, /p/<shareId>), plus warnings when the project already has a link with that label, or when the new link turned a switched-off public page back on.

        Errors
        • validation: missing label, or an expiry in the past
        • not_found: the project
        • forbidden: read-only key, or not an owner or admin
        Worth knowing

        Reach for this instead of one link per document whenever several documents go to the same audience. Everything they open behind it is attributed to this link, so you get one answer to "who came and what did they read".

        lnkdrp_list_project_linksEvery link of a project with its settings, status and counts, or search them by name.read
        Inputs
        • projectId or projectSlug: exactly one
        • query: optional; search this project's links by label or audience
        Returns

        The project, whether its public page is on at all, and every link (default first): label, audience, shareUrl, status (active, disabled, expired), password, expiry and download state, how many documents recipients opened and downloaded through each one, and when it was sent and first opened.

        Errors
        • not_found
        Worth knowing

        While the project's public page is off, every link reads disabled. Turn it back on with lnkdrp_update_project.

        lnkdrp_update_project_linkChange or revoke one audience's access to a project, leaving the others alone.write
        Inputs
        • linkId, and projectId or projectSlug
        • label / audience / enabled / allowDownload / password / expiresAt: any of them
        • sentAt / sentVia: as on lnkdrp_update_share_link
        Returns

        The updated link.

        Errors
        • validation: nothing to change, or an expiry in the past
        • not_found: unknown link, or a link on another project
        • forbidden
        Worth knowing

        enabled: false takes the whole project away from one recipient instantly and reversibly, without touching the documents, their own links, or anyone else's project link. Usually what you want instead of deleting.

        lnkdrp_delete_project_linkDelete one project link after confirming with you; its past analytics are kept.asks firstwrite
        Inputs
        • linkId, and projectId or projectSlug
        • confirm: only for clients that cannot show you a prompt; the agent sets it after you say yes
        Returns

        ok, and what was deleted (link id, shareId, label). The link stops resolving at once; its analytics stay in the project's totals. lnkdrp_restore_share_link brings it back for as long as the project exists.

        Errors
        • validation: the project's default link cannot be deleted (disable it instead), or you did not confirm
        • not_found
        Asks you first

        The recipient loses the whole project, not one document, so it shows you how many documents they opened through it and when, and will not proceed without your yes.

        lnkdrp_star_docsStar or unstar documents so they sit at the top of your sidebar.write
        Inputs
        • docIds: 1 to 50 documents
        • starred: true to star (default), false to unstar
        Returns

        Which documents changed, which were already that way, which weren't found, and your starred list afterwards.

        Errors
        • not_found: reported per document in notFound, not as an error
        Worth knowing

        Stars are yours, not the workspace's, and recipients never see them. Safe to repeat: starring a starred document does nothing.

        lnkdrp_list_tagsEvery tag in the workspace, with how many things carry each.read
        Inputs
          Returns

          Each tag's id, name, slug, colour and how many documents and projects carry it, alphabetical.

          Errors
            Worth knowing

            Read it before tagging to reuse the workspace's own words; a workspace with “Fundraising” does not want “fund raising” as well.

            lnkdrp_tagPut tags on a document, a project or a contact, by name.write
            Inputs
            • docId, projectId or contactId: exactly one
            • tags: 1 to 10 names, created if the workspace has none by that name
            Returns

            Every tag on the item afterwards, and which names were newly created.

            Errors
            • validation: not exactly one of docId, projectId and contactId, or a name with no letters or digits
            • not_found: no such document, project or contact in this workspace
            Worth knowing

            Names fold on case, accents and punctuation, so “Fundraising” and “fundraising” are one tag. Tags are private to the workspace; recipients never see them.

            lnkdrp_untagTake tags off a document, a project or a contact.write
            Inputs
            • docId, projectId or contactId: exactly one
            • tags: 1 to 10 names to remove
            Returns

            What was removed, what was not on the item (notTagged), and the tags left.

            Errors
            • validation: not exactly one of docId, projectId and contactId
            • not_found: no such document, project or contact in this workspace
            Worth knowing

            The tag itself survives on everything else that carries it; only this item loses it.

            lnkdrp_list_contactsThe people the workspace has heard from, with what they read and the team's tags.read
            Inputs
            • query (optional): match name, address or domain
            • tagSlug (optional): only contacts carrying that tag
            • docId or projectId (optional): only contacts who touched it
            • since (optional): only contacts last seen on or after a date
            • sort, dir, page, limit (optional)
            Returns

            Each contact's id, name, address, domain, first and last seen, documents read, visits and tags, with the total.

            Errors
            • not_found: no tag by that slug
            • validation: a date since cannot read
            Worth knowing

            Read-only. Every contact comes with its name and address on every plan; the name is the team's when the team gave one, and query also finds the name the person gave.

            lnkdrp_get_contactOne contact: identity, sources, everything they touched, and the team's notes on them, the context for writing to them.read
            Inputs
            • contactId: from lnkdrp_list_contacts
            Returns

            The contact with every source, document and project they touched, their tags, the team's notes with who last wrote them and their version, who named them when the team did, and the last email sent to them or failed.

            Errors
            • not_found: no such contact in this workspace
            Worth knowing

            Names, addresses, titles and the notes come wrapped as untrusted content. Read-only: lnkdrp_update_contact renames a contact and lnkdrp_update_contact_notes writes the notes.

            lnkdrp_list_starredList your starred documents, in sidebar order.read
            Inputs
              Returns

              Each starred document's id, title and when it was starred.

              Errors
                Worth knowing

                Deleted and archived documents are left out; their stars come back if the document does.

                lnkdrp_add_contactAdd somebody to the workspace's contacts by email address.write
                Inputs
                • email: required; the person's address, which is the contact's identity
                • name: optional, up to 80 characters
                Returns

                created (false when the address was already a contact), the contact, and a note saying which happened.

                Errors
                • validation: a malformed address
                Worth knowing

                An address already in the contacts is not an error: it gains a source recording that this agent added it. A name already on file is kept; a name it fills in counts as the team's, not the person's. lnkdrp_update_contact renames.

                lnkdrp_update_contactRename a contact.write
                Inputs
                • contactId: from lnkdrp_list_contacts
                • name: up to 80 characters; null goes back to the name the person gave
                Returns

                The contact after the edit and what changed.

                Errors
                • validation: no name, or over its limit
                • not_found: no such contact, or deleted
                • upstream (409): the contact kept changing while it was being saved; nothing was written, so retry
                Worth knowing

                The team's name wins over what the person later says about themselves. The notes are lnkdrp_update_contact_notes; tags are lnkdrp_tag and lnkdrp_untag with contactId. Shows in your activity feed as yours and the agent's.

                lnkdrp_update_contact_notesReplace or add to the team's notes on a contact, the Markdown document agents read as the context for writing to them.write
                Inputs
                • contactId: from lnkdrp_list_contacts
                • mode: append adds to the end and keeps what is there; set replaces the whole document
                • text: up to 50,000 characters; empty with set clears the notes
                • expectedUpdatedAt: the note's updatedAt from lnkdrp_get_contact, or null when there were none; required for set
                • separator: optional, append only; what goes between the old and the new text
                Returns

                What changed, the notes' length and version, and what a set replaced, with who wrote it.

                Errors
                • validation (notes_conflict): the notes changed since that version; nothing was written
                • validation (notes_too_long): past 50,000 characters; nothing was cut or written
                • not_found: no such contact, or deleted
                Worth knowing

                Shows in your activity feed as yours and the agent's, never with the text: one row per editor per contact every 10 minutes.

                lnkdrp_delete_contactDelete one contact after confirming with you; their reading stays in your documents' analytics.asks firstwrite
                Inputs
                • contactId: from lnkdrp_list_contacts
                • confirm: only for clients that cannot show you a prompt; the agent sets it after you say yes
                Returns

                ok, who was deleted, and what went with them (note, tags, reader summary, reader profile). No document's numbers change.

                Errors
                • validation: you did not confirm, or declined
                • not_found: no such contact, or already deleted
                Asks you first

                Before acting it shows you who the contact is and what the team kept about them, and asks. It cannot be undone; they come back only if they read, introduce themselves or are added again.

                lnkdrp_list_revisionsWhat changed, newest first: one row per replacement, with the AI compare's summary.read
                Inputs
                • docId or shareId: optional; one document's history, or omit both for the whole workspace
                • since: optional; an ISO date, 24h, 7d, 30d, this_week or this_month
                • limit: optional, 1 to 50, default 20
                • cursor: optional; the nextCursor from the previous page
                Returns

                Each revision's document, from and to versions, who replaced it and when, the one-line summary, and how many changes and pages the compare found. A version published from a draft says who staged it (and the agent they staged it through) and who published it. Plus nextCursor.

                Errors
                • not_found: no document by that id or slug
                • validation: a since value that cannot be read
                Worth knowing

                A document's first version has no row: there was nothing to compare it with.

                lnkdrp_get_revisionOne version's full diff: itemised changes and each changed page's before and after.read
                Inputs
                • docId or shareId: the document
                • version: optional; the toVersion to explain, default the current version
                • includeText: optional; also return the extracted text of both versions
                Returns

                The compare's summary, the itemised changes, per changed page the kind of change and the previous and new wording, file sizes and page counts on both sides, and whether the compare ran.

                Errors
                • not_found: version 1, or a version with no stored record
                Worth knowing

                Everything the compare wrote comes back as untrusted document text.

                lnkdrp_restore_versionMake an earlier version of a document the current one again, on Pro. Every link shows that file again; nothing is deleted.asks firstwrite
                Inputs
                • docId or shareId: the document
                • version or fileName: the version to make current, by number or by the file name it was uploaded as
                • confirm: only for clients that cannot show you a prompt
                Returns

                The new version number, the version it restored, its file name, the version now current, and whether its compare was copied from the stored one.

                Errors
                • not_found: no such version
                • validation: already current, a version still processing, or you did not confirm
                • plan_limit: Free workspaces (replace the file instead)
                Asks you first

                It adds a version that reuses the earlier one's stored file: no upload, no AI and no credits. It asks you first when recipients have opened the document.

                lnkdrp_remove_latest_versionRemove a document's latest version, on Pro, so the version before it is current again. Confirms with you first.asks firstwrite
                Inputs
                • docId or shareId: the document
                • version: the latest version's number
                • confirm: only for clients that cannot show you a prompt
                Returns

                The removed version and its file name, the version now current and its file name, and the number the next upload gets.

                Errors
                • validation: not the latest version, the only version, or you did not confirm
                • not_found: no such version
                • plan_limit: Free workspaces
                Asks you first

                It shows you who viewed the version first. The version leaves the history; its views stay in the analytics. There is no undo: upload the file again.

                lnkdrp_get_draftRead a document's drafts: new files waiting for review, with what each changes compared with the live version.read
                Inputs
                • docId or shareId: the document
                • uploadId: optional; one draft, in any state
                • mine: optional; only your own open draft
                • status: optional; open (default), published or discarded (replaced and expired included, last 90 days)
                Returns

                One draft with its changes page by page (or the list when several are open), the version it is based on and whether that is the live version, who staged it, when it expires, the review page link, and who may publish the document. With status published or discarded: those drafts, with who published or discarded each, when, and the version a published one became.

                Errors
                • not_found: no such draft, or you have none open
                Worth knowing

                Recipients never see drafts, and the version history does not list them until they are published.

                lnkdrp_list_draftsList the workspace's drafts across documents: open ones waiting for your review, your own, or all of them, with who added each; the ones already published or discarded; or every draft together.read
                Inputs
                • status: optional; open (default), published, discarded (replaced and expired included, last 90 days), or all (every draft together, newest activity first, as the Drafts page shows by default)
                • filter: optional; needs_my_review (default for open drafts: drafts someone else added, on documents you may publish), mine, or all (default for the other statuses)
                • offset / limit: optional; page on (up to 100 at a time)
                Returns

                Each draft's document, who added it (or their agent), its state (open, published as a version, discarded) and how many pages changed, the version it is based on and the live version's number, when, whether you may publish or discard it, and the review page link; plus how many drafts each filter and each status holds.

                Errors
                  Worth knowing

                  The same list as the Drafts page in the app's sidebar. Drafts in locked rooms you cannot open are left out.

                  lnkdrp_publish_draftMake a draft the live version of its document. Every link shows it at once; the version that was live stays in the history.asks firstwrite
                  Inputs
                  • docId or shareId: the document
                  • uploadId: optional; default your own open draft, or the only one
                  • confirm: only for clients that cannot show you a prompt
                  Returns

                  The new version number, the version it replaced, the file name, whether the draft's compare became the version's change record, and the share link. For a draft based on an older version, which later versions' changes it does not include.

                  Errors
                  • forbidden: only the document's publishers may publish it; the error names them
                  • validation: the draft is still being prepared or failed, or the document changed meanwhile
                  • not_found: no open draft
                  Asks you first

                  It asks you first when recipients have opened the document. Works on every plan; the summary is written after publishing.

                  lnkdrp_discard_draftDiscard a draft. The live version and every link stay as they are. Confirms with you first.asks firstwrite
                  Inputs
                  • docId or shareId: the document
                  • uploadId: optional; default your own open draft, or the only one
                  • confirm: only for clients that cannot show you a prompt
                  Returns

                  discarded: true with the draft's uploadId and file name.

                  Errors
                  • forbidden: someone else's draft (its owner, the document's publishers and admins may discard it)
                  • not_found: no open draft
                  Asks you first

                  There is no undo: stage the file again to make a new draft. Its space is freed at once.

                  lnkdrp_recompare_draftCompare a draft again against the version that is live now, when the live version moved after it was compared. Nothing recipients see changes.write
                  Inputs
                  • docId or shareId: the document
                  • uploadId: optional; default your own open draft, or the only one
                  • baseVersion: optional; compare with this version instead, which becomes the draft's base
                  Returns

                  The draft as it stands (processing until the new compare lands).

                  Errors
                  • validation: the draft is already compared with that version, still being prepared, or failed, or baseVersion is not a version of the document
                  • not_found: no open draft
                  Worth knowing

                  Uses credits like any compare; a failed compare is refunded.

                  lnkdrp_set_doc_publishersChoose who may publish a document (replace its file or publish a draft): the workspace default, owners and admins, also chosen people, or everyone on the team. Owners, admins and the document's owner always can; everyone else can still add drafts. Confirms with you first.asks firstwrite
                  Inputs
                  • docId or shareId: the document
                  • mode: default (follow the workspace), owners, chosen or everyone; left out, a list means chosen and an empty one the default
                  • publishers: for chosen, up to 5 members by email, name or user id ("me" for yourself)
                  • confirm: only for clients that cannot show you a prompt
                  Returns

                  The mode in force, the document's own choice, the workspace's default, the listed publishers, and what you may do on it.

                  Errors
                  • plan_limit: chosen and everyone are Pro features (the default and owners work on every plan)
                  • forbidden: only owners and admins, the document's owner and its publishers may change it; when everyone can publish, only the document's owner and owners and admins
                  • validation: a name that matches no member, a viewer, or more than 5 people
                  Asks you first

                  Workspace owners and admins and the document's owner can always publish. Viewers never can.

                  lnkdrp_get_storageHow much storage the workspace uses: every stored file, open drafts, what is waiting to be removed, and the largest documents.read
                  Inputs
                    Returns

                    Used and total storage, the split between PDFs and the page images and previews made from them, open drafts, space waiting for the purge, the ten largest documents, and storage add-ons (not available yet).

                    Errors
                      Worth knowing

                      Storage counts every stored file, so it reads higher than the PDFs alone. Add-ons are coming; until then delete old documents or upgrade.

                      lnkdrp_revision_contributorsWho replaces documents most, with how many and when.read
                      Inputs
                      • docId or shareId: optional; one document, or omit both for the workspace
                      • since: optional; as for list_revisions
                      Returns

                      Members, most active first, with replacements, documents and first and last dates, plus the agents that made replacements. Each has a url to their page.

                      Errors
                      • not_found: no document by that id or slug
                      lnkdrp_request_member_inviteAsk an owner or admin to invite someone as a member or viewer.write
                      Inputs
                      • email: required; where the invitation goes
                      • role: optional; member (default) or viewer
                      Returns

                      An approvalId, its status and expiry, and an approvalUrl for an owner or admin to open and approve.

                      Errors
                      • validation: a malformed address
                      • refused at once: the person is already in the workspace, or the plan has no seat for another member
                      Worth knowing

                      Sends nothing and grants nothing until a person approves it. A request expires after 30 minutes. An agent cannot ask for an admin.

                      lnkdrp_check_approvalWhether a member-invite request was approved, denied or expired.read
                      Inputs
                      • approvalId: from lnkdrp_request_member_invite
                      Returns

                      The request's status (pending, approved, denied or expired), the address and role, and when it expires.

                      Errors
                      • not_found: no such request in this workspace
                      lnkdrp_get_notificationsWhat is waiting for you: download requests to decide, failed documents, broken integrations.read
                      Inputs
                      • limit: optional; up to 100, default 20
                      • includeDismissed: optional; items you dismissed in the app, flagged (default true)
                      Returns

                      Your open items, newest first, with the badge's count. A download request names the document, the link and the requester, whose address, name and note are wrapped as reader text.

                      Errors
                      • forbidden: the key has no scope to read with
                      Worth knowing

                      Every other tool's result also carries a one-line needsYou note while something is waiting, and agents that read MCP log messages are told live when something new arrives.

                      lnkdrp_decide_download_requestApprove or deny a download request, after you confirm in the agent's prompt.write
                      Inputs
                      • notificationId or requestId: from lnkdrp_get_notifications
                      • decision: approve or deny
                      Returns

                      What was decided, the request's status now, and the app's own sentence.

                      Errors
                      • refused: the agent's client cannot show the confirmation prompt, or you did not confirm (decide in the app or from the email instead)
                      • not_found: the request is not waiting for you
                      • rate_limited: too many decisions in the last hour
                      Worth knowing

                      You confirm every decision in lnkdrp's own prompt; there is no way for the agent to skip it. Only the document's owner or the link's creator can decide, and the requester's email names you, not the agent.

                      lnkdrp_get_settingsYour own settings: your name, your preferences and which notification emails you get from this workspace.read
                      Inputs
                      • None.
                      Returns

                      Your name and sign-in email, each preference with its value and what it does, your email mode for each kind of notification (off, daily or immediate), and who publishes new versions in the workspace by default.

                      Errors
                        Worth knowing

                        Only the settings of the person the connection acts for. The sign-in email is shown but cannot be changed by an agent. Where the workspace has email templates, also your email signature and when it goes in (lnkdrp_set_email_signature changes them).

                        lnkdrp_update_settingsChange your own settings, after you confirm: your name, a preference, or a notification email; and, for an owner or admin, who publishes new versions in the workspace by default.asks firstwrite
                        Inputs
                        • name: optional; { firstName, lastName? }, your name on every workspace you belong to
                        • preferences: optional; one or more preference keys with new values (lnkdrp_get_settings lists them)
                        • notifications: optional; viewEmailMode, briefEmailMode, docUpdateEmailMode, docUploadEmailMode, versionChangeEmailMode (owners and admins), memberJoinEmailMode (a teammate joined), weeklyReportEmailMode (the Monday weekly report; off, or immediate for on), each off, daily or immediate
                        • workspace: optional; { publishDefault: owners or everyone }, who publishes new versions of documents that follow the workspace (owners and admins only; everyone is Pro)
                        • confirm: only for clients that cannot show you a prompt; the agent sets it after you say yes
                        Returns

                        What changed, each with its old and new value. A setting that already had the value changes nothing and is not asked about.

                        Errors
                        • validation: nothing to change, an unknown preference or value, or you did not confirm or declined
                        Asks you first

                        Every change asks you first, like a delete, showing each setting's current and new value; you can change it back at any time. Billing, keys, your sign-in email, deleting your account or a workspace, and workspace members stay with you in the app.

                        lnkdrp_set_email_signatureSet, change or remove your own email signature for the emails you send from this workspace, and choose when it goes in, after you confirm.asks firstwrite
                        Inputs
                        • html or text: the signature as HTML (bold, italic, underline, line breaks, links, fonts, sizes and colours, a layout table, a divider; hidden text is removed with its words) or as plain text (each line a line, web and email addresses become links); not both
                        • imageAssetId: optional; the email image it shows, from lnkdrp_list_email_assets (one image at most; placed nowhere, it goes on its own line at the end); or {{image:<assetId>}} in html or text where it goes, or, in html, an <img> of that image's URL
                        • include: optional; all (every email unless unticked) or on_demand (only where Include my signature is ticked)
                        • remove: optional; true removes the signature
                        • confirm: only for clients that cannot show you a prompt; the agent sets it after you say yes
                        Returns

                        The signature as saved (its HTML, plain-text version, image, include and updatedAt), whether it changed, and the end of an email with it: the "-- " line, then the signature.

                        Errors
                        • validation: neither html, text, include nor remove; both html and text; over 20,000 characters
                        • image_not_an_asset: an image that is not one of this workspace's email images (upload it with lnkdrp_upload_email_asset first)
                        • forbidden: the connection is read-only, or you are a viewer
                        Asks you first

                        Only your own signature, in this workspace; never a teammate's. It goes out as written, with only what can run or submit taken out, and Activity shows that it changed, never what it says. Every change asks you first, showing the signature as it will end your emails; you can change it back at any time here. Outreach settings shows it, and can remove it.

                        lnkdrp_create_email_templateCreate an email template: a subject and a text or HTML body with replaceable tags.write
                        Inputs
                        • name: unique in the workspace
                        • format: text or html
                        • align: optional; left (default) or center, where an HTML email sits in the reader's window
                        • subject: one line, with tags
                        • body: with tags; places at least one of the template's documents with its tag, {{link.<key>}}
                        • links: the documents, each { key?, docId | projectId, password?, expiresAfterDays?, allowDownload?, allowRevisionHistory?, contactRole? }; one with neither id is a chip waiting for its document
                        • description: optional
                        • tags: optional; each {{custom.x}} used, with a description of what it stands for
                        Returns

                        The template with every tag it uses (entity, description, required, example), unusedTags, and warnings (body_self_centred: an HTML body that centres itself while align is left).

                        Errors
                        • validation: an unknown or malformed tag, HTML with scripts or a tag in a link or unquoted attribute, or a name already used
                        • link_url_retired: {{link.url}} is no longer a tag; the document goes on the template as a chip (links) and the body writes {{link.<key>}}
                        • link_tag_required: no document on the template, or none placed in the body
                        Worth knowing

                        Tags are {{entity.field}} or {{entity.field|fallback}}; LinkDrop fills contact.*, each document's link.<key>, document.title, project.name, sender.*, workspace.name for each recipient, and {{custom.x}} takes a value you give when rendering.

                        lnkdrp_list_email_templatesThe workspace's email templates, without their bodies.read
                        Inputs
                        • query: optional; part of the name
                        • state: optional; active (default) or archived
                        • page, limit: optional
                        Returns

                        Each template's name, format, subject, tags and state, and builtInTags: the tags LinkDrop fills for each recipient.

                        Errors
                          lnkdrp_list_email_tagsThe fields an email template can use: every built-in field with what it returns and an example, and the workspace's custom tags.read
                          Inputs
                          • includeCustom: optional; false leaves out the custom tags this workspace's templates declare
                          Returns

                          builtInTags (key, entity, description, required, example), entities, how a document's {{link.<key>}} works, the custom tags with the templates that declare them, and a worked example.

                          Errors
                            Worth knowing

                            Custom tags hold words; one whose name or description reads as a link is refused on create and update.

                            lnkdrp_get_email_templateOne email template in full: subject, body and every tag with its entity and description.read
                            Inputs
                            • templateId: from lnkdrp_list_email_templates
                            Returns

                            The template and builtInTags.

                            Errors
                            • not_found: no such template in this workspace
                            lnkdrp_update_email_templateChange an email template's name, description, format, alignment, subject, body or tags.write
                            Inputs
                            • templateId
                            • name, description, format, align, subject, body, tags: optional; tags replaces the whole list
                            Returns

                            The template, unusedTags and warnings. Emails already rendered keep their text.

                            Errors
                            • validation: the same checks as creating
                            • not_found: no such template
                            • template_archived: unarchive it first
                            lnkdrp_delete_email_templateDelete an email template, after you confirm. It stays 30 days in Recently deleted.asks firstwrite
                            Inputs
                            • templateId
                            • confirm: only for clients that cannot show you a prompt
                            Returns

                            What was deleted, when it is removed for good, and how many rendered emails stay until they expire.

                            Errors
                            • not_found: no such template
                            Asks you first

                            lnkdrp_restore_email_template brings it back within 30 days. Share links and contacts are not touched.

                            lnkdrp_archive_email_templateArchive an email template, or unarchive it (archived: false).write
                            Inputs
                            • templateId
                            • archived: optional; true (default) archives, false unarchives
                            Returns

                            The template with its state, and whether anything changed.

                            Errors
                            • not_found: no such template
                            • templates_limit: the workspace is at its plan's active-template cap (whoami outreachLimits); archive one to make room
                            • name_taken: an active template has its name
                            Worth knowing

                            An archived template is kept but cannot be edited or used to generate emails; emails already generated from it still send.

                            lnkdrp_duplicate_email_templateCopy an email template into a new active one.write
                            Inputs
                            • templateId
                            • name: optional; default <name> (copy)
                            Returns

                            The new template and the one it was copied from.

                            Errors
                            • not_found: no such template
                            • templates_limit: the workspace is at its plan's active-template cap (whoami outreachLimits); archive one to make room
                            • name_taken: the name given is used
                            lnkdrp_restore_email_templateBring back a deleted email template within its 30 days.write
                            Inputs
                            • templateId: from lnkdrp_list_deleted (kind email_template)
                            Returns

                            ok and notes; it comes back active or archived, as it was.

                            Errors
                            • not_found
                            • purged: past its 30 days
                            • name_taken: an active template has its name
                            • templates_limit: the workspace is at its plan's active-template cap (whoami outreachLimits); archive one to make room
                            • conflict: its workspace is deleted
                            lnkdrp_list_email_template_versionsList an email template's versions: who saved each, which agent, when and what changed; and compare any two.read
                            Inputs
                            • templateId
                            • before: optional; versions below this number
                            • limit: optional; 1-100, default 25
                            • compare: optional; { from, to }, to defaults to the current version
                            Returns

                            currentVersion, sentCount and the versions, newest first, without subject or body, each after version 1 with compareUrl (the app's history on the version before it and this one); with compare, what lnkdrp_compare_email_template_versions returns.

                            Errors
                            • not_found: no such template
                            lnkdrp_compare_email_template_versionsCompare two versions of an email template: the words as read, and whether the HTML changed beyond the words.read
                            Inputs
                            • templateId
                            • from
                            • to: optional; the current version when left out
                            Returns

                            fieldChanges, readText with [-removed-] and {+added+} marks (at most 4,000 characters; readTextTruncated and readTextLinesLeftOut past it), changeKind (words, layout: same words over different HTML or paragraph breaks, fields, or none), bodyWordsChanged, htmlChanged, sourceLines { added, removed }, summary and appUrl, the history page opened on this comparison (absent for a version against itself).

                            Errors
                            • not_found: no such template
                            • version_not_found: no such version
                            lnkdrp_restore_email_template_versionMake an earlier version of an email template current again, saved as its next version.write
                            Inputs
                            • templateId
                            • version
                            • withoutImages: optional; restore it without images whose upload was deleted
                            Returns

                            The template with its new version, the version written and restoredFromVersion.

                            Errors
                            • already_current: that version is the current one
                            • conflict: the template was saved since it was read (currentVersion)
                            • image_not_an_asset: an image in it was deleted
                            • name_taken: an active template has that version's name
                            • template_archived
                            • not_found: no such template or version
                            • publisher_required: only the template's publishers restore a version
                            Worth knowing

                            Nothing is deleted: the version that was current stays in the history. Asks the person first when emails made from the template were sent.

                            lnkdrp_get_email_template_draftRead an email template draft: who added it, what it changes as read, whether it is out of date, and who can publish it.read
                            Inputs
                            • templateId
                            • draftId: optional; this person's own open draft, else the only one
                            Returns

                            The draft (addedBy, draftVersion, baseVersion, liveVersion, stale, changedFields, expiresAt, reviewUrl), fieldChanges, readText with [-removed-] and {+added+} marks, againstLive when stale, publishers, sentCount and activeCampaigns.

                            Errors
                            • draft_ambiguous: several open drafts; say which with draftId
                            • not_found: no such template or draft
                            lnkdrp_publish_email_template_draftPublish an email template draft as the template's next version.write
                            Inputs
                            • templateId
                            • draftId: optional
                            • replaceLive: optional; publish a stale draft over the live version
                            • withoutImages: optional; publish it without images whose upload was deleted
                            Returns

                            The template, the version written, the draft and versionsNotIncluded.

                            Errors
                            • publisher_required: only the template's publishers publish (upgradeUrl on Free)
                            • stale_draft: the template moved past the draft's base (liveVersion, versionsNotIncluded)
                            • image_not_an_asset: an image in it was deleted
                            • already_published
                            • draft_conflict: the draft was saved again
                            Worth knowing

                            The version that was live stays in the history. Asks the person first when emails made from the template were sent, an active drop uses it, or replaceLive is given.

                            lnkdrp_discard_email_template_draftDiscard an email template draft; its text is deleted and the live template is unchanged.write
                            Inputs
                            • templateId
                            • draftId: optional
                            • note: optional reason, shown to the draft's author
                            Returns

                            The draft as it ended.

                            Errors
                            • forbidden: only its author or a publisher discards it
                            • not_found: no such draft
                            Worth knowing

                            Asks the person first. Someone else's draft: its author is told, in the app and by email.

                            lnkdrp_set_email_template_publish_modeChoose who can publish an email template: the workspace default, owners, chosen people, or everyone.write
                            Inputs
                            • templateId
                            • mode: default, owners, chosen or everyone
                            • userIds: for chosen; member ids or email addresses (up to 5)
                            Returns

                            publishing (mode, paused, publishers) and changed.

                            Errors
                            • cannot_edit_publishers
                            • plan_limit: chosen and everyone are Pro
                            • not_a_member
                            • too_many_publishers
                            • validation: a private template
                            Worth knowing

                            Asks the person first. Everyone else saves their changes as a draft.

                            lnkdrp_preview_email_templatePreview a template with its tags shown as written, with each tag's example, or as one contact's email: a saved one or unsaved fields, with no recipient.read
                            Inputs
                            • templateId: a saved template, or format, subject, body and tags for unsaved fields
                            • values: optional; values for tags, by key
                            • mode: optional; tags (as written, the default) or examples
                            • contactId: optional, with templateId; the email as that contact's, the link a placeholder and the password [password]
                            • dryRun: optional; with the dry-run band and subject marker (Pro and up)
                            Returns

                            The subject, text and html as they would read, the tags with no value (missingTags), what a save would refuse (errors), and for a contact the tags that come out empty or as their fallback (missing). Nothing is stored, no link is made and nothing is charged.

                            Errors
                            • validation: a body that is not a template at all
                            • not_found: no such template
                            • contact_not_found: no such contact
                            • plan_limit: the dry-run look on Free
                            Worth knowing

                            A preview page with a link of its own comes from lnkdrp_render_email, which renders for a real contact.

                            lnkdrp_create_contact_listCreate a contact list, such as Investors, from existing contacts.write
                            Inputs
                            • name: unique in the workspace
                            • description: optional
                            • contactIds, emails: optional; existing contacts
                            Returns

                            The list, how many were added, and the addresses that are not contacts (notFound).

                            Errors
                            • validation: a name already used
                            • lists_limit: the workspace is at its plan's list cap (whoami outreachLimits); delete a list to make room
                            • list_members_limit: 500 members
                            lnkdrp_list_contact_listsThe workspace's contact lists, with how many members each has.read
                            Inputs
                            • page, limit: optional
                            Returns

                            Each list's name, description and memberCount.

                            Errors
                              lnkdrp_get_contact_listOne contact list with a page of its members.read
                              Inputs
                              • listId
                              • page, limit: optional
                              Returns

                              The list and its members (contact id, name, address, domain), each member's contactId being what lnkdrp_render_email takes.

                              Errors
                              • not_found: no such list
                              lnkdrp_update_contact_listRename or re-describe a contact list.write
                              Inputs
                              • listId
                              • name, description: optional
                              Returns

                              The list.

                              Errors
                              • validation: a name already used
                              • not_found: no such list
                              lnkdrp_delete_contact_listDelete a contact list, after you confirm; its contacts stay.asks firstwrite
                              Inputs
                              • listId
                              • confirm: only for clients that cannot show you a prompt
                              Returns

                              What was deleted.

                              Errors
                              • not_found: no such list
                              lnkdrp_add_contact_list_membersAdd existing contacts to a contact list.write
                              Inputs
                              • listId
                              • contactIds, emails: up to 100 in all
                              Returns

                              The list, how many were added or already members, and the addresses that are not contacts.

                              Errors
                              • not_found: no such list
                              • list_members_limit: 500 members
                              lnkdrp_remove_contact_list_membersTake contacts off a contact list; the contacts stay.write
                              Inputs
                              • listId
                              • contactIds: up to 100
                              Returns

                              The list and how many were removed.

                              Errors
                              • not_found: no such list
                              lnkdrp_render_emailRender one email from a template for one contact and one document or project, with a preview page.write
                              Inputs
                              • templateId
                              • contactId or contactEmail: an existing contact
                              • docId or projectId
                              • values: optional; values for custom tags ({{custom.name}})
                              Returns

                              The subject, text and html, the tags still missing, warnings, whether it is ready, the contact's own link (made if they had none), and previewUrl: a signed page, valid 7 days, that shows the email without sign-in.

                              Errors
                              • validation: a contact that does not exist, or the contact's link is switched off or expired (link_inactive)
                              • not_found: no such template, document or project
                              Worth knowing

                              Rendering the same email again before it is sent replaces it. Nothing is sent: the agent sends it with its own mail tool and records it with lnkdrp_mark_email_sent, or uses lnkdrp_send_email.

                              lnkdrp_list_email_rendersRendered emails, newest first, kept 30 days.read
                              Inputs
                              • templateId, contactId, sent, locked: optional filters
                              • sort: optional; review (with sent false) lists the locked emails first
                              • page, limit: optional
                              Returns

                              Each email's recipient, document or project, link, subject, missing tags, preview page, whether it was sent or held, and whether it is locked waiting for you.

                              Errors
                                lnkdrp_get_email_renderOne rendered email in full, with a fresh preview page.read
                                Inputs
                                • renderId
                                Returns

                                The email's subject, text and html, its recipient and link, and what to do to send it; a locked one says where you answer whether it went, and one whose text was deleted after 30 days says so.

                                Errors
                                • not_found: no such email, or it expired
                                lnkdrp_delete_email_renderDelete a rendered email and its preview page, after you confirm; the link stays.asks firstwrite
                                Inputs
                                • renderId
                                Returns

                                What was deleted.

                                Errors
                                • not_found: no such email
                                • needs_person: a locked email only you can resolve in the app
                                lnkdrp_mark_email_sentRecord that a rendered email went out through the agent's own mail tool or by hand.write
                                Inputs
                                • renderId
                                • sentAt: optional; now or a date-time
                                • via: optional; agent_gmail or manual
                                Returns

                                The email, marked sent, and the recipient's link marked sent by email.

                                Errors
                                • not_found: no such email
                                • needs_person: a locked email only you can resolve in the app
                                Worth knowing

                                Already marked sent: nothing changes.

                                lnkdrp_send_emailSend a rendered email from the Gmail account you connected to LinkDrop.write
                                Inputs
                                • renderId
                                Returns

                                sent, with the Gmail message id; the email and the recipient's link are marked sent.

                                Errors
                                • gmail_not_connected: connect Gmail on Integrations
                                • gmail_not_configured: this server has no Gmail sending
                                • validation: missing tags, the link is off, already sent, a send in progress, or the email changed since it was shown
                                • needs_person: a locked email only you can resolve in the app
                                • rate_limited: 50 Gmail sends per person per day
                                Worth knowing

                                Asks you every time before it sends, naming the recipient and the subject; it can never be set to Always allow. It goes out from your own Gmail, never a teammate's, to the contact the email was generated for, at most 50 a day. Disconnect Gmail on Integrations to stop it.

                                lnkdrp_dry_run_emailSend dry-run copies of rendered emails from your connected Gmail: to yourself, or to the people on a dry-run list.write
                                Inputs
                                • renderIds: 1 to 100
                                • to: me or recipients
                                • bandText: optional; the band for this dry run
                                Returns

                                One copy sent at once, or more queued one at a time a second or two apart with a batchId; skipped lists any email left out with its code.

                                Errors
                                • not_dry_run_list: to recipients only when every recipient is on a dry-run list
                                • dry_run_daily_limit: 25 dry runs per person per day, queued ones included
                                • plan_limit: dry runs are on Pro and up
                                • gmail_not_connected: connect Gmail on Integrations
                                Worth knowing

                                Every copy is marked: [Dry run] in the subject and a band at the top. Nothing is marked sent. Copies to you carry the real link password for a workspace owner or admin, [password] for a member; dry runs count toward the 50 Gmail sends a day. Its links are preview links: opening one is never counted as anyone's open.

                                lnkdrp_list_campaignsList the workspace's drops (campaigns in the API) you can see: active, sent or archived.read
                                Inputs
                                • state: optional; active (default), sent or archived
                                • visibility: optional; all, team or private
                                • projectId: optional
                                • labels: optional; 1 to 20 tag names, any of them
                                • page, limit: optional
                                Returns

                                Each drop's template, lists, target, owner, state and counts (waiting, sent, needs you, failed), and how many each tab holds.

                                Errors
                                • validation: a bad state, visibility or projectId
                                Worth knowing

                                Another person's private drop is never listed. Reading drops works on every plan.

                                lnkdrp_list_dropsList the workspace's drops (campaigns in the API) you can see: active, sent or archived. The same tool as lnkdrp_list_campaigns.read
                                Inputs
                                • state: optional; active (default), sent or archived
                                • visibility: optional; all, team or private
                                • projectId: optional
                                • labels: optional; 1 to 20 tag names, any of them
                                • page, limit: optional
                                Returns

                                Each drop's template, lists, target, owner, state and counts (waiting, sent, needs you, failed), and how many each tab holds.

                                Errors
                                • validation: a bad state, visibility or projectId
                                Worth knowing

                                Another person's private drop is never listed. Reading drops works on every plan.

                                lnkdrp_get_campaignRead one drop, by id or exact name, with a page of its people and each one's status.read
                                Inputs
                                • campaignId or name: exactly one
                                • page, limit: optional; people per page
                                Returns

                                The drop, what you may do with it, and its people: ready before Send, then waiting, sending, sent, needs you or failed with the reason and, when it was stored, the cause (sendError: its words and technical line; code render means LinkDrop could not build the email, so Gmail was never asked).

                                Errors
                                • not_found: no such drop
                                • campaign_ambiguous: more than one drop has that name
                                Worth knowing

                                A person marked needs you comes with the page where you say whether Gmail sent it; only you can, in LinkDrop.

                                lnkdrp_get_dropRead one drop, by id or exact name, with a page of its people and each one's status. The same tool as lnkdrp_get_campaign.read
                                Inputs
                                • campaignId or name: exactly one
                                • page, limit: optional; people per page
                                Returns

                                The drop, what you may do with it, and its people: ready before Send, then waiting, sending, sent, needs you or failed with the reason and, when it was stored, the cause (sendError: its words and technical line; code render means LinkDrop could not build the email, so Gmail was never asked).

                                Errors
                                • not_found: no such drop
                                • campaign_ambiguous: more than one drop has that name
                                Worth knowing

                                A person marked needs you comes with the page where you say whether Gmail sent it; only you can, in LinkDrop.

                                lnkdrp_create_campaignCreate a drop: one email template for the people on your contact lists, each with their own link to a document or project.write
                                Inputs
                                • name
                                • description: optional
                                • templateId
                                • listIds: 1 to 20
                                • docId or projectId: exactly one
                                • visibility: optional; private (default) or team
                                • projectIds: optional; the projects it is filed under
                                • type: optional; individual (default), each person their own email, or group, one email with everyone in To; it can't be changed later
                                Returns

                                The new drop. Nothing is sent.

                                Errors
                                • plan_limit: drops are on Pro and up
                                • template_archived: unarchive the template first
                                • campaigns_limit: the workspace is at its plan's drop cap, archived drops not counted (whoami outreachLimits); archive one to make room
                                • not_found: a template, list, document or project you cannot see
                                Worth knowing

                                You are its owner and its sender, from your own Gmail. A private list or template keeps the drop private.

                                lnkdrp_create_dropCreate a drop: one email template for the people on your contact lists, each with their own link to a document or project. The same tool as lnkdrp_create_campaign.write
                                Inputs
                                • name
                                • description: optional
                                • templateId
                                • listIds: 1 to 20
                                • docId or projectId: exactly one
                                • visibility: optional; private (default) or team
                                • projectIds: optional; the projects it is filed under
                                • type: optional; individual (default), each person their own email, or group, one email with everyone in To; it can't be changed later
                                Returns

                                The new drop. Nothing is sent.

                                Errors
                                • plan_limit: drops are on Pro and up
                                • template_archived: unarchive the template first
                                • campaigns_limit: the workspace is at its plan's drop cap, archived drops not counted (whoami outreachLimits); archive one to make room
                                • not_found: a template, list, document or project you cannot see
                                Worth knowing

                                You are its owner and its sender, from your own Gmail. A private list or template keeps the drop private.

                                lnkdrp_update_campaignChange a drop before it is sent: its name, description, template, lists, target, visibility or projects.write
                                Inputs
                                • campaignId
                                • name, description, templateId, listIds, docId or projectId, visibility, projectIds: optional; only the ones given change
                                Returns

                                The drop as saved.

                                Errors
                                • campaign_started: once sent, its people, template and target are frozen
                                • plan_limit: a template, list or target change is on Pro and up
                                • forbidden: a visibility change you may not make
                                • conflict: someone else saved it first
                                lnkdrp_update_dropChange a drop before it is sent: its name, description, template, lists, target, visibility or projects. The same tool as lnkdrp_update_campaign.write
                                Inputs
                                • campaignId
                                • name, description, templateId, listIds, docId or projectId, visibility, projectIds: optional; only the ones given change
                                Returns

                                The drop as saved.

                                Errors
                                • campaign_started: once sent, its people, template and target are frozen
                                • plan_limit: a template, list or target change is on Pro and up
                                • forbidden: a visibility change you may not make
                                • conflict: someone else saved it first
                                lnkdrp_send_campaignSend a drop from your own Gmail to the people picked for it and everyone on its lists, each with their own link.write
                                Inputs
                                • campaignId
                                Returns

                                Queued: how many emails, and how many go now and how many wait for the daily Gmail limit.

                                Errors
                                • plan_limit: drops are on Pro and up; past 100 people, split the list
                                • campaign_changed: the people or the template version changed since you said yes; it asks again
                                • campaign_empty: nobody is on its lists
                                • project_links_need_admin: a project drop whose people have no project link yet
                                • gmail_not_connected: connect Gmail on Integrations
                                Worth knowing

                                Asks you every time, naming how many people, the template version and your Gmail; it can never be set to Always allow. Up to 100 people, one at a time a second or two apart. A group email is one email to everyone, at most 50 addresses: the question names everyone and their addresses, says everyone sees everyone's address, and says everyone gets the same link, so you can't tell who opened it.

                                lnkdrp_send_dropSend a drop from your own Gmail to the people picked for it and everyone on its lists, each with their own link. Where personal emails are on, send only the people you name, everyone ready, or everyone not sent. The same tool as lnkdrp_send_campaign.write
                                Inputs
                                • campaignId
                                • contactIds, ready or allNotSent: optional; who goes, where personal emails are on
                                Returns

                                Queued: how many emails, and how many go now and how many wait for the daily Gmail limit.

                                Errors
                                • plan_limit: drops are on Pro and up; past 100 people, split the list
                                • campaign_changed: the people or the template version changed since you said yes; it asks again
                                • campaign_empty: nobody is on its lists
                                • project_links_need_admin: a project drop whose people have no project link yet
                                • gmail_not_connected: connect Gmail on Integrations
                                Worth knowing

                                Asks you every time, naming how many people, the template version and your Gmail; it can never be set to Always allow. Up to 100 people, one at a time a second or two apart. A group email is one email to everyone, at most 50 addresses: the question names everyone and their addresses, says everyone sees everyone's address, and says everyone gets the same link, so you can't tell who opened it.

                                lnkdrp_personalize_drop_emailsWrite a personal note (or other custom tags) for one to 100 people of a drop, and mark their emails ready. Nothing is sent.write
                                Inputs
                                • campaignId, or templateId with listId: optional; without campaignId it uses your one open drop of that template and list, or makes one
                                • people: 1 to 100; each a contactId or email, with note, values and ready
                                • values: a group email's one set of sections, for everyone, instead of people
                                • type: optional; individual or group, for the drop it reuses or makes
                                Returns

                                The drop and its link, whether it was made or reused, the template's custom tags, and each person's state, missing custom tags, page link, email subject and text, and the start of their contact notes, the context for writing to them.

                                Errors
                                • drop_drafts_off: personal emails are not on for this workspace
                                • validation: a section the template does not have; the answer names its sections
                                • ambiguous_drop: two of your open drops fit; name one
                                • person_sent: that person's email was already sent
                                Worth knowing

                                Each person is written on their own. Values are stored as given. Sending is lnkdrp_send_drop, which asks you first every time.

                                lnkdrp_list_drop_emailsList a drop's people with their custom tags and state: not_sent, ready, sent or failed.read
                                Inputs
                                • campaignId
                                • status: optional; all, not_sent, ready, missing, left, going, sent or failed
                                • q, page: optional
                                Returns

                                A page of people, the counts, the template's custom tags and version.

                                Errors
                                • drop_drafts_off: personal emails are not on for this workspace
                                • not_found: no such drop
                                lnkdrp_get_drop_emailRead one person's email in a drop: their custom tags, the subject and text it would go with now, and a private preview link.read
                                Inputs
                                • campaignId
                                • contactId or email
                                • previewTtl: optional; 1h, 1d or 7d makes a private preview link
                                Returns

                                The person, each section with its value, the subject and text, the template version, Ready and sent times, and the page and preview links.

                                Errors
                                • drop_drafts_off: personal emails are not on for this workspace
                                • not_found: not on that drop
                                Worth knowing

                                The preview link shows the email with a sample link, not the person's own.

                                lnkdrp_update_drop_emailChange one person's custom tags or Ready mark in a drop, or revoke their preview links.write
                                Inputs
                                • campaignId
                                • contactId
                                • note, values: optional; null clears a section
                                • ready: optional
                                • revokePreviewLinks: optional
                                Returns

                                The person, and the subject and text their email would go with now.

                                Errors
                                • person_sent: their email was already sent
                                • missing_sections: a required section is empty
                                • drop_drafts_off: personal emails are not on for this workspace
                                Worth knowing

                                A change of text takes the Ready mark off.

                                lnkdrp_add_drop_peopleAdd people to a drop, also after it sent: contacts, addresses, or everyone who read a document. Nobody is sent.write
                                Inputs
                                • campaignId
                                • contactIds, emails: optional
                                • readersOf: optional; a docId or projectId
                                Returns

                                Who was added, who was already on it, and who was skipped and why.

                                Errors
                                • drop_closed: reopen it first
                                • campaign_people: past 100 people nobody is added
                                • drop_drafts_off: personal emails are not on for this workspace
                                Worth knowing

                                Someone the drop already emailed is not added again. Someone added after a group email went gets it alone when you send them, with their own first name; nobody else is emailed again.

                                lnkdrp_remove_drop_peopleTake people still Not sent off a drop, with the custom tags written for them.write
                                Inputs
                                • campaignId
                                • contactIds: 1 to 100
                                Returns

                                Who was removed, and who could not be (already sent).

                                Errors
                                • drop_closed: reopen it first
                                • drop_drafts_off: personal emails are not on for this workspace
                                Worth knowing

                                Asks you first when custom tags written for someone would be deleted. A list does not bring them back.

                                lnkdrp_close_dropClose a drop so it takes no more people and sends nobody else, or reopen it.write
                                Inputs
                                • campaignId
                                • closed: true or false
                                Returns

                                Whether it changed, when it was closed, and how many are still going out.

                                Errors
                                • campaign_not_started: nothing was sent yet; archive or delete it instead
                                • forbidden: only its owner or a workspace owner or admin
                                Worth knowing

                                People still Not sent stay with their text.

                                lnkdrp_mark_repliedMark a person on a drop as replied, or clear it.write
                                Inputs
                                • campaignId
                                • contactId or email
                                • replied: true or false
                                Returns

                                The person, with when they replied and who marked it.

                                Errors
                                • person_not_sent: only someone whose email went can have replied
                                Worth knowing

                                A replied person is left out of the not-opened reminder. Marking again keeps the first time. Nothing is sent.

                                lnkdrp_how_toAnswer a how-to question about LinkDrop from its help articles and agent recipes.read
                                Inputs
                                • question
                                • topic: optional
                                • limit: optional
                                Returns

                                The matching help sections and recipes, with their help links and the tools they name.

                                Errors
                                  Worth knowing

                                  Read-only.

                                  lnkdrp_check_repliesCheck your Gmail threads for this drop now and record any new reply on the person.write
                                  Inputs
                                  • campaignId
                                  Returns

                                  How many threads were read, how many new replies were recorded, and those replies.

                                  Errors
                                  • gmail_replies_permission: allow LinkDrop to know when someone replies (connectUrl)
                                  • gmail_not_available: not available for this account
                                  • replies_off: reply detection is off
                                  • forbidden: only the drop's sender
                                  Worth knowing

                                  Needs "Let LinkDrop know when someone replies" on the sender's Google connection. Nothing is sent.

                                  lnkdrp_list_repliesList the replies found for a drop, each with its Action items and a suggested response.read
                                  Inputs
                                  • campaignId
                                  • page, limit: optional (at most 50)
                                  Returns

                                  Each reply: who wrote, when, the snippet (the full text for the sender only), its Action items (changes and questions about the document), a one-line note when it is not about the document, its mood with a one-line reason, and the suggested response.

                                  Errors
                                  • not_found: a drop you cannot see
                                  Worth knowing

                                  Read-only.

                                  lnkdrp_get_threadRead a drop's thread: each person's messages, the replies with their responses, and the Action items with their status and who raised them.read
                                  Inputs
                                  • campaignId: the first drop or one of its reply drops
                                  • person, before, limit: optional
                                  Returns

                                  The thread's status (Needs you, In progress, Waiting on them, Handed off, Resolved), heads-up, people, messages, each reply's mood and Action items.

                                  Errors
                                  • not_found: a drop you cannot see
                                  Worth knowing

                                  Read-only. The full reply text is for the mailbox owner and the member the thread was handed to.

                                  lnkdrp_list_threadsList the workspace's threads as the Threads page does, or one person's: each with its status, a running summary and the facts in one shape.read
                                  Inputs
                                  • contactId: one person's threads, their own and the group drops they are on
                                  • query, status, drop, docId, projectId, labels, visibility, type, headsUp, order, page, limit: optional, as the page's filters
                                  Returns

                                  One row per conversation, newest reply first: status, heads-up, mood, counts, open drafts, the summary and the digest, and the thread's page.

                                  Errors
                                  • not_found: a drop, document or project you cannot see
                                  Worth knowing

                                  Read-only. An agent reads a person's threads before writing to them, so someone mid-conversation gets a reply in their thread, not a new email.

                                  lnkdrp_update_threadHand a drop's thread to another member, hand it back, resolve or reopen it, set its status, or add or clear a heads-up.write
                                  Inputs
                                  • campaignId
                                  • action: hand_off, hand_back, resolve, reopen, set_status or heads_up
                                  • toUserId or toEmail, status, flag, reason: as the action needs
                                  Returns

                                  The thread as it is now.

                                  Errors
                                  • thread_not_yours: only whoever has the thread
                                  • thread_handoff_private: only a Team drop can be handed off for now
                                  • not_a_member, member_is_viewer
                                  Worth knowing

                                  Kept in the thread's history. Nothing is sent.

                                  lnkdrp_set_action_itemSet an Action item open, in progress, acted on or discarded; acted on can record the document version that addressed a change, or the answer given to a question.write
                                  Inputs
                                  • campaignId
                                  • itemId
                                  • status
                                  • docId and version, note, answer, expectedStatus: optional
                                  Returns

                                  The item and the thread's status.

                                  Errors
                                  • thread_not_yours: only whoever has the thread
                                  • version_not_found: that version is not published
                                  • item_changed: it moved since you read it
                                  Worth knowing

                                  The item's text never changes. Nothing is sent.

                                  lnkdrp_update_reply_responseSave the suggested response to a reply, recorded as edited by the agent.write
                                  Inputs
                                  • campaignId
                                  • replyId
                                  • text
                                  • expectedAt: optional
                                  Returns

                                  The response and who edited it, when.

                                  Errors
                                  • thread_not_yours: only whoever has the thread
                                  • response_changed: someone saved a newer one
                                  • unknown_document: a token names no document of the thread
                                  • document_not_shareable: a new document you cannot share from the workspace
                                  • too_many_drafts: the thread has 3 drafts waiting; send or discard one first
                                  Worth knowing

                                  Nothing is sent. A document goes in as its token, documents[].token of lnkdrp_get_thread; one not in the thread yet as {{link.doc:<docId>}}, each person getting their own link when it is sent.

                                  lnkdrp_discard_reply_draftDiscard a reply's open draft: it folds away as discarded by the agent, and the thread no longer waits on it.write
                                  Inputs
                                  • campaignId
                                  • replyId
                                  Returns

                                  The reply and when it was discarded, by whom.

                                  Errors
                                  • thread_not_yours: only whoever has the thread
                                  • no_open_draft: none, sent, or discarded already
                                  Worth knowing

                                  Nothing is sent. A response saved on that reply later is a fresh draft.

                                  lnkdrp_redraft_thread_replyWrite a new response to a person from the thread's Action items: acknowledge (working on it) or update (what changed, and the answers).write
                                  Inputs
                                  • campaignId
                                  • contactId
                                  • kind: acknowledge or update
                                  • replyId (optional): the reply to redraft
                                  Returns

                                  The new response, saved on that reply, else on their newest reply.

                                  Errors
                                  • no_reply_from_person: they have not replied
                                  • out_of_credits
                                  Worth knowing

                                  One Standard brief credit. Discarded items are left out. Nothing is sent.

                                  lnkdrp_send_thread_replySend a reply from a drop's thread with your yes: into one person's Gmail thread on an individual drop, or one email to everyone (Reply all) into the group's Gmail thread on a group drop.write
                                  Inputs
                                  • campaignId
                                  • contactId (individual drop; on a group drop optional, picks whose reply)
                                  • kind: reply, acknowledge or update
                                  • text, replyId, itemIds: optional
                                  Returns

                                  Queued, as a drop's Send, with the thread's link.

                                  Errors
                                  • thread_not_yours: only whoever has the thread
                                  • campaign_changed: it changed since you said yes; it asks again
                                  • gmail_not_connected: connect Gmail on Integrations
                                  Worth knowing

                                  Asks every time. An acknowledge marks its items in progress once sent. A document new to the thread gets each person's own link when it is sent.

                                  lnkdrp_catch_up_threadCatch up a drop's thread: read every message of its Gmail conversations, whatever the date, and add any that are missing, each with its AI reading.write
                                  Inputs
                                  • campaignId
                                  Returns

                                  How many replies and replies written from Gmail were added, how many were read by the AI, and why it stopped short, if it did.

                                  Errors
                                  • thread_not_yours: only the drop's owner or whoever has the thread
                                  • replies_off: reply detection is off for its senders
                                  • gmail_failed: Gmail did not answer
                                  Worth knowing

                                  One Standard brief credit per message added, as when it arrives. Nothing is sent.

                                  lnkdrp_dry_run_campaignSend one person's email of a drop to your own Gmail as a dry run.write
                                  Inputs
                                  • campaignId
                                  • contactId: optional; default the first person
                                  Returns

                                  The dry run's result. Nobody on the drop is marked.

                                  Errors
                                  • plan_limit: dry runs are on Pro and up
                                  • dry_run_daily_limit: 25 dry runs per person per day
                                  • gmail_not_connected: connect Gmail on Integrations
                                  Worth knowing

                                  It does not ask first: it goes only to you, marked [Dry run], with the real link password for a workspace owner or admin, [password] for a member. Its links are preview links: opening one is never counted as anyone's open, and each person's own link is made at Send.

                                  lnkdrp_dry_run_dropSend one person's email of a drop to your own Gmail as a dry run. The same tool as lnkdrp_dry_run_campaign.write
                                  Inputs
                                  • campaignId
                                  • contactId: optional; default the first person
                                  Returns

                                  The dry run's result. Nobody on the drop is marked.

                                  Errors
                                  • plan_limit: dry runs are on Pro and up
                                  • dry_run_daily_limit: 25 dry runs per person per day
                                  • gmail_not_connected: connect Gmail on Integrations
                                  Worth knowing

                                  It does not ask first: it goes only to you, marked [Dry run], with the real link password for a workspace owner or admin, [password] for a member. Its links are preview links: opening one is never counted as anyone's open, and each person's own link is made at Send.

                                  lnkdrp_retry_campaign_failedSend a drop's failed emails again, all of them or the people you name.write
                                  Inputs
                                  • campaignId
                                  • memberIds: optional; 1 to 100
                                  Returns

                                  How many went back in line; they go out from the owner's Gmail one at a time.

                                  Errors
                                  • nothing_to_retry: nobody has failed
                                  • campaign_not_started: send it first
                                  • campaign_changed: the number changed since you said yes; it asks again
                                  • gmail_not_connected: connect Gmail on Integrations
                                  Worth knowing

                                  Asks you every time, naming how many emails; it can never be set to Always allow.

                                  lnkdrp_retry_drop_failedSend a drop's failed emails again, all of them or the people you name. The same tool as lnkdrp_retry_campaign_failed.write
                                  Inputs
                                  • campaignId
                                  • memberIds: optional; 1 to 100
                                  Returns

                                  How many went back in line; they go out from the owner's Gmail one at a time.

                                  Errors
                                  • nothing_to_retry: nobody has failed
                                  • campaign_not_started: send it first
                                  • campaign_changed: the number changed since you said yes; it asks again
                                  • gmail_not_connected: connect Gmail on Integrations
                                  Worth knowing

                                  Asks you every time, naming how many emails; it can never be set to Always allow.

                                  lnkdrp_take_over_campaignTake over a drop whose owner left the workspace, so it sends from your Gmail.write
                                  Inputs
                                  • campaignId
                                  Returns

                                  The drop, now yours, and how many people went back in line.

                                  Errors
                                  • forbidden: workspace owners and admins only
                                  • owner_still_member: its owner is still in the workspace
                                  • campaign_changed: it asks again
                                  Worth knowing

                                  Asks you every time; it can never be set to Always allow.

                                  lnkdrp_take_over_dropTake over a drop whose owner left the workspace, so it sends from your Gmail. The same tool as lnkdrp_take_over_campaign.write
                                  Inputs
                                  • campaignId
                                  Returns

                                  The drop, now yours, and how many people went back in line.

                                  Errors
                                  • forbidden: workspace owners and admins only
                                  • owner_still_member: its owner is still in the workspace
                                  • campaign_changed: it asks again
                                  Worth knowing

                                  Asks you every time; it can never be set to Always allow.

                                  lnkdrp_get_sent_emailRead one email as it was sent: who it went to, the subject and body, and every link it carried with its numbers.read
                                  Inputs
                                  • emailSendId
                                  • campaignId: optional; the drop it belongs to
                                  Returns

                                  The send record, from and to, the subject and body while they are kept (30 days), each link's status, target, viewers and downloads, whether the email itself was opened (emailOpened: first, last, times, confidence; null when nothing fetched its tracking image), and what a reply in the same Gmail thread needs when Google's answer was saved.

                                  Errors
                                  • not_found: no such sent email, or it is not that drop's
                                  Worth knowing

                                  A link's password always reads [password].

                                  lnkdrp_list_sent_emailsList every email with a send record that you can see, drop or single, one row per email: its status, whether a link in it was opened, and whether the email itself was. Single emails not sent are left out unless status asks for not_sent.read
                                  Inputs
                                  • opened: optional; true or false (false lists only emails that went)
                                  • emailOpened: optional; true or false (the email itself, from its tracking image; false lists only emails that went)
                                  • status: optional; not_sent, sent, failed, needs_you, sending, waiting, held, comma-separated
                                  • who: optional; all, mine or team
                                  • kind: optional; drop or single
                                  • dropId, templateId, projectId, docId, contactId: optional
                                  • since, until: optional dates
                                  • q: optional; recipient or subject
                                  • sort: optional; newest (default) or last_opened
                                  • page, limit: optional; 30 a page by default
                                  Returns

                                  Each email's recipient, subject, drop, sender, status, whether a link in it was opened, last opened, readers, downloads, emailOpened ({ at, lastAt, count, confidence } or null) and page URL, and the total. counts says the Emails tab's number in its two parts: withSendRecord and notSent.

                                  Errors
                                  • validation: a bad filter or sort
                                  Worth knowing

                                  Opened means a link in the email; emailOpened is the email itself, from a tracking image, so it is approximate (confidence prefetch or proxy means the mail app may have fetched it by itself). The subject is kept for 30 days, and after that for its sender. A row with status not_sent has no emailSendId: open it with lnkdrp_get_email_render.

                                  lnkdrp_archive_campaignArchive a drop, or unarchive it (archived: false).write
                                  Inputs
                                  • campaignId
                                  • archived: optional; true (default) archives, false unarchives
                                  Returns

                                  The drop with its state, and whether anything changed.

                                  Errors
                                  • campaign_sending: it is still sending; there is no Pause
                                  • campaigns_limit: unarchiving at the plan's drop cap (whoami outreachLimits)
                                  • not_found: no such drop
                                  Worth knowing

                                  An archived drop is kept and can still be read; the emails it sent stay sent. An archived drop does not count toward the drop cap, so archiving one makes room.

                                  lnkdrp_archive_dropArchive a drop, or unarchive it (archived: false). The same tool as lnkdrp_archive_campaign.write
                                  Inputs
                                  • campaignId
                                  • archived: optional; true (default) archives, false unarchives
                                  Returns

                                  The drop with its state, and whether anything changed.

                                  Errors
                                  • campaign_sending: it is still sending; there is no Pause
                                  • campaigns_limit: unarchiving at the plan's drop cap (whoami outreachLimits)
                                  • not_found: no such drop
                                  Worth knowing

                                  An archived drop is kept and can still be read; the emails it sent stay sent. An archived drop does not count toward the drop cap, so archiving one makes room.

                                  lnkdrp_duplicate_campaignCopy a drop into a new one before Send: same template, lists, target and projects.write
                                  Inputs
                                  • campaignId
                                  • name: optional; default the original's name with (copy)
                                  • visibility: optional; private (default) or team
                                  • type: optional; individual or group; left out, the same as the original. This is how a drop's type changes
                                  Returns

                                  The new drop and the one it was copied from. Nothing is sent.

                                  Errors
                                  • plan_limit: drops are on Pro and up
                                  • campaigns_limit: the workspace is at its plan's drop cap, archived drops not counted (whoami outreachLimits); archive one to make room
                                  • template_archived: unarchive the template first
                                  • not_found: no such drop
                                  lnkdrp_duplicate_dropCopy a drop into a new one before Send: same template, lists, target and projects. The same tool as lnkdrp_duplicate_campaign.write
                                  Inputs
                                  • campaignId
                                  • name: optional; default the original's name with (copy)
                                  • visibility: optional; private (default) or team
                                  • type: optional; individual or group; left out, the same as the original. This is how a drop's type changes
                                  Returns

                                  The new drop and the one it was copied from. Nothing is sent.

                                  Errors
                                  • plan_limit: drops are on Pro and up
                                  • campaigns_limit: the workspace is at its plan's drop cap, archived drops not counted (whoami outreachLimits); archive one to make room
                                  • template_archived: unarchive the template first
                                  • not_found: no such drop
                                  lnkdrp_delete_campaignDelete a drop, after you confirm. It stays 30 days in Recently deleted.asks firstwrite
                                  Inputs
                                  • campaignId
                                  • confirm: only for clients that cannot show you a prompt
                                  Returns

                                  What was deleted and when it is removed for good.

                                  Errors
                                  • campaign_sending: it is still sending; there is no Pause
                                  • not_found: no such drop
                                  Asks you first

                                  lnkdrp_restore_campaign brings it back within 30 days. The emails it sent stay sent; share links and contacts are not touched.

                                  lnkdrp_delete_dropDelete a drop, after you confirm. It stays 30 days in Recently deleted. The same tool as lnkdrp_delete_campaign.asks firstwrite
                                  Inputs
                                  • campaignId
                                  • confirm: only for clients that cannot show you a prompt
                                  Returns

                                  What was deleted and when it is removed for good.

                                  Errors
                                  • campaign_sending: it is still sending; there is no Pause
                                  • not_found: no such drop
                                  Asks you first

                                  lnkdrp_restore_campaign brings it back within 30 days. The emails it sent stay sent; share links and contacts are not touched.

                                  lnkdrp_restore_campaignBring back a deleted drop within its 30 days.write
                                  Inputs
                                  • campaignId: from lnkdrp_list_deleted (kind campaign)
                                  Returns

                                  ok and notes; it comes back active, sent or archived, as it was.

                                  Errors
                                  • not_found
                                  • purged: past its 30 days
                                  • campaigns_limit: the workspace is at its plan's drop cap, archived drops not counted (whoami outreachLimits); archive one to make room
                                  • conflict: its workspace is deleted
                                  lnkdrp_restore_dropBring back a deleted drop within its 30 days. The same tool as lnkdrp_restore_campaign.write
                                  Inputs
                                  • campaignId: from lnkdrp_list_deleted (kind campaign)
                                  Returns

                                  ok and notes; it comes back active, sent or archived, as it was.

                                  Errors
                                  • not_found
                                  • purged: past its 30 days
                                  • campaigns_limit: the workspace is at its plan's drop cap, archived drops not counted (whoami outreachLimits); archive one to make room
                                  • conflict: its workspace is deleted
                                  lnkdrp_upload_email_assetUpload an image (GIF, PNG, JPEG or WebP) for HTML email templates, from its bytes or an https URL.write
                                  Inputs
                                  • dataBase64 or sourceUrl: exactly one; sourceUrl must be https
                                  • name: optional; the display name and alt text
                                  Returns

                                  The image's id, public URL, type, size and pixel size, and imgTag: a ready <img> to put in an HTML template's body. When LinkDrop made it smaller to fit email, also its original size and a note saying so.

                                  Errors
                                  • validation: neither or both sources, or not https
                                  • image_type_not_allowed: the bytes are not GIF, PNG, JPEG or WebP (never SVG); a PDF or other document carries document: true and says to share it as a link (lnkdrp_share_pdf) instead
                                  • image_too_large: over 25 MB from a sourceUrl or over 5 MB as base64, or it could not be made to fit
                                  • source_unavailable: the URL could not be fetched
                                  • assets_limit: 200 images per workspace
                                  • rate_limited: 60 uploads an hour or 300 a day
                                  • every image refusal says the limit, why and what to do, with details.limits for your plan
                                  Worth knowing

                                  Big images make emails slow to open and more likely to be clipped or land in spam, so each image is kept under 10 MB on every plan: one at or under it is kept exactly as uploaded (over 5 MB the answer's sizeNote says it may load slowly on phones), and a bigger one is made smaller automatically (at most 600px wide), up to 25 MB from a sourceUrl or the upload link's page and 5 MB as base64. One email shows up to 10 images, 20 MB in all; a template saved over that has its images made smaller until it fits. lnkdrp_whoami reports your plan's limits (emailImages). An HTML template can show only images uploaded this way to the same workspace; any other image source is refused when the template is saved. An image you attached in the chat has no public URL and is too long to copy as base64: the agent gives you an upload link instead (lnkdrp_create_email_asset_upload_link).

                                  lnkdrp_create_email_asset_upload_linkA one-time page where you add an email image yourself: the route for an image attached in the chat.write
                                  Inputs
                                  • name: optional, up to 120 characters; the image's name and alt text (without it, the file's name)
                                  • idempotencyKey: optional; the same key returns the same link while it is unused
                                  Returns

                                  uploadLinkId, the url (https://www.lnkdrp.com/u/…), expiresAt, name, status pending, and next: the URL on its own line, then a sentence to pass on to you. lnkdrp_check_upload_link then answers the image with its imgTag.

                                  Errors
                                  • validation: a name that is too long
                                  • forbidden: the connection is read-only, or you are a viewer
                                  • link_used / link_expired: the idempotencyKey's link was already used or has expired; use a new key
                                  • rate_limited: 10 upload links are already waiting for you in this workspace
                                  Worth knowing

                                  The same link as a PDF upload link: it works once, for 60 minutes, only for the LinkDrop account this connection acts as, signed in, in this workspace. You choose a GIF, PNG, JPEG or WebP up to 25 MB on the page, which shows your plan's limits; it is checked and stored exactly as an upload on the Images tab (kept as it is up to 10 MB, made smaller to fit above it), a document is told to go in as a share link instead, and a file that is not an image or is too big leaves the link working, with a note saying the limit and what to do.

                                  lnkdrp_list_email_assetsThe workspace's uploaded email images, newest first, searched and filtered.read
                                  Inputs
                                  • query: optional; the name, file name, type, tags, projects and the templates that show it
                                  • format, madeBy, templateId, used, order, createdFrom/createdTo, updatedFrom/updatedTo: optional filters
                                  • page, limit: optional
                                  Returns

                                  Each image's id, name, file name, URL, type, size, pixel size, imgTag, the templates that use it and, with a query, where it matched.

                                  Errors
                                  • validation: a bad filter or date
                                  lnkdrp_update_email_assetRename an uploaded email image (its alt text too) or file it under projects, so it is easy to find later.write
                                  Inputs
                                  • assetId
                                  • name: optional, 1 to 120 characters
                                  • projectIds: optional, replaces the projects you can see
                                  Returns

                                  The image, and whether anything changed.

                                  Errors
                                  • not_found: no such image, or a project you cannot see
                                  • validation: neither field, or an empty name
                                  Worth knowing

                                  Templates show an image by its address, so a rename changes none of them.

                                  lnkdrp_delete_email_assetDelete an uploaded email image, after you confirm.asks firstwrite
                                  Inputs
                                  • assetId
                                  • confirm: only for clients that cannot show you a prompt
                                  Returns

                                  What was deleted.

                                  Errors
                                  • not_found: no such image
                                  Asks you first

                                  Templates that show it keep their text but the image stops loading, and their next save asks for it to be taken out.

                                  lnkdrp_confirm_actionWhat the buttons on LinkDrop's confirmation card call in ChatGPT: delete or archive once, always allow that function, or cancel. Agents never call it.write
                                  Inputs
                                  • cardToken: held by the card only, never shown to the agent
                                  • decision: once, remember (always allow this function on this connection) or cancel
                                  Returns

                                  Done (with the action's own result) or cancelled.

                                  Errors
                                  • validation: the card's confirmation expired (10 minutes), was already used, or belongs to another connection; nothing changed
                                  Worth knowing

                                  Hidden from the agent in ChatGPT; other clients may list it, but only the card ever holds its token. In ChatGPT a delete or archive shows a LinkDrop card with the preview and three buttons; only a click on the card carries it out, and Cancel is final.

                                  Ready to connect?

                                  Keys are created in your workspace and shown once. One key per agent or machine, up to ten per workspace.

                                  Sign in to create a key

                                  Last updated: October 13, 2026