Now talk to Hivekind in Claude or ChatGPT. Your priority accounts, GTM context, right where you work.

Tasks

domain.tasks.v2

Executors take work from tasks.queue.get.v2 (claim=true claims the first task) and keep the claim_id for every write; renew the lease with tasks.claim.v2 before it ends. Escalate what needs a person's decision, release what you cannot finish, and complete only when every done_when condition is met, with evidence. Agents creating tasks pass the decision behind them. To turn meeting notes into tasks, find notes with notes.feed.v2, read candidates with tasks.propose.v2 (it creates nothing), settle ambiguous owners, then commit the chosen ones with tasks.create.batch.v2.

Notes across all accounts

notes.feed.v2

Use when: Find notes across the whole workspace, newest first: since a date, by people or agents, on accounts you own (owner=me), or only notes with action items not yet made into tasks (has_unconverted_action_items).

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 1,500 characters.

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": {
        "has_unconverted_action_items": true,
        "owner": "me"
      },
      "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": {
    "since": {
      "anyOf": [
        {
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Only notes that occurred at or after this time.",
      "title": "Since"
    },
    "cursor": {
      "anyOf": [
        {
          "maxLength": 200,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "next_cursor from the previous page.",
      "title": "Cursor"
    },
    "author_type": {
      "anyOf": [
        {
          "enum": [
            "user",
            "agent"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Author type used by the notes feed input v2 operation.",
      "title": "Author Type"
    },
    "owner": {
      "anyOf": [
        {
          "maxLength": 36,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "The account owner: 'me' or a user id.",
      "title": "Owner"
    },
    "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"
    },
    "limit": {
      "default": 10,
      "description": "Maximum number of records to return in this page.",
      "maximum": 20,
      "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"
    },
    "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"
        },
        "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_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Author Name"
        },
        "occurred_at": {
          "format": "date-time",
          "title": "Occurred At",
          "type": "string"
        },
        "revision": {
          "title": "Revision",
          "type": "integer"
        },
        "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"
    },
    "next_cursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Next Cursor"
    }
  },
  "title": "NotesFeedResultV2",
  "type": "object"
}

Claim a task or renew the lease

tasks.claim.v2

Use when: Take a lease on an open task before working it, or pass your live claim_id to renew the lease before it ends. Keep the claim_id: every write to a claimed task needs it.

Avoid when: Do not claim a task you will not start now; take it from tasks.queue.get.v2 with claim=true instead of listing then claiming.

Effects: Creates or extends a lease (default 30 minutes, at most 24 hours). An expired lease returns the task to the queue; three expiries escalate it to the owner.

Cost: No gateway rate is configured. Check the Core workflow preview/quote for downstream charges and final settlement. Gateway rate code: none; downstream billing may apply.

Access: actions:execute. Approval: exact_scope_single_action. A stable operation UUID is required.

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": "tasks.claim.v2",
      "arguments": {
        "task_id": "00000000-0000-4000-8000-000000000001"
      },
      "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": {
    "action_proposal_id": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Optional. Hivekind fills this from the MCP consent grant.",
      "title": "Action Proposal Id"
    },
    "task_id": {
      "description": "Exact task_id from tasks.queue.get, tasks.list or a prior create.",
      "format": "uuid",
      "title": "Task Id",
      "type": "string"
    },
    "claim_id": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Pass your live claim_id to renew the lease instead of claiming.",
      "title": "Claim Id"
    },
    "ttl_seconds": {
      "anyOf": [
        {
          "maximum": 86400,
          "minimum": 60,
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Lease length; default 30 minutes.",
      "title": "Ttl Seconds"
    }
  },
  "required": [
    "task_id"
  ],
  "title": "McpMcpTasksClaimInputV2",
  "type": "object"
}
Output schema inside the result envelope
{
  "$defs": {
    "TaskSummaryV2": {
      "additionalProperties": false,
      "properties": {
        "task_id": {
          "title": "Task 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"
        },
        "title": {
          "title": "Title",
          "type": "string"
        },
        "type": {
          "title": "Type",
          "type": "string"
        },
        "priority": {
          "title": "Priority",
          "type": "string"
        },
        "objective": {
          "title": "Objective",
          "type": "string"
        },
        "status": {
          "enum": [
            "open",
            "claimed",
            "waiting",
            "escalated",
            "done",
            "cancelled"
          ],
          "title": "Status",
          "type": "string"
        },
        "overdue": {
          "default": false,
          "title": "Overdue",
          "type": "boolean"
        },
        "due_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Due At"
        },
        "owner_user_id": {
          "title": "Owner User Id",
          "type": "string"
        },
        "claim_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Claim Id"
        },
        "claim_expires_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Claim Expires At"
        },
        "escalation_reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Escalation Reason"
        },
        "closed_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Closed At"
        },
        "cancel_reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Cancel Reason"
        },
        "decision_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Decision Id"
        },
        "parent_task_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Parent Task Id"
        },
        "ledger_event_ids": {
          "default": [],
          "items": {
            "type": "string"
          },
          "title": "Ledger Event Ids",
          "type": "array"
        },
        "revision": {
          "title": "Revision",
          "type": "integer"
        },
        "updated_at": {
          "format": "date-time",
          "title": "Updated At",
          "type": "string"
        },
        "entity_web_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Entity Web Url"
        }
      },
      "required": [
        "task_id",
        "entity_type",
        "entity_id",
        "account_id",
        "title",
        "type",
        "priority",
        "objective",
        "status",
        "owner_user_id",
        "revision",
        "updated_at"
      ],
      "title": "TaskSummaryV2",
      "type": "object"
    }
  },
  "additionalProperties": false,
  "properties": {
    "task": {
      "$ref": "#/$defs/TaskSummaryV2"
    },
    "created": {
      "default": false,
      "title": "Created",
      "type": "boolean"
    },
    "deduplicated": {
      "default": false,
      "title": "Deduplicated",
      "type": "boolean"
    },
    "message": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Message"
    }
  },
  "required": [
    "task"
  ],
  "title": "TaskMutationResultV2",
  "type": "object"
}

Complete or cancel a task

tasks.complete.v2

Use when: Close a task as done (every done_when condition must be met: attach evidence_refs, hivekind refs are verified) or cancelled with a cancel_reason. Report learning_results for the task's learnings and an optional completion_note.

Avoid when: Do not close a task you only paused; release it. An unmet condition is refused with the list of what is missing.

Effects: Closes the task and writes its outcome to the decision ledger; cancelling a parent cancels its open children. The completion note is saved on the account or contact.

Cost: No gateway rate is configured. Check the Core workflow preview/quote for downstream charges and final settlement. Gateway rate code: none; downstream billing may apply.

Access: actions:execute. Approval: exact_scope_single_action. A stable operation UUID is required.

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": "tasks.complete.v2",
      "arguments": {
        "completion_note": "Example completion note",
        "if_revision": 1,
        "outcome": "done",
        "task_id": "00000000-0000-4000-8000-000000000001"
      },
      "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
{
  "$defs": {
    "TaskEvidenceRefV2": {
      "additionalProperties": false,
      "properties": {
        "system": {
          "description": "Where the proof lives. Only system=hivekind is verified by the server.",
          "enum": [
            "hivekind",
            "hubspot",
            "salesforce",
            "gmail",
            "outlook",
            "linkedin",
            "apollo",
            "calendar",
            "url",
            "other"
          ],
          "title": "System",
          "type": "string"
        },
        "object_type": {
          "anyOf": [
            {
              "maxLength": 64,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "For hivekind: account, contact, task, note or message. Otherwise the source's own type.",
          "title": "Object Type"
        },
        "external_id": {
          "anyOf": [
            {
              "maxLength": 255,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "The object's id in that system.",
          "title": "External Id"
        },
        "url": {
          "anyOf": [
            {
              "maxLength": 2048,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Url"
        },
        "observed_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Observed At"
        },
        "summary": {
          "anyOf": [
            {
              "maxLength": 1000,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Summary"
        }
      },
      "required": [
        "system"
      ],
      "title": "TaskEvidenceRefV2",
      "type": "object"
    },
    "TaskLearningResultV2": {
      "additionalProperties": false,
      "properties": {
        "learning_id": {
          "description": "One of the task's learning_ids.",
          "format": "uuid",
          "title": "Learning Id",
          "type": "string"
        },
        "result": {
          "enum": [
            "supports",
            "contradicts",
            "inconclusive"
          ],
          "title": "Result",
          "type": "string"
        },
        "note": {
          "anyOf": [
            {
              "maxLength": 2000,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Note"
        }
      },
      "required": [
        "learning_id",
        "result"
      ],
      "title": "TaskLearningResultV2",
      "type": "object"
    }
  },
  "additionalProperties": false,
  "properties": {
    "action_proposal_id": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Optional. Hivekind fills this from the MCP consent grant.",
      "title": "Action Proposal Id"
    },
    "task_id": {
      "description": "Exact task_id from tasks.queue.get, tasks.list or a prior create.",
      "format": "uuid",
      "title": "Task Id",
      "type": "string"
    },
    "if_revision": {
      "description": "The revision you read.",
      "minimum": 1,
      "title": "If Revision",
      "type": "integer"
    },
    "claim_id": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Your live claim_id from tasks.claim or tasks.queue.get(claim=true). Required while you hold the claim.",
      "title": "Claim Id"
    },
    "outcome": {
      "description": "Outcome used by the tasks complete input v2 operation.",
      "enum": [
        "done",
        "cancelled"
      ],
      "title": "Outcome",
      "type": "string"
    },
    "cancel_reason": {
      "anyOf": [
        {
          "enum": [
            "objective_met_elsewhere",
            "duplicate",
            "account_disqualified",
            "contact_left_company",
            "contact_suppressed",
            "opted_out",
            "negative_reply",
            "superseded_by_decision",
            "owner_declined",
            "policy_limit_reached",
            "out_of_scope",
            "other"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Required when outcome is cancelled.",
      "title": "Cancel Reason"
    },
    "cancel_note": {
      "anyOf": [
        {
          "maxLength": 4000,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Cancel note used by the tasks complete input v2 operation.",
      "title": "Cancel Note"
    },
    "evidence_refs": {
      "default": [],
      "description": "Proof for evidence conditions in done_when.",
      "items": {
        "$ref": "#/$defs/TaskEvidenceRefV2"
      },
      "maxItems": 20,
      "title": "Evidence Refs",
      "type": "array"
    },
    "learning_results": {
      "default": [],
      "description": "Learning results used by the tasks complete input v2 operation.",
      "items": {
        "$ref": "#/$defs/TaskLearningResultV2"
      },
      "maxItems": 20,
      "title": "Learning Results",
      "type": "array"
    },
    "completion_note": {
      "anyOf": [
        {
          "maxLength": 1048576,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Markdown note saved on the task's account or contact. The close stands even if the note cannot be saved.",
      "title": "Completion Note"
    }
  },
  "required": [
    "task_id",
    "if_revision",
    "outcome"
  ],
  "title": "McpMcpTasksCompleteInputV2",
  "type": "object"
}
Output schema inside the result envelope
{
  "$defs": {
    "TaskSummaryV2": {
      "additionalProperties": false,
      "properties": {
        "task_id": {
          "title": "Task 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"
        },
        "title": {
          "title": "Title",
          "type": "string"
        },
        "type": {
          "title": "Type",
          "type": "string"
        },
        "priority": {
          "title": "Priority",
          "type": "string"
        },
        "objective": {
          "title": "Objective",
          "type": "string"
        },
        "status": {
          "enum": [
            "open",
            "claimed",
            "waiting",
            "escalated",
            "done",
            "cancelled"
          ],
          "title": "Status",
          "type": "string"
        },
        "overdue": {
          "default": false,
          "title": "Overdue",
          "type": "boolean"
        },
        "due_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Due At"
        },
        "owner_user_id": {
          "title": "Owner User Id",
          "type": "string"
        },
        "claim_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Claim Id"
        },
        "claim_expires_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Claim Expires At"
        },
        "escalation_reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Escalation Reason"
        },
        "closed_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Closed At"
        },
        "cancel_reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Cancel Reason"
        },
        "decision_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Decision Id"
        },
        "parent_task_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Parent Task Id"
        },
        "ledger_event_ids": {
          "default": [],
          "items": {
            "type": "string"
          },
          "title": "Ledger Event Ids",
          "type": "array"
        },
        "revision": {
          "title": "Revision",
          "type": "integer"
        },
        "updated_at": {
          "format": "date-time",
          "title": "Updated At",
          "type": "string"
        },
        "entity_web_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Entity Web Url"
        }
      },
      "required": [
        "task_id",
        "entity_type",
        "entity_id",
        "account_id",
        "title",
        "type",
        "priority",
        "objective",
        "status",
        "owner_user_id",
        "revision",
        "updated_at"
      ],
      "title": "TaskSummaryV2",
      "type": "object"
    }
  },
  "additionalProperties": false,
  "properties": {
    "task": {
      "$ref": "#/$defs/TaskSummaryV2"
    },
    "created": {
      "default": false,
      "title": "Created",
      "type": "boolean"
    },
    "deduplicated": {
      "default": false,
      "title": "Deduplicated",
      "type": "boolean"
    },
    "message": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Message"
    }
  },
  "required": [
    "task"
  ],
  "title": "TaskMutationResultV2",
  "type": "object"
}

Create several tasks at once

tasks.create.batch.v2

Use when: Commit up to 20 tasks under one approval, typically the create payloads tasks.propose.v2 returned (edit the owner first where it was ambiguous). Each item stands alone and reports created, already existing, or its refusal.

Avoid when: One task; use tasks.create.v2.

Effects: Creates the tasks that pass Core's rules (decision required for agents, daily ceiling, 24-hour dedupe). Proposal payloads carry operation_ids, so a retry returns the same tasks.

Cost: No gateway rate is configured. Check the Core workflow preview/quote for downstream charges and final settlement. Gateway rate code: none; downstream billing may apply.

Access: actions:execute. Approval: exact_scope_single_action. A stable operation UUID is required.

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": "tasks.create.batch.v2",
      "arguments": {
        "items": [
          {
            "done_when": [
              {
                "kind": "manual"
              }
            ],
            "entity_id": "00000000-0000-4000-8000-000000000001",
            "entity_type": "account",
            "objective": "Example objective",
            "title": "Example title"
          }
        ]
      },
      "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
{
  "$defs": {
    "TaskCreateFieldsV2": {
      "additionalProperties": false,
      "description": "One task to create: the body of tasks.create, one item of\ntasks.create.batch, and the ``create`` payload tasks.propose returns.",
      "properties": {
        "entity_type": {
          "description": "What the task is on: account or contact.",
          "enum": [
            "account",
            "contact"
          ],
          "title": "Entity Type",
          "type": "string"
        },
        "entity_id": {
          "description": "Exact account_id or contact_id; resolve it with a search first.",
          "format": "uuid",
          "title": "Entity Id",
          "type": "string"
        },
        "title": {
          "maxLength": 200,
          "minLength": 1,
          "title": "Title",
          "type": "string"
        },
        "objective": {
          "maxLength": 500,
          "minLength": 1,
          "title": "Objective",
          "type": "string"
        },
        "done_when": {
          "items": {
            "$ref": "#/$defs/TaskDoneWhenV2"
          },
          "maxItems": 5,
          "minItems": 1,
          "title": "Done When",
          "type": "array"
        },
        "type": {
          "default": "follow_up",
          "description": "follow_up needs due_at.",
          "enum": [
            "follow_up",
            "research",
            "enrich",
            "email",
            "linkedin",
            "call",
            "meeting",
            "page",
            "internal"
          ],
          "title": "Type",
          "type": "string"
        },
        "priority": {
          "default": "normal",
          "enum": [
            "low",
            "normal",
            "high",
            "urgent"
          ],
          "title": "Priority",
          "type": "string"
        },
        "body": {
          "anyOf": [
            {
              "maxLength": 20000,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Body"
        },
        "constraints": {
          "additionalProperties": true,
          "title": "Constraints",
          "type": "object"
        },
        "autonomy_level": {
          "anyOf": [
            {
              "enum": [
                "suggest",
                "act_after_approval",
                "act_and_report"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Autonomy Level"
        },
        "allowed_executors": {
          "default": [],
          "description": "Empty = anyone; else kinds (user, external_agent, hiveloop) or ids.",
          "items": {
            "type": "string"
          },
          "maxItems": 20,
          "title": "Allowed Executors",
          "type": "array"
        },
        "owner_user_id": {
          "anyOf": [
            {
              "format": "uuid",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Defaults to the user you act for.",
          "title": "Owner User Id"
        },
        "waiting_on_contact_id": {
          "anyOf": [
            {
              "format": "uuid",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "A contact who holds it: status waiting.",
          "title": "Waiting On Contact Id"
        },
        "due_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Due At"
        },
        "expires_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Expires At"
        },
        "decision_id": {
          "anyOf": [
            {
              "format": "uuid",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Decision Id"
        },
        "decision": {
          "anyOf": [
            {
              "$ref": "#/$defs/TaskInlineDecisionV2"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Agents give decision or decision_id (children inherit the parent's)."
        },
        "learning_ids": {
          "default": [],
          "items": {
            "format": "uuid",
            "type": "string"
          },
          "maxItems": 20,
          "title": "Learning Ids",
          "type": "array"
        },
        "source": {
          "default": "manual",
          "enum": [
            "manual",
            "note",
            "inbox",
            "meeting",
            "signal",
            "loop",
            "campaign",
            "event",
            "decision"
          ],
          "title": "Source",
          "type": "string"
        },
        "source_ref": {
          "anyOf": [
            {
              "additionalProperties": true,
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Where it came from, e.g. {note_id, item_index} from tasks.propose.",
          "title": "Source Ref"
        },
        "campaign_id": {
          "anyOf": [
            {
              "format": "uuid",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Campaign Id"
        },
        "loop_id": {
          "anyOf": [
            {
              "format": "uuid",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Loop Id"
        },
        "policy_id": {
          "anyOf": [
            {
              "format": "uuid",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Policy Id"
        },
        "parent_task_id": {
          "anyOf": [
            {
              "format": "uuid",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Parent Task Id"
        },
        "parent_claim_id": {
          "anyOf": [
            {
              "format": "uuid",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Parent Claim Id"
        },
        "operation_id": {
          "anyOf": [
            {
              "maxLength": 128,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Idempotency key.",
          "title": "Operation Id"
        }
      },
      "required": [
        "entity_type",
        "entity_id",
        "title",
        "objective",
        "done_when"
      ],
      "title": "TaskCreateFieldsV2",
      "type": "object"
    },
    "TaskDoneWhenV2": {
      "additionalProperties": false,
      "properties": {
        "kind": {
          "description": "manual: a person confirms (or the executor, under act_and_report or after the owner approved). evidence: needs a matching evidence_ref at close; spec {system, object_type, min_count}. event: stored; the owner confirms it in v1.",
          "enum": [
            "manual",
            "evidence",
            "event"
          ],
          "title": "Kind",
          "type": "string"
        },
        "spec": {
          "additionalProperties": true,
          "title": "Spec",
          "type": "object"
        }
      },
      "required": [
        "kind"
      ],
      "title": "TaskDoneWhenV2",
      "type": "object"
    },
    "TaskInlineDecisionV2": {
      "additionalProperties": false,
      "properties": {
        "thesis": {
          "additionalProperties": true,
          "description": "Why this task should exist: rationale and the evidence behind it.",
          "title": "Thesis",
          "type": "object"
        },
        "expected_outcome": {
          "anyOf": [
            {
              "maxLength": 500,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Expected Outcome"
        },
        "horizon_days": {
          "anyOf": [
            {
              "maximum": 365,
              "minimum": 1,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Horizon Days"
        }
      },
      "required": [
        "thesis"
      ],
      "title": "TaskInlineDecisionV2",
      "type": "object"
    }
  },
  "additionalProperties": false,
  "properties": {
    "action_proposal_id": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Optional. Hivekind fills this from the MCP consent grant.",
      "title": "Action Proposal Id"
    },
    "items": {
      "description": "Up to 20 tasks, e.g. the create payloads tasks.propose returned. Each stands alone.",
      "items": {
        "$ref": "#/$defs/TaskCreateFieldsV2"
      },
      "maxItems": 20,
      "minItems": 1,
      "title": "Items",
      "type": "array"
    }
  },
  "required": [
    "items"
  ],
  "title": "McpMcpTasksCreateBatchInputV2",
  "type": "object"
}
Output schema inside the result envelope
{
  "$defs": {
    "TaskBatchItemResultV2": {
      "additionalProperties": false,
      "properties": {
        "index": {
          "title": "Index",
          "type": "integer"
        },
        "task": {
          "anyOf": [
            {
              "$ref": "#/$defs/TaskSummaryV2"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "created": {
          "default": false,
          "title": "Created",
          "type": "boolean"
        },
        "deduplicated": {
          "default": false,
          "title": "Deduplicated",
          "type": "boolean"
        },
        "error": {
          "anyOf": [
            {
              "additionalProperties": true,
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Error"
        }
      },
      "required": [
        "index"
      ],
      "title": "TaskBatchItemResultV2",
      "type": "object"
    },
    "TaskSummaryV2": {
      "additionalProperties": false,
      "properties": {
        "task_id": {
          "title": "Task 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"
        },
        "title": {
          "title": "Title",
          "type": "string"
        },
        "type": {
          "title": "Type",
          "type": "string"
        },
        "priority": {
          "title": "Priority",
          "type": "string"
        },
        "objective": {
          "title": "Objective",
          "type": "string"
        },
        "status": {
          "enum": [
            "open",
            "claimed",
            "waiting",
            "escalated",
            "done",
            "cancelled"
          ],
          "title": "Status",
          "type": "string"
        },
        "overdue": {
          "default": false,
          "title": "Overdue",
          "type": "boolean"
        },
        "due_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Due At"
        },
        "owner_user_id": {
          "title": "Owner User Id",
          "type": "string"
        },
        "claim_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Claim Id"
        },
        "claim_expires_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Claim Expires At"
        },
        "escalation_reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Escalation Reason"
        },
        "closed_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Closed At"
        },
        "cancel_reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Cancel Reason"
        },
        "decision_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Decision Id"
        },
        "parent_task_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Parent Task Id"
        },
        "ledger_event_ids": {
          "default": [],
          "items": {
            "type": "string"
          },
          "title": "Ledger Event Ids",
          "type": "array"
        },
        "revision": {
          "title": "Revision",
          "type": "integer"
        },
        "updated_at": {
          "format": "date-time",
          "title": "Updated At",
          "type": "string"
        },
        "entity_web_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Entity Web Url"
        }
      },
      "required": [
        "task_id",
        "entity_type",
        "entity_id",
        "account_id",
        "title",
        "type",
        "priority",
        "objective",
        "status",
        "owner_user_id",
        "revision",
        "updated_at"
      ],
      "title": "TaskSummaryV2",
      "type": "object"
    }
  },
  "additionalProperties": false,
  "properties": {
    "results": {
      "default": [],
      "items": {
        "$ref": "#/$defs/TaskBatchItemResultV2"
      },
      "title": "Results",
      "type": "array"
    },
    "created_count": {
      "default": 0,
      "title": "Created Count",
      "type": "integer"
    },
    "failed_count": {
      "default": 0,
      "title": "Failed Count",
      "type": "integer"
    }
  },
  "title": "TasksCreateBatchResultV2",
  "type": "object"
}

Add a task

tasks.create.v2

Use when: Record a work order on an exact account or contact: a title, the objective, done_when conditions and constraints. Agents must pass the decision behind it (decision or decision_id); a child (parent_task_id) inherits its parent's. A follow_up needs due_at.

Avoid when: Do not use it to log what already happened (that is notes.create.v2) or to restate an open task; tasks.list.v2 first.

Effects: Creates a task owned by the user you act for and records its decision in the decision ledger. Idempotent on operation_id; an identical recent task is returned instead of duplicated. Agents have a daily ceiling.

Cost: No gateway rate is configured. Check the Core workflow preview/quote for downstream charges and final settlement. Gateway rate code: none; downstream billing may apply.

Access: actions:execute. Approval: exact_scope_single_action. A stable operation UUID is required.

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": "tasks.create.v2",
      "arguments": {
        "done_when": [
          {
            "kind": "manual"
          }
        ],
        "entity_id": "00000000-0000-4000-8000-000000000001",
        "entity_type": "account",
        "objective": "Example objective",
        "title": "Example title"
      },
      "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
{
  "$defs": {
    "TaskDoneWhenV2": {
      "additionalProperties": false,
      "properties": {
        "kind": {
          "description": "manual: a person confirms (or the executor, under act_and_report or after the owner approved). evidence: needs a matching evidence_ref at close; spec {system, object_type, min_count}. event: stored; the owner confirms it in v1.",
          "enum": [
            "manual",
            "evidence",
            "event"
          ],
          "title": "Kind",
          "type": "string"
        },
        "spec": {
          "additionalProperties": true,
          "title": "Spec",
          "type": "object"
        }
      },
      "required": [
        "kind"
      ],
      "title": "TaskDoneWhenV2",
      "type": "object"
    },
    "TaskInlineDecisionV2": {
      "additionalProperties": false,
      "properties": {
        "thesis": {
          "additionalProperties": true,
          "description": "Why this task should exist: rationale and the evidence behind it.",
          "title": "Thesis",
          "type": "object"
        },
        "expected_outcome": {
          "anyOf": [
            {
              "maxLength": 500,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Expected Outcome"
        },
        "horizon_days": {
          "anyOf": [
            {
              "maximum": 365,
              "minimum": 1,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Horizon Days"
        }
      },
      "required": [
        "thesis"
      ],
      "title": "TaskInlineDecisionV2",
      "type": "object"
    }
  },
  "additionalProperties": false,
  "properties": {
    "entity_type": {
      "description": "What the task is on: account or contact.",
      "enum": [
        "account",
        "contact"
      ],
      "title": "Entity Type",
      "type": "string"
    },
    "entity_id": {
      "description": "Exact account_id or contact_id; resolve it with a search first.",
      "format": "uuid",
      "title": "Entity Id",
      "type": "string"
    },
    "title": {
      "description": "Title used by the tasks create input v2 operation.",
      "maxLength": 200,
      "minLength": 1,
      "title": "Title",
      "type": "string"
    },
    "objective": {
      "description": "Plain-language outcome the user wants from this operation.",
      "maxLength": 500,
      "minLength": 1,
      "title": "Objective",
      "type": "string"
    },
    "done_when": {
      "description": "Done when used by the tasks create input v2 operation.",
      "items": {
        "$ref": "#/$defs/TaskDoneWhenV2"
      },
      "maxItems": 5,
      "minItems": 1,
      "title": "Done When",
      "type": "array"
    },
    "type": {
      "default": "follow_up",
      "description": "follow_up needs due_at.",
      "enum": [
        "follow_up",
        "research",
        "enrich",
        "email",
        "linkedin",
        "call",
        "meeting",
        "page",
        "internal"
      ],
      "title": "Type",
      "type": "string"
    },
    "priority": {
      "default": "normal",
      "description": "Priority used by the tasks create input v2 operation.",
      "enum": [
        "low",
        "normal",
        "high",
        "urgent"
      ],
      "title": "Priority",
      "type": "string"
    },
    "body": {
      "anyOf": [
        {
          "maxLength": 20000,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Body used by the tasks create input v2 operation.",
      "title": "Body"
    },
    "constraints": {
      "additionalProperties": true,
      "description": "Constraints used by the tasks create input v2 operation.",
      "title": "Constraints",
      "type": "object"
    },
    "autonomy_level": {
      "anyOf": [
        {
          "enum": [
            "suggest",
            "act_after_approval",
            "act_and_report"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Autonomy level used by the tasks create input v2 operation.",
      "title": "Autonomy Level"
    },
    "allowed_executors": {
      "default": [],
      "description": "Empty = anyone; else kinds (user, external_agent, hiveloop) or ids.",
      "items": {
        "type": "string"
      },
      "maxItems": 20,
      "title": "Allowed Executors",
      "type": "array"
    },
    "owner_user_id": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Defaults to the user you act for.",
      "title": "Owner User Id"
    },
    "waiting_on_contact_id": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "A contact who holds it: status waiting.",
      "title": "Waiting On Contact Id"
    },
    "due_at": {
      "anyOf": [
        {
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Due at timestamp in the format accepted by the schema.",
      "title": "Due At"
    },
    "expires_at": {
      "anyOf": [
        {
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Expires at timestamp in the format accepted by the schema.",
      "title": "Expires At"
    },
    "decision_id": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Exact decision UUID returned by a Hivekind search, list, get, preview, or resource call.",
      "title": "Decision Id"
    },
    "decision": {
      "anyOf": [
        {
          "$ref": "#/$defs/TaskInlineDecisionV2"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Agents give decision or decision_id (children inherit the parent's)."
    },
    "learning_ids": {
      "default": [],
      "description": "Exact learning UUIDs returned by a Hivekind search, list, get, preview, or resource call.",
      "items": {
        "format": "uuid",
        "type": "string"
      },
      "maxItems": 20,
      "title": "Learning Ids",
      "type": "array"
    },
    "source": {
      "default": "manual",
      "description": "Source used by the tasks create input v2 operation.",
      "enum": [
        "manual",
        "note",
        "inbox",
        "meeting",
        "signal",
        "loop",
        "campaign",
        "event",
        "decision"
      ],
      "title": "Source",
      "type": "string"
    },
    "source_ref": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Where it came from, e.g. {note_id, item_index} from tasks.propose.",
      "title": "Source Ref"
    },
    "campaign_id": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Exact campaign UUID returned by a Hivekind search, list, get, preview, or resource call.",
      "title": "Campaign Id"
    },
    "loop_id": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Exact loop UUID returned by a Hivekind search, list, get, preview, or resource call.",
      "title": "Loop Id"
    },
    "policy_id": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Exact policy UUID returned by a Hivekind search, list, get, preview, or resource call.",
      "title": "Policy Id"
    },
    "parent_task_id": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Exact parent task UUID returned by a Hivekind search, list, get, preview, or resource call.",
      "title": "Parent Task Id"
    },
    "parent_claim_id": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Exact parent claim UUID returned by a Hivekind search, list, get, preview, or resource call.",
      "title": "Parent Claim Id"
    },
    "operation_id": {
      "anyOf": [
        {
          "maxLength": 128,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Idempotency key.",
      "title": "Operation Id"
    },
    "action_proposal_id": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Optional. Hivekind fills this from the MCP consent grant.",
      "title": "Action Proposal Id"
    }
  },
  "required": [
    "entity_type",
    "entity_id",
    "title",
    "objective",
    "done_when"
  ],
  "title": "McpMcpTasksCreateInputV2",
  "type": "object"
}
Output schema inside the result envelope
{
  "$defs": {
    "TaskSummaryV2": {
      "additionalProperties": false,
      "properties": {
        "task_id": {
          "title": "Task 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"
        },
        "title": {
          "title": "Title",
          "type": "string"
        },
        "type": {
          "title": "Type",
          "type": "string"
        },
        "priority": {
          "title": "Priority",
          "type": "string"
        },
        "objective": {
          "title": "Objective",
          "type": "string"
        },
        "status": {
          "enum": [
            "open",
            "claimed",
            "waiting",
            "escalated",
            "done",
            "cancelled"
          ],
          "title": "Status",
          "type": "string"
        },
        "overdue": {
          "default": false,
          "title": "Overdue",
          "type": "boolean"
        },
        "due_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Due At"
        },
        "owner_user_id": {
          "title": "Owner User Id",
          "type": "string"
        },
        "claim_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Claim Id"
        },
        "claim_expires_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Claim Expires At"
        },
        "escalation_reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Escalation Reason"
        },
        "closed_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Closed At"
        },
        "cancel_reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Cancel Reason"
        },
        "decision_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Decision Id"
        },
        "parent_task_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Parent Task Id"
        },
        "ledger_event_ids": {
          "default": [],
          "items": {
            "type": "string"
          },
          "title": "Ledger Event Ids",
          "type": "array"
        },
        "revision": {
          "title": "Revision",
          "type": "integer"
        },
        "updated_at": {
          "format": "date-time",
          "title": "Updated At",
          "type": "string"
        },
        "entity_web_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Entity Web Url"
        }
      },
      "required": [
        "task_id",
        "entity_type",
        "entity_id",
        "account_id",
        "title",
        "type",
        "priority",
        "objective",
        "status",
        "owner_user_id",
        "revision",
        "updated_at"
      ],
      "title": "TaskSummaryV2",
      "type": "object"
    }
  },
  "additionalProperties": false,
  "properties": {
    "task": {
      "$ref": "#/$defs/TaskSummaryV2"
    },
    "created": {
      "default": false,
      "title": "Created",
      "type": "boolean"
    },
    "deduplicated": {
      "default": false,
      "title": "Deduplicated",
      "type": "boolean"
    },
    "message": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Message"
    }
  },
  "required": [
    "task"
  ],
  "title": "TaskMutationResultV2",
  "type": "object"
}

Escalate a task to its owner

tasks.escalate.v2

Use when: Ask the owner for something you cannot decide: approval (needs_approval keeps your claim so you can act once approved), missing context, a constraint conflict, an ambiguous outcome or a policy block.

Avoid when: Do not escalate to report progress (use a note) or to give work back (tasks.release.v2).

Effects: Sets the task to escalated and puts it in front of its owner. Releases your claim unless keep_claim or needs_approval.

Cost: No gateway rate is configured. Check the Core workflow preview/quote for downstream charges and final settlement. Gateway rate code: none; downstream billing may apply.

Access: actions:execute. Approval: exact_scope_single_action. A stable operation UUID is required.

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": "tasks.escalate.v2",
      "arguments": {
        "message": "Example message",
        "reason": "needs_approval",
        "task_id": "00000000-0000-4000-8000-000000000001"
      },
      "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": {
    "action_proposal_id": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Optional. Hivekind fills this from the MCP consent grant.",
      "title": "Action Proposal Id"
    },
    "task_id": {
      "description": "Exact task_id from tasks.queue.get, tasks.list or a prior create.",
      "format": "uuid",
      "title": "Task Id",
      "type": "string"
    },
    "claim_id": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Your live claim_id from tasks.claim or tasks.queue.get(claim=true). Required while you hold the claim.",
      "title": "Claim Id"
    },
    "reason": {
      "description": "needs_approval keeps your claim so you can act once approved.",
      "enum": [
        "needs_approval",
        "missing_context",
        "constraint_conflict",
        "ambiguous_outcome",
        "policy_block",
        "other"
      ],
      "title": "Reason",
      "type": "string"
    },
    "message": {
      "description": "What you need from the owner, in one ask.",
      "maxLength": 4000,
      "minLength": 1,
      "title": "Message",
      "type": "string"
    },
    "requested_decision": {
      "anyOf": [
        {
          "enum": [
            "approve_action",
            "change_constraints",
            "reassign",
            "cancel"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Requested decision used by the tasks escalate input v2 operation.",
      "title": "Requested Decision"
    },
    "keep_claim": {
      "default": false,
      "description": "Keep claim used by the tasks escalate input v2 operation.",
      "title": "Keep Claim",
      "type": "boolean"
    }
  },
  "required": [
    "task_id",
    "reason",
    "message"
  ],
  "title": "McpMcpTasksEscalateInputV2",
  "type": "object"
}
Output schema inside the result envelope
{
  "$defs": {
    "TaskSummaryV2": {
      "additionalProperties": false,
      "properties": {
        "task_id": {
          "title": "Task 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"
        },
        "title": {
          "title": "Title",
          "type": "string"
        },
        "type": {
          "title": "Type",
          "type": "string"
        },
        "priority": {
          "title": "Priority",
          "type": "string"
        },
        "objective": {
          "title": "Objective",
          "type": "string"
        },
        "status": {
          "enum": [
            "open",
            "claimed",
            "waiting",
            "escalated",
            "done",
            "cancelled"
          ],
          "title": "Status",
          "type": "string"
        },
        "overdue": {
          "default": false,
          "title": "Overdue",
          "type": "boolean"
        },
        "due_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Due At"
        },
        "owner_user_id": {
          "title": "Owner User Id",
          "type": "string"
        },
        "claim_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Claim Id"
        },
        "claim_expires_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Claim Expires At"
        },
        "escalation_reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Escalation Reason"
        },
        "closed_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Closed At"
        },
        "cancel_reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Cancel Reason"
        },
        "decision_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Decision Id"
        },
        "parent_task_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Parent Task Id"
        },
        "ledger_event_ids": {
          "default": [],
          "items": {
            "type": "string"
          },
          "title": "Ledger Event Ids",
          "type": "array"
        },
        "revision": {
          "title": "Revision",
          "type": "integer"
        },
        "updated_at": {
          "format": "date-time",
          "title": "Updated At",
          "type": "string"
        },
        "entity_web_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Entity Web Url"
        }
      },
      "required": [
        "task_id",
        "entity_type",
        "entity_id",
        "account_id",
        "title",
        "type",
        "priority",
        "objective",
        "status",
        "owner_user_id",
        "revision",
        "updated_at"
      ],
      "title": "TaskSummaryV2",
      "type": "object"
    }
  },
  "additionalProperties": false,
  "properties": {
    "task": {
      "$ref": "#/$defs/TaskSummaryV2"
    },
    "created": {
      "default": false,
      "title": "Created",
      "type": "boolean"
    },
    "deduplicated": {
      "default": false,
      "title": "Deduplicated",
      "type": "boolean"
    },
    "message": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Message"
    }
  },
  "required": [
    "task"
  ],
  "title": "TaskMutationResultV2",
  "type": "object"
}

Get a task

tasks.get.v2

Use when: Read one task with its latest 50 events and a summary of its children; use the revision for your next write.

Avoid when: You do not have its task_id; use tasks.list.v2 or tasks.queue.get.v2.

Effects: Read only. claim_id is shown only to the owner and to the executor that holds it.

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": "tasks.get.v2",
      "arguments": {
        "task_id": "00000000-0000-4000-8000-000000000001"
      },
      "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": {
    "task_id": {
      "description": "Exact task_id from tasks.queue.get, tasks.list or a prior create.",
      "format": "uuid",
      "title": "Task Id",
      "type": "string"
    }
  },
  "required": [
    "task_id"
  ],
  "title": "McpTasksGetInputV2",
  "type": "object"
}
Output schema inside the result envelope
{
  "$defs": {
    "TaskChildrenV2": {
      "additionalProperties": false,
      "properties": {
        "counts_by_status": {
          "additionalProperties": {
            "type": "integer"
          },
          "title": "Counts By Status",
          "type": "object"
        },
        "items": {
          "default": [],
          "items": {
            "$ref": "#/$defs/TaskSummaryV2"
          },
          "title": "Items",
          "type": "array"
        }
      },
      "title": "TaskChildrenV2",
      "type": "object"
    },
    "TaskEventV2": {
      "additionalProperties": false,
      "properties": {
        "event_id": {
          "title": "Event Id",
          "type": "string"
        },
        "event_type": {
          "title": "Event Type",
          "type": "string"
        },
        "from_status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "From Status"
        },
        "to_status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "To Status"
        },
        "actor": {
          "additionalProperties": true,
          "title": "Actor",
          "type": "object"
        },
        "claim_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Claim Id"
        },
        "payload": {
          "additionalProperties": true,
          "title": "Payload",
          "type": "object"
        },
        "revision_after": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Revision After"
        },
        "created_at": {
          "format": "date-time",
          "title": "Created At",
          "type": "string"
        }
      },
      "required": [
        "event_id",
        "event_type",
        "created_at"
      ],
      "title": "TaskEventV2",
      "type": "object"
    },
    "TaskSummaryV2": {
      "additionalProperties": false,
      "properties": {
        "task_id": {
          "title": "Task 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"
        },
        "title": {
          "title": "Title",
          "type": "string"
        },
        "type": {
          "title": "Type",
          "type": "string"
        },
        "priority": {
          "title": "Priority",
          "type": "string"
        },
        "objective": {
          "title": "Objective",
          "type": "string"
        },
        "status": {
          "enum": [
            "open",
            "claimed",
            "waiting",
            "escalated",
            "done",
            "cancelled"
          ],
          "title": "Status",
          "type": "string"
        },
        "overdue": {
          "default": false,
          "title": "Overdue",
          "type": "boolean"
        },
        "due_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Due At"
        },
        "owner_user_id": {
          "title": "Owner User Id",
          "type": "string"
        },
        "claim_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Claim Id"
        },
        "claim_expires_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Claim Expires At"
        },
        "escalation_reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Escalation Reason"
        },
        "closed_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Closed At"
        },
        "cancel_reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Cancel Reason"
        },
        "decision_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Decision Id"
        },
        "parent_task_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Parent Task Id"
        },
        "ledger_event_ids": {
          "default": [],
          "items": {
            "type": "string"
          },
          "title": "Ledger Event Ids",
          "type": "array"
        },
        "revision": {
          "title": "Revision",
          "type": "integer"
        },
        "updated_at": {
          "format": "date-time",
          "title": "Updated At",
          "type": "string"
        },
        "entity_web_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Entity Web Url"
        }
      },
      "required": [
        "task_id",
        "entity_type",
        "entity_id",
        "account_id",
        "title",
        "type",
        "priority",
        "objective",
        "status",
        "owner_user_id",
        "revision",
        "updated_at"
      ],
      "title": "TaskSummaryV2",
      "type": "object"
    },
    "TaskV2": {
      "additionalProperties": false,
      "properties": {
        "task_id": {
          "title": "Task 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"
        },
        "title": {
          "title": "Title",
          "type": "string"
        },
        "body": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Body"
        },
        "type": {
          "title": "Type",
          "type": "string"
        },
        "priority": {
          "title": "Priority",
          "type": "string"
        },
        "objective": {
          "title": "Objective",
          "type": "string"
        },
        "done_when": {
          "default": [],
          "items": {
            "additionalProperties": true,
            "type": "object"
          },
          "title": "Done When",
          "type": "array"
        },
        "constraints": {
          "additionalProperties": true,
          "title": "Constraints",
          "type": "object"
        },
        "autonomy_level": {
          "title": "Autonomy Level",
          "type": "string"
        },
        "allowed_executors": {
          "default": [],
          "items": {
            "type": "string"
          },
          "title": "Allowed Executors",
          "type": "array"
        },
        "policy_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Policy Id"
        },
        "owner_user_id": {
          "title": "Owner User Id",
          "type": "string"
        },
        "waiting_on_contact_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Waiting On Contact Id"
        },
        "status": {
          "enum": [
            "open",
            "claimed",
            "waiting",
            "escalated",
            "done",
            "cancelled"
          ],
          "title": "Status",
          "type": "string"
        },
        "overdue": {
          "default": false,
          "title": "Overdue",
          "type": "boolean"
        },
        "due_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Due At"
        },
        "expires_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Expires At"
        },
        "closed_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Closed At"
        },
        "claimed_by": {
          "anyOf": [
            {
              "additionalProperties": true,
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Claimed By"
        },
        "claim_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Claim Id"
        },
        "claim_expires_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Claim Expires At"
        },
        "expiry_count": {
          "default": 0,
          "title": "Expiry Count",
          "type": "integer"
        },
        "current_escalation": {
          "anyOf": [
            {
              "additionalProperties": true,
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Current Escalation"
        },
        "cancel_reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Cancel Reason"
        },
        "cancel_note": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Cancel Note"
        },
        "evidence_refs": {
          "default": [],
          "items": {
            "additionalProperties": true,
            "type": "object"
          },
          "title": "Evidence Refs",
          "type": "array"
        },
        "evidence_refs_total": {
          "default": 0,
          "title": "Evidence Refs Total",
          "type": "integer"
        },
        "decision_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Decision Id"
        },
        "learning_ids": {
          "default": [],
          "items": {
            "type": "string"
          },
          "title": "Learning Ids",
          "type": "array"
        },
        "ledger_event_ids": {
          "default": [],
          "items": {
            "type": "string"
          },
          "title": "Ledger Event Ids",
          "type": "array"
        },
        "source": {
          "title": "Source",
          "type": "string"
        },
        "source_ref": {
          "anyOf": [
            {
              "additionalProperties": true,
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Source Ref"
        },
        "campaign_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Campaign Id"
        },
        "loop_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Loop Id"
        },
        "parent_task_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Parent Task Id"
        },
        "author_type": {
          "title": "Author Type",
          "type": "string"
        },
        "author_id": {
          "title": "Author Id",
          "type": "string"
        },
        "on_behalf_of_user_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "On Behalf Of User Id"
        },
        "revision": {
          "minimum": 1,
          "title": "Revision",
          "type": "integer"
        },
        "created_at": {
          "format": "date-time",
          "title": "Created At",
          "type": "string"
        },
        "updated_at": {
          "format": "date-time",
          "title": "Updated At",
          "type": "string"
        },
        "entity_web_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Entity Web Url"
        }
      },
      "required": [
        "task_id",
        "entity_type",
        "entity_id",
        "account_id",
        "title",
        "type",
        "priority",
        "objective",
        "autonomy_level",
        "owner_user_id",
        "status",
        "source",
        "author_type",
        "author_id",
        "revision",
        "created_at",
        "updated_at"
      ],
      "title": "TaskV2",
      "type": "object"
    }
  },
  "additionalProperties": false,
  "properties": {
    "task": {
      "$ref": "#/$defs/TaskV2"
    },
    "events": {
      "default": [],
      "items": {
        "$ref": "#/$defs/TaskEventV2"
      },
      "title": "Events",
      "type": "array"
    },
    "children": {
      "$ref": "#/$defs/TaskChildrenV2"
    }
  },
  "required": [
    "task",
    "children"
  ],
  "title": "TaskDetailResultV2",
  "type": "object"
}

List tasks

tasks.list.v2

Use when: Find tasks by account or contact, owner ('me'), status, claimable_only, claimed_by_me, decision, due window, campaign or parent. counts_by_status covers every filter except status, so one call answers how many are open, claimed, escalated or done.

Avoid when: You want the next task to work with its context; use tasks.queue.get.v2.

Effects: Read only.

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": "tasks.list.v2",
      "arguments": {
        "owner": "me"
      },
      "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": {
    "entity_type": {
      "anyOf": [
        {
          "enum": [
            "account",
            "contact"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Entity type used by the tasks list input v2 operation.",
      "title": "Entity Type"
    },
    "entity_id": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "With entity_type. An account spans its contacts' tasks.",
      "title": "Entity Id"
    },
    "owner": {
      "anyOf": [
        {
          "maxLength": 36,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "'me' or a user id.",
      "title": "Owner"
    },
    "status": {
      "default": [],
      "description": "Status used by the tasks list input v2 operation.",
      "items": {
        "enum": [
          "open",
          "claimed",
          "waiting",
          "escalated",
          "done",
          "cancelled"
        ],
        "type": "string"
      },
      "maxItems": 6,
      "title": "Status",
      "type": "array"
    },
    "claimable_only": {
      "default": false,
      "description": "Open tasks and tasks whose lease lapsed.",
      "title": "Claimable Only",
      "type": "boolean"
    },
    "claimed_by_me": {
      "default": false,
      "description": "Claimed by me used by the tasks list input v2 operation.",
      "title": "Claimed By Me",
      "type": "boolean"
    },
    "decision_id": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Exact decision UUID returned by a Hivekind search, list, get, preview, or resource call.",
      "title": "Decision Id"
    },
    "due_before": {
      "anyOf": [
        {
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Due before used by the tasks list input v2 operation.",
      "title": "Due Before"
    },
    "due_after": {
      "anyOf": [
        {
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Due after used by the tasks list input v2 operation.",
      "title": "Due After"
    },
    "campaign_id": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Exact campaign UUID returned by a Hivekind search, list, get, preview, or resource call.",
      "title": "Campaign Id"
    },
    "parent_task_id": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Exact parent task UUID returned by a Hivekind search, list, get, preview, or resource call.",
      "title": "Parent Task Id"
    },
    "limit": {
      "default": 20,
      "description": "Maximum number of records to return in this page.",
      "maximum": 25,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
    },
    "cursor": {
      "anyOf": [
        {
          "maxLength": 200,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "next_cursor from the previous page.",
      "title": "Cursor"
    }
  },
  "title": "McpTasksListInputV2",
  "type": "object"
}
Output schema inside the result envelope
{
  "$defs": {
    "TaskSummaryV2": {
      "additionalProperties": false,
      "properties": {
        "task_id": {
          "title": "Task 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"
        },
        "title": {
          "title": "Title",
          "type": "string"
        },
        "type": {
          "title": "Type",
          "type": "string"
        },
        "priority": {
          "title": "Priority",
          "type": "string"
        },
        "objective": {
          "title": "Objective",
          "type": "string"
        },
        "status": {
          "enum": [
            "open",
            "claimed",
            "waiting",
            "escalated",
            "done",
            "cancelled"
          ],
          "title": "Status",
          "type": "string"
        },
        "overdue": {
          "default": false,
          "title": "Overdue",
          "type": "boolean"
        },
        "due_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Due At"
        },
        "owner_user_id": {
          "title": "Owner User Id",
          "type": "string"
        },
        "claim_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Claim Id"
        },
        "claim_expires_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Claim Expires At"
        },
        "escalation_reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Escalation Reason"
        },
        "closed_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Closed At"
        },
        "cancel_reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Cancel Reason"
        },
        "decision_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Decision Id"
        },
        "parent_task_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Parent Task Id"
        },
        "ledger_event_ids": {
          "default": [],
          "items": {
            "type": "string"
          },
          "title": "Ledger Event Ids",
          "type": "array"
        },
        "revision": {
          "title": "Revision",
          "type": "integer"
        },
        "updated_at": {
          "format": "date-time",
          "title": "Updated At",
          "type": "string"
        },
        "entity_web_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Entity Web Url"
        }
      },
      "required": [
        "task_id",
        "entity_type",
        "entity_id",
        "account_id",
        "title",
        "type",
        "priority",
        "objective",
        "status",
        "owner_user_id",
        "revision",
        "updated_at"
      ],
      "title": "TaskSummaryV2",
      "type": "object"
    }
  },
  "additionalProperties": false,
  "properties": {
    "tasks": {
      "default": [],
      "items": {
        "$ref": "#/$defs/TaskSummaryV2"
      },
      "title": "Tasks",
      "type": "array"
    },
    "counts_by_status": {
      "additionalProperties": {
        "type": "integer"
      },
      "title": "Counts By Status",
      "type": "object"
    },
    "next_cursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Next Cursor"
    }
  },
  "title": "TasksListResultV2",
  "type": "object"
}

Propose tasks from a note or a reply

tasks.propose.v2

Use when: Turn the action items in one note (note_id, e.g. from notes.feed.v2) or one inbound reply (signal_id) into candidate tasks: title, objective, due date, the owner resolved by ID (contacts on the account first, then teammates) and the source line as evidence. A step a contact owns becomes a waiting task for the account owner. Review, settle owner_ambiguous / owner_unresolved items, then commit with tasks.create.batch.v2.

Avoid when: You already know the task to add; use tasks.create.v2. Never pick an owner by name yourself when the candidate says ambiguous.

Effects: Creates no task. Reads the source with one model call and caches the extracted items per note revision. Flags items that already exist as tasks.

Cost: No gateway rate is configured. Check the Core workflow preview/quote for downstream charges and final settlement. Gateway rate code: none; downstream billing may apply.

Access: accounts:read. Approval: operation authorization. A stable operation UUID is required.

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": "tasks.propose.v2",
      "arguments": {
        "note_id": "00000000-0000-4000-8000-000000000001"
      },
      "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": {
    "note_id": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "A note; find one with notes.feed.v2.",
      "title": "Note Id"
    },
    "signal_id": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "An inbound reply (its signal id from the Inbox).",
      "title": "Signal Id"
    }
  },
  "title": "McpTasksProposeInputV2",
  "type": "object"
}
Output schema inside the result envelope
{
  "$defs": {
    "TaskCandidateV2": {
      "additionalProperties": false,
      "properties": {
        "index": {
          "title": "Index",
          "type": "integer"
        },
        "title": {
          "title": "Title",
          "type": "string"
        },
        "objective": {
          "title": "Objective",
          "type": "string"
        },
        "type": {
          "title": "Type",
          "type": "string"
        },
        "due_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Due At"
        },
        "owner_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Owner Name"
        },
        "owner_side": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Owner Side"
        },
        "owner_resolution": {
          "enum": [
            "contact",
            "user",
            "author",
            "account_owner",
            "ambiguous",
            "unresolved"
          ],
          "title": "Owner Resolution",
          "type": "string"
        },
        "owner_user_id": {
          "title": "Owner User Id",
          "type": "string"
        },
        "waiting_on_contact_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Waiting On Contact Id"
        },
        "owner_ambiguous": {
          "default": false,
          "title": "Owner Ambiguous",
          "type": "boolean"
        },
        "owner_unresolved": {
          "default": false,
          "title": "Owner Unresolved",
          "type": "boolean"
        },
        "owner_options": {
          "default": [],
          "items": {
            "$ref": "#/$defs/TaskOwnerOptionV2"
          },
          "title": "Owner Options",
          "type": "array"
        },
        "status_if_created": {
          "enum": [
            "open",
            "waiting"
          ],
          "title": "Status If Created",
          "type": "string"
        },
        "evidence": {
          "$ref": "#/$defs/TaskEvidenceV2"
        },
        "duplicate_of_task_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Duplicate Of Task Id"
        },
        "converted_task_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Converted Task Id"
        },
        "create": {
          "additionalProperties": true,
          "title": "Create",
          "type": "object"
        }
      },
      "required": [
        "index",
        "title",
        "objective",
        "type",
        "owner_resolution",
        "owner_user_id",
        "status_if_created",
        "evidence",
        "create"
      ],
      "title": "TaskCandidateV2",
      "type": "object"
    },
    "TaskEvidenceV2": {
      "additionalProperties": false,
      "properties": {
        "source_type": {
          "enum": [
            "note",
            "signal"
          ],
          "title": "Source Type",
          "type": "string"
        },
        "source_id": {
          "title": "Source Id",
          "type": "string"
        },
        "source_line": {
          "title": "Source Line",
          "type": "string"
        },
        "verbatim": {
          "title": "Verbatim",
          "type": "boolean"
        }
      },
      "required": [
        "source_type",
        "source_id",
        "source_line",
        "verbatim"
      ],
      "title": "TaskEvidenceV2",
      "type": "object"
    },
    "TaskOwnerOptionV2": {
      "additionalProperties": false,
      "properties": {
        "kind": {
          "enum": [
            "contact",
            "user"
          ],
          "title": "Kind",
          "type": "string"
        },
        "id": {
          "title": "Id",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        }
      },
      "required": [
        "kind",
        "id",
        "name"
      ],
      "title": "TaskOwnerOptionV2",
      "type": "object"
    },
    "TaskProposalSourceV2": {
      "additionalProperties": false,
      "properties": {
        "type": {
          "enum": [
            "note",
            "signal"
          ],
          "title": "Type",
          "type": "string"
        },
        "id": {
          "title": "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_owner_user_id": {
          "title": "Account Owner User Id",
          "type": "string"
        },
        "is_meeting": {
          "title": "Is Meeting",
          "type": "boolean"
        },
        "occurred_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Occurred At"
        }
      },
      "required": [
        "type",
        "id",
        "entity_type",
        "entity_id",
        "account_id",
        "account_owner_user_id",
        "is_meeting"
      ],
      "title": "TaskProposalSourceV2",
      "type": "object"
    }
  },
  "additionalProperties": false,
  "properties": {
    "source": {
      "$ref": "#/$defs/TaskProposalSourceV2"
    },
    "candidates": {
      "default": [],
      "items": {
        "$ref": "#/$defs/TaskCandidateV2"
      },
      "title": "Candidates",
      "type": "array"
    },
    "reused_scan": {
      "default": false,
      "title": "Reused Scan",
      "type": "boolean"
    }
  },
  "required": [
    "source"
  ],
  "title": "TasksProposeResultV2",
  "type": "object"
}

Get the next task to work

tasks.queue.get.v2

Use when: You are an executor looking for work: returns the next task(s) you may claim, ordered by priority, due date and age, each with its account, contacts (suppression and employment status), the last 20 timeline items, the decision behind it and its parent. Pass claim=true to claim the first one atomically and receive its claim_id.

Avoid when: You only want to browse or count tasks; use tasks.list.v2. You already hold a claim; renew it with tasks.claim.v2.

Effects: Read only unless claim=true, which takes a lease on one task (default 30 minutes). Never offers a task whose allowed_executors exclude you.

Cost: No gateway rate is configured. Check the Core workflow preview/quote for downstream charges and final settlement. Gateway rate code: none; downstream billing may apply.

Access: actions:execute. Approval: exact_scope_single_action. A stable operation UUID is required.

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": "tasks.queue.get.v2",
      "arguments": {},
      "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": {
    "action_proposal_id": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Optional. Hivekind fills this from the MCP consent grant.",
      "title": "Action Proposal Id"
    },
    "task_types": {
      "default": [],
      "description": "Only these task types.",
      "items": {
        "enum": [
          "follow_up",
          "research",
          "enrich",
          "email",
          "linkedin",
          "call",
          "meeting",
          "page",
          "internal"
        ],
        "type": "string"
      },
      "maxItems": 10,
      "title": "Task Types",
      "type": "array"
    },
    "campaign_id": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Exact campaign UUID returned by a Hivekind search, list, get, preview, or resource call.",
      "title": "Campaign Id"
    },
    "entity_type": {
      "anyOf": [
        {
          "enum": [
            "account",
            "contact"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Entity type used by the tasks queue get input v2 operation.",
      "title": "Entity Type"
    },
    "entity_id": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "With entity_type. An account scope spans its contacts.",
      "title": "Entity Id"
    },
    "limit": {
      "default": 1,
      "description": "Maximum number of records to return in this page.",
      "maximum": 3,
      "minimum": 1,
      "title": "Limit",
      "type": "integer"
    },
    "claim": {
      "default": false,
      "description": "Claim the first task atomically and receive its claim_id. Needs limit=1.",
      "title": "Claim",
      "type": "boolean"
    },
    "ttl_seconds": {
      "anyOf": [
        {
          "maximum": 86400,
          "minimum": 60,
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Lease length when claiming; default 30 minutes.",
      "title": "Ttl Seconds"
    }
  },
  "title": "McpMcpTasksQueueGetInputV2",
  "type": "object"
}
Output schema inside the result envelope
{
  "$defs": {
    "TaskQueueAccountV2": {
      "additionalProperties": false,
      "properties": {
        "account_id": {
          "title": "Account Id",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "domain": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Domain"
        },
        "industry": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Industry"
        },
        "icp_grade": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Icp Grade"
        },
        "icp_score": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Icp Score"
        },
        "account_tier": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Account Tier"
        },
        "account_status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Account Status"
        },
        "web_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Web Url"
        }
      },
      "required": [
        "account_id",
        "name"
      ],
      "title": "TaskQueueAccountV2",
      "type": "object"
    },
    "TaskQueueContactV2": {
      "additionalProperties": false,
      "properties": {
        "contact_id": {
          "title": "Contact Id",
          "type": "string"
        },
        "name": {
          "title": "Name",
          "type": "string"
        },
        "title": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Title"
        },
        "email": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Email"
        },
        "buyer_role": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Buyer Role"
        },
        "contact_status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Contact Status"
        },
        "suppressed_channels": {
          "default": [],
          "items": {
            "type": "string"
          },
          "title": "Suppressed Channels",
          "type": "array"
        },
        "employment_check": {
          "anyOf": [
            {
              "additionalProperties": true,
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Employment Check"
        }
      },
      "required": [
        "contact_id",
        "name"
      ],
      "title": "TaskQueueContactV2",
      "type": "object"
    },
    "TaskQueueContextV2": {
      "additionalProperties": false,
      "properties": {
        "account": {
          "anyOf": [
            {
              "$ref": "#/$defs/TaskQueueAccountV2"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "contacts": {
          "default": [],
          "items": {
            "$ref": "#/$defs/TaskQueueContactV2"
          },
          "title": "Contacts",
          "type": "array"
        },
        "timeline": {
          "default": [],
          "items": {
            "$ref": "#/$defs/TaskQueueTimelineItemV2"
          },
          "title": "Timeline",
          "type": "array"
        },
        "decision": {
          "anyOf": [
            {
              "$ref": "#/$defs/TaskQueueDecisionV2"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "learning_ids": {
          "default": [],
          "items": {
            "type": "string"
          },
          "title": "Learning Ids",
          "type": "array"
        },
        "parent": {
          "anyOf": [
            {
              "$ref": "#/$defs/TaskQueueParentV2"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        },
        "siblings": {
          "default": [],
          "items": {
            "$ref": "#/$defs/TaskQueueSiblingV2"
          },
          "title": "Siblings",
          "type": "array"
        },
        "sibling_counts": {
          "additionalProperties": {
            "type": "integer"
          },
          "title": "Sibling Counts",
          "type": "object"
        }
      },
      "title": "TaskQueueContextV2",
      "type": "object"
    },
    "TaskQueueDecisionV2": {
      "additionalProperties": false,
      "properties": {
        "decision_id": {
          "title": "Decision Id",
          "type": "string"
        },
        "decision_type": {
          "title": "Decision Type",
          "type": "string"
        },
        "thesis": {
          "additionalProperties": true,
          "title": "Thesis",
          "type": "object"
        },
        "expected_outcome": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Expected Outcome"
        },
        "horizon_days": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Horizon Days"
        },
        "committed_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Committed At"
        },
        "approval_state": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Approval State"
        }
      },
      "required": [
        "decision_id",
        "decision_type"
      ],
      "title": "TaskQueueDecisionV2",
      "type": "object"
    },
    "TaskQueueItemV2": {
      "additionalProperties": false,
      "properties": {
        "task": {
          "$ref": "#/$defs/TaskV2"
        },
        "context": {
          "$ref": "#/$defs/TaskQueueContextV2"
        }
      },
      "required": [
        "task",
        "context"
      ],
      "title": "TaskQueueItemV2",
      "type": "object"
    },
    "TaskQueueParentV2": {
      "additionalProperties": false,
      "properties": {
        "task_id": {
          "title": "Task Id",
          "type": "string"
        },
        "title": {
          "title": "Title",
          "type": "string"
        },
        "objective": {
          "title": "Objective",
          "type": "string"
        },
        "status": {
          "title": "Status",
          "type": "string"
        }
      },
      "required": [
        "task_id",
        "title",
        "objective",
        "status"
      ],
      "title": "TaskQueueParentV2",
      "type": "object"
    },
    "TaskQueueSiblingV2": {
      "additionalProperties": false,
      "properties": {
        "task_id": {
          "title": "Task Id",
          "type": "string"
        },
        "title": {
          "title": "Title",
          "type": "string"
        },
        "status": {
          "title": "Status",
          "type": "string"
        },
        "claimed": {
          "default": false,
          "title": "Claimed",
          "type": "boolean"
        }
      },
      "required": [
        "task_id",
        "title",
        "status"
      ],
      "title": "TaskQueueSiblingV2",
      "type": "object"
    },
    "TaskQueueTimelineItemV2": {
      "additionalProperties": false,
      "properties": {
        "event_id": {
          "title": "Event Id",
          "type": "string"
        },
        "event_type": {
          "title": "Event Type",
          "type": "string"
        },
        "channel": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Channel"
        },
        "direction": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Direction"
        },
        "occurred_at": {
          "format": "date-time",
          "title": "Occurred At",
          "type": "string"
        },
        "title": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Title"
        },
        "summary": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Summary"
        },
        "status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Status"
        },
        "contact_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Contact Id"
        },
        "contact_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Contact Name"
        }
      },
      "required": [
        "event_id",
        "event_type",
        "occurred_at"
      ],
      "title": "TaskQueueTimelineItemV2",
      "type": "object"
    },
    "TaskV2": {
      "additionalProperties": false,
      "properties": {
        "task_id": {
          "title": "Task 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"
        },
        "title": {
          "title": "Title",
          "type": "string"
        },
        "body": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Body"
        },
        "type": {
          "title": "Type",
          "type": "string"
        },
        "priority": {
          "title": "Priority",
          "type": "string"
        },
        "objective": {
          "title": "Objective",
          "type": "string"
        },
        "done_when": {
          "default": [],
          "items": {
            "additionalProperties": true,
            "type": "object"
          },
          "title": "Done When",
          "type": "array"
        },
        "constraints": {
          "additionalProperties": true,
          "title": "Constraints",
          "type": "object"
        },
        "autonomy_level": {
          "title": "Autonomy Level",
          "type": "string"
        },
        "allowed_executors": {
          "default": [],
          "items": {
            "type": "string"
          },
          "title": "Allowed Executors",
          "type": "array"
        },
        "policy_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Policy Id"
        },
        "owner_user_id": {
          "title": "Owner User Id",
          "type": "string"
        },
        "waiting_on_contact_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Waiting On Contact Id"
        },
        "status": {
          "enum": [
            "open",
            "claimed",
            "waiting",
            "escalated",
            "done",
            "cancelled"
          ],
          "title": "Status",
          "type": "string"
        },
        "overdue": {
          "default": false,
          "title": "Overdue",
          "type": "boolean"
        },
        "due_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Due At"
        },
        "expires_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Expires At"
        },
        "closed_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Closed At"
        },
        "claimed_by": {
          "anyOf": [
            {
              "additionalProperties": true,
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Claimed By"
        },
        "claim_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Claim Id"
        },
        "claim_expires_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Claim Expires At"
        },
        "expiry_count": {
          "default": 0,
          "title": "Expiry Count",
          "type": "integer"
        },
        "current_escalation": {
          "anyOf": [
            {
              "additionalProperties": true,
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Current Escalation"
        },
        "cancel_reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Cancel Reason"
        },
        "cancel_note": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Cancel Note"
        },
        "evidence_refs": {
          "default": [],
          "items": {
            "additionalProperties": true,
            "type": "object"
          },
          "title": "Evidence Refs",
          "type": "array"
        },
        "evidence_refs_total": {
          "default": 0,
          "title": "Evidence Refs Total",
          "type": "integer"
        },
        "decision_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Decision Id"
        },
        "learning_ids": {
          "default": [],
          "items": {
            "type": "string"
          },
          "title": "Learning Ids",
          "type": "array"
        },
        "ledger_event_ids": {
          "default": [],
          "items": {
            "type": "string"
          },
          "title": "Ledger Event Ids",
          "type": "array"
        },
        "source": {
          "title": "Source",
          "type": "string"
        },
        "source_ref": {
          "anyOf": [
            {
              "additionalProperties": true,
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Source Ref"
        },
        "campaign_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Campaign Id"
        },
        "loop_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Loop Id"
        },
        "parent_task_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Parent Task Id"
        },
        "author_type": {
          "title": "Author Type",
          "type": "string"
        },
        "author_id": {
          "title": "Author Id",
          "type": "string"
        },
        "on_behalf_of_user_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "On Behalf Of User Id"
        },
        "revision": {
          "minimum": 1,
          "title": "Revision",
          "type": "integer"
        },
        "created_at": {
          "format": "date-time",
          "title": "Created At",
          "type": "string"
        },
        "updated_at": {
          "format": "date-time",
          "title": "Updated At",
          "type": "string"
        },
        "entity_web_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Entity Web Url"
        }
      },
      "required": [
        "task_id",
        "entity_type",
        "entity_id",
        "account_id",
        "title",
        "type",
        "priority",
        "objective",
        "autonomy_level",
        "owner_user_id",
        "status",
        "source",
        "author_type",
        "author_id",
        "revision",
        "created_at",
        "updated_at"
      ],
      "title": "TaskV2",
      "type": "object"
    }
  },
  "additionalProperties": false,
  "properties": {
    "items": {
      "default": [],
      "items": {
        "$ref": "#/$defs/TaskQueueItemV2"
      },
      "title": "Items",
      "type": "array"
    },
    "claimed": {
      "default": false,
      "title": "Claimed",
      "type": "boolean"
    }
  },
  "title": "TasksQueueResultV2",
  "type": "object"
}

Release a task

tasks.release.v2

Use when: Give a claimed task back to the queue with a reason (cannot_complete, missing_context, handoff, capacity, other), a note on progress and any evidence gathered.

Avoid when: You need a person to decide something; use tasks.escalate.v2. The work is finished; use tasks.complete.v2.

Effects: Ends your claim and reopens the task with your note and evidence kept.

Cost: No gateway rate is configured. Check the Core workflow preview/quote for downstream charges and final settlement. Gateway rate code: none; downstream billing may apply.

Access: actions:execute. Approval: exact_scope_single_action. A stable operation UUID is required.

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": "tasks.release.v2",
      "arguments": {
        "claim_id": "00000000-0000-4000-8000-000000000002",
        "reason": "missing_context",
        "task_id": "00000000-0000-4000-8000-000000000001"
      },
      "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
{
  "$defs": {
    "TaskEvidenceRefV2": {
      "additionalProperties": false,
      "properties": {
        "system": {
          "description": "Where the proof lives. Only system=hivekind is verified by the server.",
          "enum": [
            "hivekind",
            "hubspot",
            "salesforce",
            "gmail",
            "outlook",
            "linkedin",
            "apollo",
            "calendar",
            "url",
            "other"
          ],
          "title": "System",
          "type": "string"
        },
        "object_type": {
          "anyOf": [
            {
              "maxLength": 64,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "For hivekind: account, contact, task, note or message. Otherwise the source's own type.",
          "title": "Object Type"
        },
        "external_id": {
          "anyOf": [
            {
              "maxLength": 255,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "The object's id in that system.",
          "title": "External Id"
        },
        "url": {
          "anyOf": [
            {
              "maxLength": 2048,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Url"
        },
        "observed_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Observed At"
        },
        "summary": {
          "anyOf": [
            {
              "maxLength": 1000,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Summary"
        }
      },
      "required": [
        "system"
      ],
      "title": "TaskEvidenceRefV2",
      "type": "object"
    }
  },
  "additionalProperties": false,
  "properties": {
    "action_proposal_id": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Optional. Hivekind fills this from the MCP consent grant.",
      "title": "Action Proposal Id"
    },
    "task_id": {
      "description": "Exact task_id from tasks.queue.get, tasks.list or a prior create.",
      "format": "uuid",
      "title": "Task Id",
      "type": "string"
    },
    "claim_id": {
      "description": "Your live claim_id.",
      "format": "uuid",
      "title": "Claim Id",
      "type": "string"
    },
    "reason": {
      "description": "Reason used by the tasks release input v2 operation.",
      "enum": [
        "cannot_complete",
        "missing_context",
        "handoff",
        "capacity",
        "other"
      ],
      "title": "Reason",
      "type": "string"
    },
    "note": {
      "anyOf": [
        {
          "maxLength": 4000,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Progress and what the next executor needs.",
      "title": "Note"
    },
    "evidence_refs": {
      "default": [],
      "description": "Evidence refs used by the tasks release input v2 operation.",
      "items": {
        "$ref": "#/$defs/TaskEvidenceRefV2"
      },
      "maxItems": 20,
      "title": "Evidence Refs",
      "type": "array"
    }
  },
  "required": [
    "task_id",
    "claim_id",
    "reason"
  ],
  "title": "McpMcpTasksReleaseInputV2",
  "type": "object"
}
Output schema inside the result envelope
{
  "$defs": {
    "TaskSummaryV2": {
      "additionalProperties": false,
      "properties": {
        "task_id": {
          "title": "Task 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"
        },
        "title": {
          "title": "Title",
          "type": "string"
        },
        "type": {
          "title": "Type",
          "type": "string"
        },
        "priority": {
          "title": "Priority",
          "type": "string"
        },
        "objective": {
          "title": "Objective",
          "type": "string"
        },
        "status": {
          "enum": [
            "open",
            "claimed",
            "waiting",
            "escalated",
            "done",
            "cancelled"
          ],
          "title": "Status",
          "type": "string"
        },
        "overdue": {
          "default": false,
          "title": "Overdue",
          "type": "boolean"
        },
        "due_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Due At"
        },
        "owner_user_id": {
          "title": "Owner User Id",
          "type": "string"
        },
        "claim_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Claim Id"
        },
        "claim_expires_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Claim Expires At"
        },
        "escalation_reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Escalation Reason"
        },
        "closed_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Closed At"
        },
        "cancel_reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Cancel Reason"
        },
        "decision_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Decision Id"
        },
        "parent_task_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Parent Task Id"
        },
        "ledger_event_ids": {
          "default": [],
          "items": {
            "type": "string"
          },
          "title": "Ledger Event Ids",
          "type": "array"
        },
        "revision": {
          "title": "Revision",
          "type": "integer"
        },
        "updated_at": {
          "format": "date-time",
          "title": "Updated At",
          "type": "string"
        },
        "entity_web_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Entity Web Url"
        }
      },
      "required": [
        "task_id",
        "entity_type",
        "entity_id",
        "account_id",
        "title",
        "type",
        "priority",
        "objective",
        "status",
        "owner_user_id",
        "revision",
        "updated_at"
      ],
      "title": "TaskSummaryV2",
      "type": "object"
    }
  },
  "additionalProperties": false,
  "properties": {
    "task": {
      "$ref": "#/$defs/TaskSummaryV2"
    },
    "created": {
      "default": false,
      "title": "Created",
      "type": "boolean"
    },
    "deduplicated": {
      "default": false,
      "title": "Deduplicated",
      "type": "boolean"
    },
    "message": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Message"
    }
  },
  "required": [
    "task"
  ],
  "title": "TaskMutationResultV2",
  "type": "object"
}

Edit a task

tasks.update.v2

Use when: Change a task's title, priority, dates, constraints, done_when, owner, allowed_executors or waiting contact. Pass the revision you read as if_revision, and your claim_id while you hold the claim.

Avoid when: Do not use it to close a task (tasks.complete.v2) or to hand it back (tasks.release.v2). Do not retry a revision_conflict without re-reading.

Effects: Bumps the task's revision. Agents may edit only tasks they authored or hold the claim on.

Cost: No gateway rate is configured. Check the Core workflow preview/quote for downstream charges and final settlement. Gateway rate code: none; downstream billing may apply.

Access: actions:execute. Approval: exact_scope_single_action. A stable operation UUID is required.

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": "tasks.update.v2",
      "arguments": {
        "if_revision": 1,
        "priority": "high",
        "task_id": "00000000-0000-4000-8000-000000000001"
      },
      "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
{
  "$defs": {
    "TaskDoneWhenV2": {
      "additionalProperties": false,
      "properties": {
        "kind": {
          "description": "manual: a person confirms (or the executor, under act_and_report or after the owner approved). evidence: needs a matching evidence_ref at close; spec {system, object_type, min_count}. event: stored; the owner confirms it in v1.",
          "enum": [
            "manual",
            "evidence",
            "event"
          ],
          "title": "Kind",
          "type": "string"
        },
        "spec": {
          "additionalProperties": true,
          "title": "Spec",
          "type": "object"
        }
      },
      "required": [
        "kind"
      ],
      "title": "TaskDoneWhenV2",
      "type": "object"
    }
  },
  "additionalProperties": false,
  "properties": {
    "action_proposal_id": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Optional. Hivekind fills this from the MCP consent grant.",
      "title": "Action Proposal Id"
    },
    "task_id": {
      "description": "Exact task_id from tasks.queue.get, tasks.list or a prior create.",
      "format": "uuid",
      "title": "Task Id",
      "type": "string"
    },
    "if_revision": {
      "description": "The revision you read. A mismatch is refused with the current revision.",
      "minimum": 1,
      "title": "If Revision",
      "type": "integer"
    },
    "claim_id": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Your live claim_id from tasks.claim or tasks.queue.get(claim=true). Required while you hold the claim.",
      "title": "Claim Id"
    },
    "title": {
      "anyOf": [
        {
          "maxLength": 200,
          "minLength": 1,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Title used by the tasks update input v2 operation.",
      "title": "Title"
    },
    "body": {
      "anyOf": [
        {
          "maxLength": 20000,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Body used by the tasks update input v2 operation.",
      "title": "Body"
    },
    "priority": {
      "anyOf": [
        {
          "enum": [
            "low",
            "normal",
            "high",
            "urgent"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Priority used by the tasks update input v2 operation.",
      "title": "Priority"
    },
    "due_at": {
      "anyOf": [
        {
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Due at timestamp in the format accepted by the schema.",
      "title": "Due At"
    },
    "expires_at": {
      "anyOf": [
        {
          "format": "date-time",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Expires at timestamp in the format accepted by the schema.",
      "title": "Expires At"
    },
    "constraints": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Constraints used by the tasks update input v2 operation.",
      "title": "Constraints"
    },
    "done_when": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/TaskDoneWhenV2"
          },
          "maxItems": 5,
          "minItems": 1,
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Done when used by the tasks update input v2 operation.",
      "title": "Done When"
    },
    "owner_user_id": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Exact owner user UUID returned by a Hivekind search, list, get, preview, or resource call.",
      "title": "Owner User Id"
    },
    "allowed_executors": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "maxItems": 20,
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Allowed executors used by the tasks update input v2 operation.",
      "title": "Allowed Executors"
    },
    "learning_ids": {
      "anyOf": [
        {
          "items": {
            "format": "uuid",
            "type": "string"
          },
          "maxItems": 20,
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Exact learning UUIDs returned by a Hivekind search, list, get, preview, or resource call.",
      "title": "Learning Ids"
    },
    "waiting_on_contact_id": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Exact waiting on contact UUID returned by a Hivekind search, list, get, preview, or resource call.",
      "title": "Waiting On Contact Id"
    },
    "clear_waiting": {
      "default": false,
      "description": "Clear waiting used by the tasks update input v2 operation.",
      "title": "Clear Waiting",
      "type": "boolean"
    }
  },
  "required": [
    "task_id",
    "if_revision"
  ],
  "title": "McpMcpTasksUpdateInputV2",
  "type": "object"
}
Output schema inside the result envelope
{
  "$defs": {
    "TaskSummaryV2": {
      "additionalProperties": false,
      "properties": {
        "task_id": {
          "title": "Task 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"
        },
        "title": {
          "title": "Title",
          "type": "string"
        },
        "type": {
          "title": "Type",
          "type": "string"
        },
        "priority": {
          "title": "Priority",
          "type": "string"
        },
        "objective": {
          "title": "Objective",
          "type": "string"
        },
        "status": {
          "enum": [
            "open",
            "claimed",
            "waiting",
            "escalated",
            "done",
            "cancelled"
          ],
          "title": "Status",
          "type": "string"
        },
        "overdue": {
          "default": false,
          "title": "Overdue",
          "type": "boolean"
        },
        "due_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Due At"
        },
        "owner_user_id": {
          "title": "Owner User Id",
          "type": "string"
        },
        "claim_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Claim Id"
        },
        "claim_expires_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Claim Expires At"
        },
        "escalation_reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Escalation Reason"
        },
        "closed_at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Closed At"
        },
        "cancel_reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Cancel Reason"
        },
        "decision_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Decision Id"
        },
        "parent_task_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Parent Task Id"
        },
        "ledger_event_ids": {
          "default": [],
          "items": {
            "type": "string"
          },
          "title": "Ledger Event Ids",
          "type": "array"
        },
        "revision": {
          "title": "Revision",
          "type": "integer"
        },
        "updated_at": {
          "format": "date-time",
          "title": "Updated At",
          "type": "string"
        },
        "entity_web_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Entity Web Url"
        }
      },
      "required": [
        "task_id",
        "entity_type",
        "entity_id",
        "account_id",
        "title",
        "type",
        "priority",
        "objective",
        "status",
        "owner_user_id",
        "revision",
        "updated_at"
      ],
      "title": "TaskSummaryV2",
      "type": "object"
    }
  },
  "additionalProperties": false,
  "properties": {
    "task": {
      "$ref": "#/$defs/TaskSummaryV2"
    },
    "created": {
      "default": false,
      "title": "Created",
      "type": "boolean"
    },
    "deduplicated": {
      "default": false,
      "title": "Deduplicated",
      "type": "boolean"
    },
    "message": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Message"
    }
  },
  "required": [
    "task"
  ],
  "title": "TaskMutationResultV2",
  "type": "object"
}