Conflu Docs

Tools reference

All microsoft_* and google_* MCP tools, parameters, and multi-account responses.

Tools reference

Conflu implements MCP tools/call over POST https://mcp.conflu.xyz/v1. Tool names are prefixed by provider: microsoft_* and google_*.

Common parameters

ParameterUsed byDescription
account_idMost toolsFirestore account UUID, "all" for every connected account (list tools), or omit for your primary account
limitList toolsPer-account or total cap (1–50 depending on tool)

Write tools (*_create_task, *_complete_task) require a single account — not "all".

Multi-account list responses

When account_id is "all" (or multiple accounts are queried), list tools merge results and add:

{
  "emails": [ … ],
  "accounts_queried": 3,
  "accounts_skipped": 1,
  "errors": [
    {
      "account_id": "6324d63c-…",
      "email": "user@client.com",
      "code": "ACCOUNT_DISCONNECTED",
      "message": "Microsoft refresh token is invalid or revoked; reconnect this account in the Conflu dashboard."
    }
  ]
}
  • accounts_queried — always present on successful list responses that fan out to accounts.
  • accounts_skipped — present when at least one account was skipped (for example disconnected).
  • errors — per-account failures. Other accounts' data is still returned.

The call fails (Conflu error JSON) only when every targeted account fails — same as a single-account failure.

Disconnected accounts are not queried; they are listed in errors with ACCOUNT_DISCONNECTED.


Microsoft 365

microsoft_list_emails

List recent messages from a mail folder: sender, recipients, subject, dates, flags, whether the message has attachments, and a short preview. No message body — use microsoft_read_email for that.

ParameterTypeDefaultDescription
account_idstringprimaryAccount UUID or "all"
folderstringinboxFolder id or well-known name
limitinteger25Max messages per account (1–50)
{
  "name": "microsoft_list_emails",
  "arguments": { "account_id": "all", "folder": "inbox", "limit": 10 }
}

microsoft_read_email

Read one message in full.

ParameterRequiredDescription
message_idyesMessage id from microsoft_list_emails
account_idnoA specific account UUID — not "all". Defaults to your primary Microsoft account

On top of the fields microsoft_list_emails returns, the response carries:

FieldDescription
body_textThe plain-text body
body_htmlThe HTML body, when the message has one
ccCc recipients
bccBcc recipients — see the note below
attachmentsOne entry per attachment: attachment_id, filename, content_type, size_bytes
{
  "name": "microsoft_read_email",
  "arguments": { "account_id": "6324d63c-…", "message_id": "AAMkAD…" }
}

Free truncates bodies at 500 characters. When that happens the response carries truncated: true together with body_text_chars_returned and body_text_total_chars (and the body_html_* equivalents), so an assistant can say it is summarising a fragment rather than the whole message. Pro and Ultra return the body in full.

About bcc. A message you received does not normally carry a Bcc header — Bcc exists on the sender's copy. Conflu returns bcc: [] when the header is absent. That means this mailbox cannot see the Bcc list, not that nobody was Bcc'd; an assistant should not conclude the latter.

Attachments are metadata only. Conflu returns each attachment's name, type and size, never its content, and never downloads the bytes.

microsoft_list_calendar_events

List calendar events (default window: now → +7 days).

ParameterTypeDefaultDescription
account_idstringprimaryAccount UUID or "all"
start_datetimestringnowISO 8601 start
end_datetimestring+7 daysISO 8601 end
limitinteger20Max events per account (1–50)

microsoft_list_contacts

List contacts; optional name/email filter.

ParameterTypeDefaultDescription
account_idstringprimaryAccount UUID or "all"
searchstring—Optional substring filter
limitinteger25Max contacts per account (1–50)

microsoft_list_tasks

List Microsoft To Do tasks.

ParameterTypeDefaultDescription
account_idstringprimaryAccount UUID or "all"
list_idstringall listsSpecific To Do list id
statusstringnotStartednotStarted | inProgress | completed | all
limitinteger25Max tasks total (1–50)

Call without list_id first to discover list ids and names.

microsoft_create_task

Create a task in a specific list. Cannot use account_id: "all".

ParameterRequiredDescription
list_idyesTo Do list id
titleyesTask title
account_idnoDefaults to primary
due_date_timenoISO 8601
importancenolow | normal | high
bodynoNotes

microsoft_complete_task

Mark a task completed.

ParameterRequiredDescription
list_idyesTo Do list id
task_idyesTask id
account_idnoDefaults to primary

microsoft_list_files

List or search OneDrive items (metadata only).

ParameterTypeDefaultDescription
account_idstringprimary MicrosoftAccount UUID or "all"
querystring—Optional search string (OneDrive search)
limitinteger25Max items per account (1–50)

Each item includes name, path, size, mime_type, modified_at, web_url, and file_id.

Accounts connected before file access was added return INSUFFICIENT_SCOPES for that account (partial results when using "all").

microsoft_read_file

Return text content for one OneDrive file (or metadata when the type is not extractable).

ParameterRequiredDescription
file_idyesDrive item id from microsoft_list_files
account_idyesSpecific account UUID (not "all")

Free plan: PLAN_UPGRADE_REQUIRED. Pro: up to 10 MB per file; Ultra: up to 50 MB.

Conflu downloads at most your plan's cap — it never pulls a whole large file to discard most of it. When a file is bigger than the cap, the response carries truncated: true, bytes_returned (what you got) and total_bytes (the file's real size), so an assistant can tell you it is reading a fragment instead of implying it read the whole document.

Binary formats (images, video, archives, PDF) and Office documents are not extracted: the response returns metadata and says why, with web_url to open the file at the provider.


Google Workspace

google_list_emails

List Gmail messages: sender, recipients, subject, dates, labels, whether the message has attachments, and Gmail's short snippet. No message body — use google_read_email for that.

ParameterTypeDefaultDescription
account_idstringprimary GoogleAccount UUID or "all"
querystring—Gmail search query
limitinteger25Max messages per account (1–50)
{
  "name": "google_list_emails",
  "arguments": {
    "account_id": "all",
    "query": "is:unread newer_than:7d",
    "limit": 15
  }
}

google_read_email

Read one message in full.

ParameterRequiredDescription
message_idyesMessage id from google_list_emails
account_idnoA specific account UUID — not "all". Defaults to your primary Google account

On top of the fields google_list_emails returns, the response carries:

FieldDescription
body_textThe plain-text body
body_htmlThe HTML body, when the message has one
ccCc recipients
bccBcc recipients — see the note below
attachmentsOne entry per attachment: attachment_id, filename, content_type, size_bytes
{
  "name": "google_read_email",
  "arguments": { "account_id": "6324d63c-…", "message_id": "AAMkAD…" }
}

Free truncates bodies at 500 characters. When that happens the response carries truncated: true together with body_text_chars_returned and body_text_total_chars (and the body_html_* equivalents), so an assistant can say it is summarising a fragment rather than the whole message. Pro and Ultra return the body in full.

About bcc. A message you received does not normally carry a Bcc header — Bcc exists on the sender's copy. Conflu returns bcc: [] when the header is absent. That means this mailbox cannot see the Bcc list, not that nobody was Bcc'd; an assistant should not conclude the latter.

Attachments are metadata only. Conflu returns each attachment's name, type and size, never its content, and never downloads the bytes.

google_list_calendar_events

Same date/limit behaviour as Microsoft calendar tool.

ParameterTypeDefaultDescription
account_idstringprimaryAccount UUID or "all"
start_datetimestringnowISO 8601
end_datetimestring+7 daysISO 8601
limitinteger20Max events per account (1–50)

google_list_contacts

ParameterTypeDefaultDescription
account_idstringprimaryAccount UUID or "all"
searchstring—Optional filter
limitinteger25Max contacts per account (1–50)

google_list_tasks

Google Tasks lists and items.

ParameterTypeDefaultDescription
account_idstringprimaryAccount UUID or "all"
list_idstringall listsTask list id
statusstringnotStartedSame values as Microsoft
limitinteger25Max tasks (1–50)

google_create_task

ParameterRequiredDescription
list_idyesGoogle Tasks list id
titleyesTask title
account_idnoDefaults to primary
due_date_timenoISO 8601
importancenolow | normal | high
bodynoNotes

google_complete_task

ParameterRequiredDescription
list_idyesTask list id
task_idyesTask id
account_idnoDefaults to primary

google_list_files

List or search Google Drive files (metadata only).

ParameterTypeDefaultDescription
account_idstringprimary GoogleAccount UUID or "all"
querystring—Optional name substring filter
limitinteger25Max files per account (1–50)

Same item fields as Microsoft. Missing drive.readonly scope → INSUFFICIENT_SCOPES with reconnect guidance.

google_read_file

Read one Drive file as text when supported.

ParameterRequiredDescription
file_idyesFile id from google_list_files
account_idyesSpecific account UUID (not "all")

Same plan limits and truncation behaviour as microsoft_read_file.


Errors

Failed tools return JSON-RPC 200 with an MCP result where isError: true and the text body is a Conflu error object:

{
  "error": {
    "code": "QUOTA_EXCEEDED_REQUESTS",
    "message": "Monthly MCP request quota exceeded.",
    "request_id": "…"
  }
}

Common codes: UNAUTHORIZED, QUOTA_EXCEEDED_REQUESTS, QUOTA_EXCEEDED_EGRESS, PLAN_UPGRADE_REQUIRED, ACCOUNT_DISCONNECTED, ACCOUNT_NOT_FOUND, PROVIDER_ERROR, RATE_LIMITED_BY_PROVIDER, INSUFFICIENT_SCOPES, INVALID_PARAMETERS, TOOL_NOT_FOUND.

See Troubleshooting for what to do next.

On this page