Search notes across all accounts
notes.feed.v2
Use when: Find notes across the whole workspace, newest first by when they were written (sort_by=created_at, the default) or by when what they record happened (occurred_at): created_after/created_before, since/occurred_before, by people or agents (author_type, author_id, source such as calendly), on accounts you own (owner=me), by account_ids, tags, campaign_ids, account_types, entity_type, body text (query), @mentions, without replies, or only notes with action items not yet made into tasks (has_unconverted_action_items). group_by=account answers which accounts got notes: one row per account with note counts, last_note_at, last_author_name and note_ids. Up to 100 per page with total; a page is shortened to fit the response, so always follow next_cursor. To make a task from a note yourself, pass source=note, source_ref={note_id, note_revision: revision, item_index} and operation_id=note:<note_id>:r<revision>:<item_index> so a retry never duplicates it.
Avoid when: You want one account's or contact's notes in full; use notes.list.v2 on that entity.
Effects: Read only. Bodies are cut at body_max_chars (default 1,500, less on large pages; 0 omits them); body_truncated says so. Runs no extraction: action_items is filled only for notes already scanned.
Cost: No gateway credit charge; reads saved workspace data without starting paid provider work. Gateway rate code: none; downstream billing may apply.
Access: accounts:read. Approval: operation authorization. Reads do not need an operation UUID.
Keep the same operation and operation_id when retrying identical work. Reconcile an uncertain result before new work; never replay an old V1 write under a new V2 ID.
Check status, execution_state, error_code, output and evidence/resource references. Queued work is not complete: poll jobs.status.get.v2 in domain.workspace.v2. For read-back verification require read_back_verified=true where returned; reconcile failures without creating another object.
Invocation example using fictional fixtures
{
"tool": "domain.tasks.v2",
"arguments": {
"params": {
"action": "invoke",
"operation": "notes.feed.v2",
"arguments": {
"created_after": "2026-08-27T00:00:00Z",
"group_by": "account",
"limit": 100
},
"operation_id": "00000000-0000-4000-8000-000000000003"
}
},
"notice": "Fictional fixture IDs and example text. Resolve real IDs, use returned preview tokens and approve exact side effects before execution. Input validation is not proof of provider readiness or a successful business outcome."
}Input schema: fields, defaults and constraints
{
"additionalProperties": false,
"properties": {
"created_after": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Only notes created at or after this time (UTC).",
"title": "Created After"
},
"created_before": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Only notes created before this time (UTC).",
"title": "Created Before"
},
"since": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Only notes that occurred at or after this time. occurred_at, not created_at.",
"title": "Since"
},
"occurred_before": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Only notes that occurred before this time.",
"title": "Occurred Before"
},
"author_type": {
"anyOf": [
{
"enum": [
"user",
"agent"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "user: written by a person. agent: written by an agent or a sync (e.g. Calendly).",
"title": "Author Type"
},
"author_id": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "A person's user id, or an agent note's author_id.",
"title": "Author Id"
},
"source": {
"anyOf": [
{
"maxLength": 32,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Where the note came from, e.g. web, mcp, calendly.",
"title": "Source"
},
"owner": {
"anyOf": [
{
"maxLength": 36,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The account owner: 'me' or a user id.",
"title": "Owner"
},
"entity_type": {
"anyOf": [
{
"enum": [
"account",
"contact"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Only notes written on accounts, or only on contacts. Default: both.",
"title": "Entity Type"
},
"account_ids": {
"default": [],
"description": "Only notes on these accounts or their contacts.",
"items": {
"format": "uuid",
"type": "string"
},
"maxItems": 100,
"title": "Account Ids",
"type": "array"
},
"tags": {
"default": [],
"description": "Only notes on accounts carrying these account tags, matched case-insensitively. See tags_match.",
"items": {
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"maxItems": 10,
"title": "Tags",
"type": "array"
},
"tags_match": {
"default": "any",
"description": "any: an account with at least one of tags. all: every one of them.",
"enum": [
"any",
"all"
],
"title": "Tags Match",
"type": "string"
},
"campaign_ids": {
"default": [],
"description": "Only notes on accounts in any of these campaigns (archived included).",
"items": {
"format": "uuid",
"type": "string"
},
"maxItems": 50,
"title": "Campaign Ids",
"type": "array"
},
"account_types": {
"default": [],
"description": "Only notes on these account types.",
"items": {
"type": "string"
},
"maxItems": 20,
"title": "Account Types",
"type": "array"
},
"query": {
"anyOf": [
{
"maxLength": 200,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Text the body contains, case-insensitive.",
"title": "Query"
},
"mentions_user_id": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Only notes that @mention this user.",
"title": "Mentions User Id"
},
"include_replies": {
"default": true,
"description": "false leaves out notes that answer another note.",
"title": "Include Replies",
"type": "boolean"
},
"has_unconverted_action_items": {
"default": false,
"description": "Only notes whose latest scan lists action items no task was made from yet.",
"title": "Has Unconverted Action Items",
"type": "boolean"
},
"sort_by": {
"default": "created_at",
"description": "Newest first by when the note was written (created_at) or when what it records happened.",
"enum": [
"created_at",
"occurred_at"
],
"title": "Sort By",
"type": "string"
},
"group_by": {
"anyOf": [
{
"const": "account",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "account: one row per account (contact notes roll up to it) with note counts, last_note_at and note_ids, instead of the notes. Not with has_unconverted_action_items.",
"title": "Group By"
},
"body_max_chars": {
"anyOf": [
{
"maximum": 4000,
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Cut each body at this many characters (body_truncated says so); 0 returns no bodies. Default: 1,500, less on a large page so the page stays readable.",
"title": "Body Max Chars"
},
"cursor": {
"anyOf": [
{
"maxLength": 200,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "next_cursor from the previous page.",
"title": "Cursor"
},
"limit": {
"default": 10,
"description": "Maximum number of records to return in this page.",
"maximum": 100,
"minimum": 1,
"title": "Limit",
"type": "integer"
}
},
"title": "McpNotesFeedInputV2",
"type": "object"
}Output schema inside the result envelope
{
"$defs": {
"NoteActionItemsV2": {
"additionalProperties": false,
"properties": {
"scanned": {
"default": false,
"title": "Scanned",
"type": "boolean"
},
"count": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Count"
},
"converted": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Converted"
}
},
"title": "NoteActionItemsV2",
"type": "object"
},
"NoteFeedAccountGroupV2": {
"additionalProperties": false,
"properties": {
"account_id": {
"title": "Account Id",
"type": "string"
},
"account_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Account Name"
},
"account_domain": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Account Domain"
},
"owner_user_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Owner User Id"
},
"note_count": {
"title": "Note Count",
"type": "integer"
},
"user_note_count": {
"default": 0,
"title": "User Note Count",
"type": "integer"
},
"agent_note_count": {
"default": 0,
"title": "Agent Note Count",
"type": "integer"
},
"last_note_at": {
"description": "The newest matching note, by the request's sort_by.",
"format": "date-time",
"title": "Last Note At",
"type": "string"
},
"last_author_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Last Author Name"
},
"note_ids": {
"default": [],
"description": "The newest matching notes; note_count says how many.",
"items": {
"type": "string"
},
"title": "Note Ids",
"type": "array"
},
"web_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Web Url"
}
},
"required": [
"account_id",
"note_count",
"last_note_at"
],
"title": "NoteFeedAccountGroupV2",
"type": "object"
},
"NoteFeedItemV2": {
"additionalProperties": false,
"properties": {
"note_id": {
"title": "Note Id",
"type": "string"
},
"entity_type": {
"enum": [
"account",
"contact"
],
"title": "Entity Type",
"type": "string"
},
"entity_id": {
"title": "Entity Id",
"type": "string"
},
"account_id": {
"title": "Account Id",
"type": "string"
},
"account_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Account Name"
},
"account_domain": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Account Domain"
},
"owner_user_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The account owner.",
"title": "Owner User Id"
},
"entity_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Entity Name"
},
"body": {
"title": "Body",
"type": "string"
},
"body_truncated": {
"default": false,
"title": "Body Truncated",
"type": "boolean"
},
"author_type": {
"title": "Author Type",
"type": "string"
},
"author_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The person's user id; for an agent note, the agent run that wrote it.",
"title": "Author Id"
},
"author_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Author Name"
},
"on_behalf_of_user_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "For an agent note, the user it acted for.",
"title": "On Behalf Of User Id"
},
"source": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Where the note came from, e.g. web, mcp, calendly.",
"title": "Source"
},
"created_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Created At"
},
"occurred_at": {
"format": "date-time",
"title": "Occurred At",
"type": "string"
},
"revision": {
"description": "Pass as source_ref.note_revision on a task made from this note.",
"title": "Revision",
"type": "integer"
},
"in_reply_to_note_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "In Reply To Note Id"
},
"thread_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The note at the top of this reply chain (itself when it answers nothing).",
"title": "Thread Id"
},
"mentions": {
"default": [],
"items": {
"type": "string"
},
"title": "Mentions",
"type": "array"
},
"action_items": {
"$ref": "#/$defs/NoteActionItemsV2"
},
"web_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Web Url"
}
},
"required": [
"note_id",
"entity_type",
"entity_id",
"account_id",
"body",
"author_type",
"occurred_at",
"revision",
"action_items"
],
"title": "NoteFeedItemV2",
"type": "object"
}
},
"additionalProperties": false,
"properties": {
"notes": {
"default": [],
"items": {
"$ref": "#/$defs/NoteFeedItemV2"
},
"title": "Notes",
"type": "array"
},
"accounts": {
"default": [],
"description": "Filled with group_by=account.",
"items": {
"$ref": "#/$defs/NoteFeedAccountGroupV2"
},
"title": "Accounts",
"type": "array"
},
"total": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Notes (or accounts, grouped) matching the filters; null with has_unconverted_action_items.",
"title": "Total"
},
"next_cursor": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Next Cursor"
}
},
"title": "NotesFeedResultV2",
"type": "object"
}