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
| Parameter | Used by | Description |
|---|---|---|
account_id | Most tools | Firestore account UUID, "all" for every connected account (list tools), or omit for your primary account |
limit | List tools | Per-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.
| Parameter | Type | Default | Description |
|---|---|---|---|
account_id | string | primary | Account UUID or "all" |
folder | string | inbox | Folder id or well-known name |
limit | integer | 25 | Max 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.
| Parameter | Required | Description |
|---|---|---|
message_id | yes | Message id from microsoft_list_emails |
account_id | no | A specific account UUID — not "all". Defaults to your primary Microsoft account |
On top of the fields microsoft_list_emails returns, the response carries:
| Field | Description |
|---|---|
body_text | The plain-text body |
body_html | The HTML body, when the message has one |
cc | Cc recipients |
bcc | Bcc recipients — see the note below |
attachments | One 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).
| Parameter | Type | Default | Description |
|---|---|---|---|
account_id | string | primary | Account UUID or "all" |
start_datetime | string | now | ISO 8601 start |
end_datetime | string | +7 days | ISO 8601 end |
limit | integer | 20 | Max events per account (1–50) |
microsoft_list_contacts
List contacts; optional name/email filter.
| Parameter | Type | Default | Description |
|---|---|---|---|
account_id | string | primary | Account UUID or "all" |
search | string | — | Optional substring filter |
limit | integer | 25 | Max contacts per account (1–50) |
microsoft_list_tasks
List Microsoft To Do tasks.
| Parameter | Type | Default | Description |
|---|---|---|---|
account_id | string | primary | Account UUID or "all" |
list_id | string | all lists | Specific To Do list id |
status | string | notStarted | notStarted | inProgress | completed | all |
limit | integer | 25 | Max 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".
| Parameter | Required | Description |
|---|---|---|
list_id | yes | To Do list id |
title | yes | Task title |
account_id | no | Defaults to primary |
due_date_time | no | ISO 8601 |
importance | no | low | normal | high |
body | no | Notes |
microsoft_complete_task
Mark a task completed.
| Parameter | Required | Description |
|---|---|---|
list_id | yes | To Do list id |
task_id | yes | Task id |
account_id | no | Defaults to primary |
microsoft_list_files
List or search OneDrive items (metadata only).
| Parameter | Type | Default | Description |
|---|---|---|---|
account_id | string | primary Microsoft | Account UUID or "all" |
query | string | — | Optional search string (OneDrive search) |
limit | integer | 25 | Max 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).
| Parameter | Required | Description |
|---|---|---|
file_id | yes | Drive item id from microsoft_list_files |
account_id | yes | Specific 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.
| Parameter | Type | Default | Description |
|---|---|---|---|
account_id | string | primary Google | Account UUID or "all" |
query | string | — | Gmail search query |
limit | integer | 25 | Max 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.
| Parameter | Required | Description |
|---|---|---|
message_id | yes | Message id from google_list_emails |
account_id | no | A specific account UUID — not "all". Defaults to your primary Google account |
On top of the fields google_list_emails returns, the response carries:
| Field | Description |
|---|---|
body_text | The plain-text body |
body_html | The HTML body, when the message has one |
cc | Cc recipients |
bcc | Bcc recipients — see the note below |
attachments | One 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.
| Parameter | Type | Default | Description |
|---|---|---|---|
account_id | string | primary | Account UUID or "all" |
start_datetime | string | now | ISO 8601 |
end_datetime | string | +7 days | ISO 8601 |
limit | integer | 20 | Max events per account (1–50) |
google_list_contacts
| Parameter | Type | Default | Description |
|---|---|---|---|
account_id | string | primary | Account UUID or "all" |
search | string | — | Optional filter |
limit | integer | 25 | Max contacts per account (1–50) |
google_list_tasks
Google Tasks lists and items.
| Parameter | Type | Default | Description |
|---|---|---|---|
account_id | string | primary | Account UUID or "all" |
list_id | string | all lists | Task list id |
status | string | notStarted | Same values as Microsoft |
limit | integer | 25 | Max tasks (1–50) |
google_create_task
| Parameter | Required | Description |
|---|---|---|
list_id | yes | Google Tasks list id |
title | yes | Task title |
account_id | no | Defaults to primary |
due_date_time | no | ISO 8601 |
importance | no | low | normal | high |
body | no | Notes |
google_complete_task
| Parameter | Required | Description |
|---|---|---|
list_id | yes | Task list id |
task_id | yes | Task id |
account_id | no | Defaults to primary |
google_list_files
List or search Google Drive files (metadata only).
| Parameter | Type | Default | Description |
|---|---|---|---|
account_id | string | primary Google | Account UUID or "all" |
query | string | — | Optional name substring filter |
limit | integer | 25 | Max 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.
| Parameter | Required | Description |
|---|---|---|
file_id | yes | File id from google_list_files |
account_id | yes | Specific 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.