changedInput schema / properties / request / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "anyOf": [
- {
- "additionalProperties": false,
- "description": "Post a comment with text. The result includes native comment identifiers and any attachment metadata.",
- "properties": {
- "card_id": {
- "description": "Numeric ID of the card that owns these records.",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "text": {
- "description": "Text to post on the selected card’s comment thread.",
- "type": "string"
- }
- },
- "required": [
- "card_id",
- "text"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Post a comment through Kaiten’s multipart contract when a legacy file must accompany the text. For a new restricted attachment use content_write after creating the comment.",
- "properties": {
- "card_id": {
- "description": "Numeric ID of the card that owns these records.",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "form": {
- "description": "Ordered Kaiten multipart form parts, including repeated names. The configured decoded byte limit applies across all file parts.",
- "items": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "name": {
- "description": "Multipart form field name. Use text for the comment body.",
- "minLength": 1,
- "type": "string"
- },
- "value": {
- "description": "String value for this form field.",
- "type": "string"
- }
- },
- "required": [
- "name",
- "value"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "file": {
- "additionalProperties": false,
- "description": "File part with padded base64 bytes, optional filename and MIME type.",
- "properties": {
- "data_base64": {
- "description": "Canonical padded base64, without a data URL prefix; empty files are allowed.",
- "type": "string"
- },
- "filename": {
- "description": "Filename to send to Kaiten. Defaults to file.",
- "minLength": 1,
- "type": "string"
- },
- "mime_type": {
- "description": "Content type of the uploaded bytes. Defaults to application/octet-stream.",
- "minLength": 1,
- "pattern": "^[\\x20-\\x7e]+$",
- "type": "string"
- }
- },
- "required": [
- "data_base64"
- ],
- "type": "object"
- },
- "name": {
- "description": "Legacy file field name, normally files[].",
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "name",
- "file"
- ],
- "type": "object"
- }
- ]
- },
- "type": "array"
- }
- },
- "required": [
- "card_id",
- "form"
- ],
- "type": "object"
- }
- ]
- },
- "operation": {
- "const": "add_comment",
- "description": "Choose the add_comment argument form matching your task.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "anyOf": [
- {
- "additionalProperties": false,
- "description": "Replace the selected comment’s text. Resolve the comment’s numeric ID from the card’s thread.",
- "properties": {
- "card_id": {
- "description": "Numeric ID of the card that owns these records.",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "comment_id": {
- "description": "Numeric comment id from list_comments. For a separate restricted file upload, use the comment UID from the full read.",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "text": {
- "description": "Replacement text for the comment.",
- "type": "string"
- }
- },
- "required": [
- "card_id",
- "comment_id",
- "text"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Edit a comment through Kaiten’s multipart contract for legacy file parts. Submit text and files as ordered parts.",
- "properties": {
- "card_id": {
- "description": "Numeric ID of the card that owns these records.",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "comment_id": {
- "description": "Numeric comment id from list_comments. For a separate restricted file upload, use the comment UID from the full read.",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "form": {
- "description": "Ordered Kaiten multipart form parts, including repeated names. The configured decoded byte limit applies across all file parts.",
- "items": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "name": {
- "description": "Multipart form field name. Use text for the comment body.",
- "minLength": 1,
- "type": "string"
- },
- "value": {
- "description": "String value for this form field.",
- "type": "string"
- }
- },
- "required": [
- "name",
- "value"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "file": {
- "additionalProperties": false,
- "description": "File part with padded base64 bytes, optional filename and MIME type.",
- "properties": {
- "data_base64": {
- "description": "Canonical padded base64, without a data URL prefix; empty files are allowed.",
- "type": "string"
- },
- "filename": {
- "description": "Filename to send to Kaiten. Defaults to file.",
- "minLength": 1,
- "type": "string"
- },
- "mime_type": {
- "description": "Content type of the uploaded bytes. Defaults to application/octet-stream.",
- "minLength": 1,
- "pattern": "^[\\x20-\\x7e]+$",
- "type": "string"
- }
- },
- "required": [
- "data_base64"
- ],
- "type": "object"
- },
- "name": {
- "description": "Legacy file field name, normally files[].",
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "name",
- "file"
- ],
- "type": "object"
- }
- ]
- },
- "type": "array"
- }
- },
- "required": [
- "card_id",
- "comment_id",
- "form"
- ],
- "type": "object"
- }
- ]
- },
- "operation": {
- "const": "update_comment",
- "description": "Choose the update_comment argument form matching your task.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": false,
- "description": "Remove a comment from its card thread. Choose update_comment to retain the record and correct its text.",
- "properties": {
- "card_id": {
- "description": "Numeric ID of the card that owns these records.",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "comment_id": {
- "description": "Numeric comment id from list_comments. For a separate restricted file upload, use the comment UID from the full read.",
- "exclusiveMinimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "card_id",
- "comment_id"
- ],
- "type": "object"
- },
- "operation": {
- "const": "delete_comment",
- "description": "Remove a comment from its card thread. Choose update_comment to retain the record and correct its text.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": false,
- "description": "Create a native URL-link record. For URL values stored in a custom field, choose custom_properties_write.",
- "properties": {
- "card_id": {
- "description": "Numeric ID of the card that owns these records.",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "description": {
- "description": "Optional display label for the link.",
- "type": [
- "string",
- "null"
- ]
- },
- "url": {
- "description": "Destination URL for the native card link.",
- "type": "string"
- }
- },
- "required": [
- "card_id",
- "url"
- ],
- "type": "object"
- },
- "operation": {
- "const": "add_card_external_link",
- "description": "Create a native URL-link record. For URL values stored in a custom field, choose custom_properties_write.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": false,
- "description": "Change a URL or its label on an existing native link.",
- "properties": {
- "body": {
- "additionalProperties": false,
- "description": "Patch with a URL, label or both. Omitted fields stay unchanged.",
- "properties": {
- "description": {
- "description": "Replacement display label. Null clears the label.",
- "type": [
- "string",
- "null"
- ]
- },
- "url": {
- "description": "Replacement destination URL.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "card_id": {
- "description": "Numeric ID of the card that owns these records.",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "link_id": {
- "description": "Link record ID from list_card_external_links.",
- "exclusiveMinimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "card_id",
- "body",
- "link_id"
- ],
- "type": "object"
- },
- "operation": {
- "const": "update_card_external_link",
- "description": "Change a URL or its label on an existing native link.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": false,
- "description": "Delete the selected native URL-link record. Removing it leaves the linked destination intact.",
- "properties": {
- "card_id": {
- "description": "Numeric ID of the card that owns these records.",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "link_id": {
- "description": "Link record ID from list_card_external_links.",
- "exclusiveMinimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "card_id",
- "link_id"
- ],
- "type": "object"
- },
- "operation": {
- "const": "remove_card_external_link",
- "description": "Delete the selected native URL-link record. Removing it leaves the linked destination intact.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": false,
- "description": "Attach an existing Kaiten user as a card member. Use list_allowed_card_users to check eligible users for this card.",
- "properties": {
- "card_id": {
- "description": "Numeric ID of the card that owns these records.",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "user_id": {
- "description": "Numeric Kaiten user ID from workspace or eligible-user lookup.",
- "exclusiveMinimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "card_id",
- "user_id"
- ],
- "type": "object"
- },
- "operation": {
- "const": "add_card_member",
- "description": "Attach an existing Kaiten user as a card member. Use list_allowed_card_users to check eligible users for this card.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": false,
- "description": "Make an existing member responsible for the card. Read memberships first to resolve the membership ID.",
- "properties": {
- "card_id": {
- "description": "Numeric ID of the card that owns these records.",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "member_id": {
- "description": "Membership record id from list_card_members, separate from the user_id.",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "type": {
- "const": 2,
- "description": "Membership role code 2 assigns responsibility.",
- "type": "number"
- }
- },
- "required": [
- "card_id",
- "member_id",
- "type"
- ],
- "type": "object"
- },
- "operation": {
- "const": "update_card_member_role",
- "description": "Make an existing member responsible for the card. Read memberships first to resolve the membership ID.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": false,
- "description": "Detach a member from a card, removing that card membership and its role.",
- "properties": {
- "card_id": {
- "description": "Numeric ID of the card that owns these records.",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "member_id": {
- "description": "Membership record id from list_card_members, separate from the user_id.",
- "exclusiveMinimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "card_id",
- "member_id"
- ],
- "type": "object"
- },
- "operation": {
- "const": "remove_card_member",
- "description": "Detach a member from a card, removing that card membership and its role.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": false,
- "description": "Attach a tag by name. Kaiten may create a tag with that name if it does not yet exist.",
- "properties": {
- "card_id": {
- "description": "Numeric ID of the card that owns these records.",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "name": {
- "description": "Name of the tag to attach or create.",
- "type": "string"
- }
- },
- "required": [
- "card_id",
- "name"
- ],
- "type": "object"
- },
- "operation": {
- "const": "add_card_tag",
- "description": "Attach a tag by name. Kaiten may create a tag with that name if it does not yet exist.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": false,
- "description": "Remove a tag from this card while keeping the tag itself available.",
- "properties": {
- "card_id": {
- "description": "Numeric ID of the card that owns these records.",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "tag_id": {
- "description": "Tag ID attached to the card, from list_card_tags.",
- "exclusiveMinimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "card_id",
- "tag_id"
- ],
- "type": "object"
- },
- "operation": {
- "const": "remove_card_tag",
- "description": "Remove a tag from this card while keeping the tag itself available.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": false,
- "description": "Attach an existing card as a child. Use cards_write create_card first when the child does not exist.",
- "properties": {
- "child_card_id": {
- "description": "Numeric ID of the existing child card. Use the returned child id from list_card_children.",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "parent_card_id": {
- "description": "Numeric card ID of the existing parent that owns the child relationship.",
- "exclusiveMinimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "parent_card_id",
- "child_card_id"
- ],
- "type": "object"
- },
- "operation": {
- "const": "add_card_child",
- "description": "Attach an existing card as a child. Use cards_write create_card first when the child does not exist.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": false,
- "description": "Unlink an existing child from its parent. The child ID comes from list_card_children, and both cards remain available.",
- "properties": {
- "child_card_id": {
- "description": "Numeric ID of the existing child card. Use the returned child id from list_card_children.",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "parent_card_id": {
- "description": "Numeric card ID of the existing parent that owns the child relationship.",
- "exclusiveMinimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "parent_card_id",
- "child_card_id"
- ],
- "type": "object"
- },
- "operation": {
- "const": "remove_card_child",
- "description": "Unlink an existing child from its parent. The child ID comes from list_card_children, and both cards remain available.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": false,
- "description": "Create an impediment record on a card. Provide a reason or link an existing impediment card. Capture the returned blocker record ID.",
- "properties": {
- "body": {
- "additionalProperties": false,
- "description": "Provide a reason, a blocker card ID or both.",
- "properties": {
- "blocker_card_id": {
- "description": "ID of the card causing the impediment, if applicable.",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "reason": {
- "description": "Human-readable explanation of what is blocking this card.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "card_id": {
- "description": "Numeric ID of the card that owns these records.",
- "exclusiveMinimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "card_id",
- "body"
- ],
- "type": "object"
- },
- "operation": {
- "const": "block_card",
- "description": "Create an impediment record on a card. Provide a reason or link an existing impediment card. Capture the returned blocker record ID.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": false,
- "description": "Edit a blocker’s reason, linked impediment or due date. Supply a reason or blocker_card_id with the changes.",
- "properties": {
- "blocker_id": {
- "description": "Blocker record ID from list_card_blockers.",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "body": {
- "additionalProperties": false,
- "description": "Patch of one blocker. Provide a reason or blocker card ID; deadline fields can accompany it.",
- "properties": {
- "blocker_card_id": {
- "description": "New ID of the card causing the impediment.",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "due_date": {
- "description": "Blocker due date. Null clears it.",
- "type": [
- "string",
- "null"
- ]
- },
- "due_date_time_present": {
- "description": "Whether the date includes a display time. Null clears the indicator.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "reason": {
- "description": "Replacement explanation of the impediment.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "card_id": {
- "description": "Numeric ID of the card that owns these records.",
- "exclusiveMinimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "card_id",
- "blocker_id",
- "body"
- ],
- "type": "object"
- },
- "operation": {
- "const": "update_card_blocker",
- "description": "Edit a blocker’s reason, linked impediment or due date. Supply a reason or blocker_card_id with the changes.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": false,
- "description": "Release the specified impediment from one card. Use the blocker record ID to choose which impediment to release.",
- "properties": {
- "blocker_id": {
- "description": "Blocker record ID from list_card_blockers.",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "card_id": {
- "description": "Numeric ID of the card that owns these records.",
- "exclusiveMinimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "card_id",
- "blocker_id"
- ],
- "type": "object"
- },
- "operation": {
- "const": "release_card_blocker",
- "description": "Release the specified impediment from one card. Use the blocker record ID to choose which impediment to release.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": false,
- "description": "Link a user to a specific blocker record. For participation on the card itself, use add_card_member.",
- "properties": {
- "blocker_id": {
- "description": "Blocker record ID from list_card_blockers.",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "user_id": {
- "description": "Numeric Kaiten user ID from workspace or eligible-user lookup.",
- "exclusiveMinimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "blocker_id",
- "user_id"
- ],
- "type": "object"
- },
- "operation": {
- "const": "add_blocker_user",
- "description": "Link a user to a specific blocker record. For participation on the card itself, use add_card_member.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": false,
- "description": "Detach a user from a blocker while retaining the blocker record and underlying card membership.",
- "properties": {
- "blocker_id": {
- "description": "Blocker record ID from list_card_blockers.",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "user_id": {
- "description": "Numeric Kaiten user ID from workspace or eligible-user lookup.",
- "exclusiveMinimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "blocker_id",
- "user_id"
- ],
- "type": "object"
- },
- "operation": {
- "const": "remove_blocker_user",
- "description": "Detach a user from a blocker while retaining the blocker record and underlying card membership.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": false,
- "description": "Attach a named category to a blocker, creating the category if Kaiten needs to.",
- "properties": {
- "blocker_id": {
- "description": "Blocker record ID from list_card_blockers.",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "name": {
- "description": "Category name to link to the blocker.",
- "type": "string"
- }
- },
- "required": [
- "blocker_id",
- "name"
- ],
- "type": "object"
- },
- "operation": {
- "const": "add_blocker_category",
- "description": "Attach a named category to a blocker, creating the category if Kaiten needs to.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": false,
- "description": "Detach a category from a blocker. Obtain its category UID from list_blocker_categories.",
- "properties": {
- "blocker_id": {
- "description": "Blocker record ID from list_card_blockers.",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "category_uuid": {
- "description": "UID of the category to detach from this blocker.",
- "type": "string"
- }
- },
- "required": [
- "blocker_id",
- "category_uuid"
- ],
- "type": "object"
- },
- "operation": {
- "const": "remove_blocker_category",
- "description": "Detach a category from a blocker. Obtain its category UID from list_blocker_categories.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": false,
- "description": "Create a scheduling dependency between two existing cards. Use add_card_child for hierarchy and block_card for an impediment.",
- "properties": {
- "body": {
- "additionalProperties": false,
- "description": "Target card and the dates this scheduling dependency connects.",
- "properties": {
- "target_card_id": {
- "description": "Numeric card ID on the target side of the scheduling dependency.",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "type": {
- "anyOf": [
- {
- "const": "end-start",
- "type": "string"
- },
- {
- "const": "start-start",
- "type": "string"
- },
- {
- "const": "end-end",
- "type": "string"
- },
- {
- "const": "start-end",
- "type": "string"
- }
- ],
- "description": "Which source and target dates are linked: end-start, start-start, end-end or start-end."
- }
- },
- "required": [
- "target_card_id",
- "type"
- ],
- "type": "object"
- },
- "card_id": {
- "description": "Numeric card ID on the source side of the scheduling dependency.",
- "exclusiveMinimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "card_id",
- "body"
- ],
- "type": "object"
- },
- "operation": {
- "const": "add_planned_relation",
- "description": "Create a scheduling dependency between two existing cards. Use add_card_child for hierarchy and block_card for an impediment.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": false,
- "description": "Change a scheduling dependency’s date endpoints or signed gap. To clear the gap, supply null for both gap and gap_type.",
- "properties": {
- "body": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "gap": {
- "description": "Signed gap between the connected dates. Set both gap and gap_type to null to clear it.",
- "type": "number"
- },
- "gap_type": {
- "anyOf": [
- {
- "const": "hours",
- "type": "string"
- },
- {
- "const": "days",
- "type": "string"
- }
- ],
- "description": "Unit for gap: hours or days."
- },
- "type": {
- "anyOf": [
- {
- "const": "end-start",
- "type": "string"
- },
- {
- "const": "start-start",
- "type": "string"
- },
- {
- "const": "end-end",
- "type": "string"
- },
- {
- "const": "start-end",
- "type": "string"
- }
- ],
- "description": "Which source and target dates are linked: end-start, start-start, end-end or start-end."
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "gap": {
- "description": "Signed gap between the connected dates. Set both gap and gap_type to null to clear it.",
- "type": "number"
- },
- "gap_type": {
- "anyOf": [
- {
- "const": "hours",
- "type": "string"
- },
- {
- "const": "days",
- "type": "string"
- }
- ],
- "description": "Unit for gap: hours or days."
- },
- "type": {
- "anyOf": [
- {
- "const": "end-start",
- "type": "string"
- },
- {
- "const": "start-start",
- "type": "string"
- },
- {
- "const": "end-end",
- "type": "string"
- },
- {
- "const": "start-end",
- "type": "string"
- }
- ],
- "description": "Which source and target dates are linked: end-start, start-start, end-end or start-end."
- }
- },
- "required": [
- "gap"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "gap": {
- "description": "Signed gap between the connected dates. Set both gap and gap_type to null to clear it.",
- "type": "number"
- },
- "gap_type": {
- "anyOf": [
- {
- "const": "hours",
- "type": "string"
- },
- {
- "const": "days",
- "type": "string"
- }
- ],
- "description": "Unit for gap: hours or days."
- },
- "type": {
- "anyOf": [
- {
- "const": "end-start",
- "type": "string"
- },
- {
- "const": "start-start",
- "type": "string"
- },
- {
- "const": "end-end",
- "type": "string"
- },
- {
- "const": "start-end",
- "type": "string"
- }
- ],
- "description": "Which source and target dates are linked: end-start, start-start, end-end or start-end."
- }
- },
- "required": [
- "gap_type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "gap": {
- "description": "Signed gap between the connected dates. Set both gap and gap_type to null to clear it.",
- "type": "null"
- },
- "gap_type": {
- "description": "Unit for gap: hours or days.",
- "type": "null"
- },
- "type": {
- "anyOf": [
- {
- "const": "end-start",
- "type": "string"
- },
- {
- "const": "start-start",
- "type": "string"
- },
- {
- "const": "end-end",
- "type": "string"
- },
- {
- "const": "start-end",
- "type": "string"
- }
- ],
- "description": "Which source and target dates are linked: end-start, start-start, end-end or start-end."
- }
- },
- "required": [
- "gap",
- "gap_type"
- ],
- "type": "object"
- }
- ],
- "description": "Partial dependency patch. A partial change of the gap or its units requires an existing gap."
- },
- "card_id": {
- "description": "Numeric card ID on the source side of the scheduling dependency.",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "target_card_id": {
- "description": "Numeric card ID on the target side of the scheduling dependency.",
- "exclusiveMinimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "card_id",
- "target_card_id",
- "body"
- ],
- "type": "object"
- },
- "operation": {
- "const": "update_planned_relation",
- "description": "Change a scheduling dependency’s date endpoints or signed gap. To clear the gap, supply null for both gap and gap_type.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "args": {
- "additionalProperties": false,
- "description": "Delete the scheduling dependency between the source and target cards. Both cards remain available.",
- "properties": {
- "card_id": {
- "description": "Numeric card ID on the source side of the scheduling dependency.",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "target_card_id": {
- "description": "Numeric card ID on the target side of the scheduling dependency.",
- "exclusiveMinimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "card_id",
- "target_card_id"
- ],
- "type": "object"
- },
- "operation": {
- "const": "remove_planned_relation",
- "description": "Delete the scheduling dependency between the source and target cards. Both cards remain available.",
- "type": "string"
- }
- },
- "required": [
- "operation",
- "args"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "description": "Post a comment with text. The result includes native comment identifiers and any attachment metadata.",
+ "properties": {
+ "card_id": {
+ "description": "Numeric ID of the card that owns these records.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "text": {
+ "description": "Text to post on the selected card’s comment thread.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "card_id",
+ "text"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Post a comment through Kaiten’s multipart contract when a legacy file must accompany the text. For a new restricted attachment use content_write after creating the comment.",
+ "properties": {
+ "card_id": {
+ "description": "Numeric ID of the card that owns these records.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "form": {
+ "description": "Ordered Kaiten multipart form parts, including repeated names. The configured decoded byte limit applies across all file parts.",
+ "items": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "description": "Multipart form field name. Use text for the comment body.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "value": {
+ "description": "String value for this form field.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "value"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "file": {
+ "additionalProperties": false,
+ "description": "File part with padded base64 bytes, optional filename and MIME type.",
+ "properties": {
+ "data_base64": {
+ "description": "Canonical padded base64, without a data URL prefix; empty files are allowed.",
+ "type": "string"
+ },
+ "filename": {
+ "description": "Filename to send to Kaiten. Defaults to file.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "mime_type": {
+ "description": "Content type of the uploaded bytes. Defaults to application/octet-stream.",
+ "minLength": 1,
+ "pattern": "^[\\x20-\\x7e]+$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "data_base64"
+ ],
+ "type": "object"
+ },
+ "name": {
+ "description": "Legacy file field name, normally files[].",
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "file"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "card_id",
+ "form"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "operation": {
+ "const": "add_comment",
+ "description": "Choose the add_comment argument form matching your task.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "description": "Replace the selected comment’s text. Resolve the comment’s numeric ID from the card’s thread.",
+ "properties": {
+ "card_id": {
+ "description": "Numeric ID of the card that owns these records.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "comment_id": {
+ "description": "Numeric comment id from list_comments. For a separate restricted file upload, use the comment UID from the full read.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "text": {
+ "description": "Replacement text for the comment.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "card_id",
+ "comment_id",
+ "text"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Edit a comment through Kaiten’s multipart contract for legacy file parts. Submit text and files as ordered parts.",
+ "properties": {
+ "card_id": {
+ "description": "Numeric ID of the card that owns these records.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "comment_id": {
+ "description": "Numeric comment id from list_comments. For a separate restricted file upload, use the comment UID from the full read.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "form": {
+ "description": "Ordered Kaiten multipart form parts, including repeated names. The configured decoded byte limit applies across all file parts.",
+ "items": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "description": "Multipart form field name. Use text for the comment body.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "value": {
+ "description": "String value for this form field.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "value"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "file": {
+ "additionalProperties": false,
+ "description": "File part with padded base64 bytes, optional filename and MIME type.",
+ "properties": {
+ "data_base64": {
+ "description": "Canonical padded base64, without a data URL prefix; empty files are allowed.",
+ "type": "string"
+ },
+ "filename": {
+ "description": "Filename to send to Kaiten. Defaults to file.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "mime_type": {
+ "description": "Content type of the uploaded bytes. Defaults to application/octet-stream.",
+ "minLength": 1,
+ "pattern": "^[\\x20-\\x7e]+$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "data_base64"
+ ],
+ "type": "object"
+ },
+ "name": {
+ "description": "Legacy file field name, normally files[].",
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "file"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "card_id",
+ "comment_id",
+ "form"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "operation": {
+ "const": "update_comment",
+ "description": "Choose the update_comment argument form matching your task.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "additionalProperties": false,
+ "description": "Remove a comment from its card thread. Choose update_comment to retain the record and correct its text.",
+ "properties": {
+ "card_id": {
+ "description": "Numeric ID of the card that owns these records.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "comment_id": {
+ "description": "Numeric comment id from list_comments. For a separate restricted file upload, use the comment UID from the full read.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "card_id",
+ "comment_id"
+ ],
+ "type": "object"
+ },
+ "operation": {
+ "const": "delete_comment",
+ "description": "Remove a comment from its card thread. Choose update_comment to retain the record and correct its text.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "additionalProperties": false,
+ "description": "Create a native URL-link record. For URL values stored in a custom field, choose custom_properties_write.",
+ "properties": {
+ "card_id": {
+ "description": "Numeric ID of the card that owns these records.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "description": {
+ "anyOf": [
+ {
+ "maxLength": 512,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Optional display label for the link."
+ },
+ "url": {
+ "description": "Destination URL for the native card link.",
+ "format": "uri",
+ "maxLength": 16384,
+ "type": "string"
+ }
+ },
+ "required": [
+ "card_id",
+ "url"
+ ],
+ "type": "object"
+ },
+ "operation": {
+ "const": "add_card_external_link",
+ "description": "Create a native URL-link record. For URL values stored in a custom field, choose custom_properties_write.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "additionalProperties": false,
+ "description": "Change a URL or its label on an existing native link.",
+ "properties": {
+ "body": {
+ "additionalProperties": false,
+ "description": "Patch with a URL, label or both. Omitted fields stay unchanged.",
+ "properties": {
+ "description": {
+ "anyOf": [
+ {
+ "maxLength": 512,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Replacement display label. Null clears the label."
+ },
+ "url": {
+ "description": "Replacement destination URL.",
+ "format": "uri",
+ "maxLength": 16384,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "card_id": {
+ "description": "Numeric ID of the card that owns these records.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "link_id": {
+ "description": "Link record ID from list_card_external_links.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "card_id",
+ "body",
+ "link_id"
+ ],
+ "type": "object"
+ },
+ "operation": {
+ "const": "update_card_external_link",
+ "description": "Change a URL or its label on an existing native link.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "additionalProperties": false,
+ "description": "Delete the selected native URL-link record. Removing it leaves the linked destination intact.",
+ "properties": {
+ "card_id": {
+ "description": "Numeric ID of the card that owns these records.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "link_id": {
+ "description": "Link record ID from list_card_external_links.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "card_id",
+ "link_id"
+ ],
+ "type": "object"
+ },
+ "operation": {
+ "const": "remove_card_external_link",
+ "description": "Delete the selected native URL-link record. Removing it leaves the linked destination intact.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "additionalProperties": false,
+ "description": "Attach an existing Kaiten user as a card member. Use list_allowed_card_users to check eligible users for this card.",
+ "properties": {
+ "card_id": {
+ "description": "Numeric ID of the card that owns these records.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "user_id": {
+ "description": "Numeric Kaiten user ID from workspace or eligible-user lookup.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "card_id",
+ "user_id"
+ ],
+ "type": "object"
+ },
+ "operation": {
+ "const": "add_card_member",
+ "description": "Attach an existing Kaiten user as a card member. Use list_allowed_card_users to check eligible users for this card.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "additionalProperties": false,
+ "description": "Make an existing member responsible for the card. Read memberships first to resolve the membership ID.",
+ "properties": {
+ "card_id": {
+ "description": "Numeric ID of the card that owns these records.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "member_id": {
+ "description": "Membership record id from list_card_members, separate from the user_id.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "type": {
+ "const": 2,
+ "description": "Membership role code 2 assigns responsibility.",
+ "type": "number"
+ }
+ },
+ "required": [
+ "card_id",
+ "member_id",
+ "type"
+ ],
+ "type": "object"
+ },
+ "operation": {
+ "const": "update_card_member_role",
+ "description": "Make an existing member responsible for the card. Read memberships first to resolve the membership ID.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "additionalProperties": false,
+ "description": "Detach a member from a card, removing that card membership and its role.",
+ "properties": {
+ "card_id": {
+ "description": "Numeric ID of the card that owns these records.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "member_id": {
+ "description": "Membership record id from list_card_members, separate from the user_id.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "card_id",
+ "member_id"
+ ],
+ "type": "object"
+ },
+ "operation": {
+ "const": "remove_card_member",
+ "description": "Detach a member from a card, removing that card membership and its role.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "additionalProperties": false,
+ "description": "Attach a tag by name. Kaiten may create a tag with that name if it does not yet exist.",
+ "properties": {
+ "card_id": {
+ "description": "Numeric ID of the card that owns these records.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "name": {
+ "description": "Name of the tag to attach or create.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "card_id",
+ "name"
+ ],
+ "type": "object"
+ },
+ "operation": {
+ "const": "add_card_tag",
+ "description": "Attach a tag by name. Kaiten may create a tag with that name if it does not yet exist.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "additionalProperties": false,
+ "description": "Remove a tag from this card while keeping the tag itself available.",
+ "properties": {
+ "card_id": {
+ "description": "Numeric ID of the card that owns these records.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "tag_id": {
+ "description": "Tag ID attached to the card, from list_card_tags.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "card_id",
+ "tag_id"
+ ],
+ "type": "object"
+ },
+ "operation": {
+ "const": "remove_card_tag",
+ "description": "Remove a tag from this card while keeping the tag itself available.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "additionalProperties": false,
+ "description": "Attach an existing card as a child. Use cards_write create_card first when the child does not exist.",
+ "properties": {
+ "child_card_id": {
+ "description": "Numeric ID of the existing child card. Use the returned child id from list_card_children.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "parent_card_id": {
+ "description": "Numeric card ID of the existing parent that owns the child relationship.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "parent_card_id",
+ "child_card_id"
+ ],
+ "type": "object"
+ },
+ "operation": {
+ "const": "add_card_child",
+ "description": "Attach an existing card as a child. Use cards_write create_card first when the child does not exist.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "additionalProperties": false,
+ "description": "Unlink an existing child from its parent. The child ID comes from list_card_children, and both cards remain available.",
+ "properties": {
+ "child_card_id": {
+ "description": "Numeric ID of the existing child card. Use the returned child id from list_card_children.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "parent_card_id": {
+ "description": "Numeric card ID of the existing parent that owns the child relationship.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "parent_card_id",
+ "child_card_id"
+ ],
+ "type": "object"
+ },
+ "operation": {
+ "const": "remove_card_child",
+ "description": "Unlink an existing child from its parent. The child ID comes from list_card_children, and both cards remain available.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "additionalProperties": false,
+ "description": "Create an impediment record on a card. Provide a reason or link an existing impediment card. Capture the returned blocker record ID.",
+ "properties": {
+ "body": {
+ "additionalProperties": false,
+ "description": "Provide a reason, a blocker card ID or both.",
+ "properties": {
+ "blocker_card_id": {
+ "description": "ID of the card causing the impediment, if applicable.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "reason": {
+ "description": "Human-readable explanation of what is blocking this card.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "card_id": {
+ "description": "Numeric ID of the card that owns these records.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "card_id",
+ "body"
+ ],
+ "type": "object"
+ },
+ "operation": {
+ "const": "block_card",
+ "description": "Create an impediment record on a card. Provide a reason or link an existing impediment card. Capture the returned blocker record ID.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "additionalProperties": false,
+ "description": "Edit a blocker’s reason, linked impediment or due date. Supply a reason or blocker_card_id with the changes.",
+ "properties": {
+ "blocker_id": {
+ "description": "Blocker record ID from list_card_blockers.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "body": {
+ "additionalProperties": false,
+ "description": "Patch of one blocker. Provide a reason or blocker card ID; deadline fields can accompany it.",
+ "properties": {
+ "blocker_card_id": {
+ "description": "New ID of the card causing the impediment.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "due_date": {
+ "description": "Blocker due date. Null clears it.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "due_date_time_present": {
+ "description": "Whether the date includes a display time. Null clears the indicator.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "reason": {
+ "description": "Replacement explanation of the impediment.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "card_id": {
+ "description": "Numeric ID of the card that owns these records.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "card_id",
+ "blocker_id",
+ "body"
+ ],
+ "type": "object"
+ },
+ "operation": {
+ "const": "update_card_blocker",
+ "description": "Edit a blocker’s reason, linked impediment or due date. Supply a reason or blocker_card_id with the changes.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "additionalProperties": false,
+ "description": "Release the specified impediment from one card. Use the blocker record ID to choose which impediment to release.",
+ "properties": {
+ "blocker_id": {
+ "description": "Blocker record ID from list_card_blockers.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "card_id": {
+ "description": "Numeric ID of the card that owns these records.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "card_id",
+ "blocker_id"
+ ],
+ "type": "object"
+ },
+ "operation": {
+ "const": "release_card_blocker",
+ "description": "Release the specified impediment from one card. Use the blocker record ID to choose which impediment to release.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "additionalProperties": false,
+ "description": "Link a user to a specific blocker record. For participation on the card itself, use add_card_member.",
+ "properties": {
+ "blocker_id": {
+ "description": "Blocker record ID from list_card_blockers.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "user_id": {
+ "description": "Numeric Kaiten user ID from workspace or eligible-user lookup.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "blocker_id",
+ "user_id"
+ ],
+ "type": "object"
+ },
+ "operation": {
+ "const": "add_blocker_user",
+ "description": "Link a user to a specific blocker record. For participation on the card itself, use add_card_member.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "additionalProperties": false,
+ "description": "Detach a user from a blocker while retaining the blocker record and underlying card membership.",
+ "properties": {
+ "blocker_id": {
+ "description": "Blocker record ID from list_card_blockers.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "user_id": {
+ "description": "Numeric Kaiten user ID from workspace or eligible-user lookup.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "blocker_id",
+ "user_id"
+ ],
+ "type": "object"
+ },
+ "operation": {
+ "const": "remove_blocker_user",
+ "description": "Detach a user from a blocker while retaining the blocker record and underlying card membership.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "additionalProperties": false,
+ "description": "Attach a named category to a blocker, creating the category if Kaiten needs to.",
+ "properties": {
+ "blocker_id": {
+ "description": "Blocker record ID from list_card_blockers.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "name": {
+ "description": "Category name to link to the blocker.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "blocker_id",
+ "name"
+ ],
+ "type": "object"
+ },
+ "operation": {
+ "const": "add_blocker_category",
+ "description": "Attach a named category to a blocker, creating the category if Kaiten needs to.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "additionalProperties": false,
+ "description": "Detach a category from a blocker. Obtain its category UID from list_blocker_categories.",
+ "properties": {
+ "blocker_id": {
+ "description": "Blocker record ID from list_card_blockers.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "category_uuid": {
+ "description": "UID of the category to detach from this blocker.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "blocker_id",
+ "category_uuid"
+ ],
+ "type": "object"
+ },
+ "operation": {
+ "const": "remove_blocker_category",
+ "description": "Detach a category from a blocker. Obtain its category UID from list_blocker_categories.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "additionalProperties": false,
+ "description": "Create a scheduling dependency between two existing cards. Use add_card_child for hierarchy and block_card for an impediment.",
+ "properties": {
+ "body": {
+ "additionalProperties": false,
+ "description": "Target card and the dates this scheduling dependency connects.",
+ "properties": {
+ "target_card_id": {
+ "description": "Numeric card ID on the target side of the scheduling dependency.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "type": {
+ "anyOf": [
+ {
+ "const": "end-start",
+ "type": "string"
+ },
+ {
+ "const": "start-start",
+ "type": "string"
+ },
+ {
+ "const": "end-end",
+ "type": "string"
+ },
+ {
+ "const": "start-end",
+ "type": "string"
+ }
+ ],
+ "description": "Which source and target dates are linked: end-start, start-start, end-end or start-end."
+ }
+ },
+ "required": [
+ "target_card_id",
+ "type"
+ ],
+ "type": "object"
+ },
+ "card_id": {
+ "description": "Numeric card ID on the source side of the scheduling dependency.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "card_id",
+ "body"
+ ],
+ "type": "object"
+ },
+ "operation": {
+ "const": "add_planned_relation",
+ "description": "Create a scheduling dependency between two existing cards. Use add_card_child for hierarchy and block_card for an impediment.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "additionalProperties": false,
+ "description": "Change a scheduling dependency’s date endpoints or signed gap. To clear the gap, supply null for both gap and gap_type.",
+ "properties": {
+ "body": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "gap": {
+ "description": "Signed gap between the connected dates. Set both gap and gap_type to null to clear it.",
+ "type": "number"
+ },
+ "gap_type": {
+ "anyOf": [
+ {
+ "const": "hours",
+ "type": "string"
+ },
+ {
+ "const": "days",
+ "type": "string"
+ }
+ ],
+ "description": "Unit for gap: hours or days."
+ },
+ "type": {
+ "anyOf": [
+ {
+ "const": "end-start",
+ "type": "string"
+ },
+ {
+ "const": "start-start",
+ "type": "string"
+ },
+ {
+ "const": "end-end",
+ "type": "string"
+ },
+ {
+ "const": "start-end",
+ "type": "string"
+ }
+ ],
+ "description": "Which source and target dates are linked: end-start, start-start, end-end or start-end."
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "gap": {
+ "description": "Signed gap between the connected dates. Set both gap and gap_type to null to clear it.",
+ "type": "number"
+ },
+ "gap_type": {
+ "anyOf": [
+ {
+ "const": "hours",
+ "type": "string"
+ },
+ {
+ "const": "days",
+ "type": "string"
+ }
+ ],
+ "description": "Unit for gap: hours or days."
+ },
+ "type": {
+ "anyOf": [
+ {
+ "const": "end-start",
+ "type": "string"
+ },
+ {
+ "const": "start-start",
+ "type": "string"
+ },
+ {
+ "const": "end-end",
+ "type": "string"
+ },
+ {
+ "const": "start-end",
+ "type": "string"
+ }
+ ],
+ "description": "Which source and target dates are linked: end-start, start-start, end-end or start-end."
+ }
+ },
+ "required": [
+ "gap"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "gap": {
+ "description": "Signed gap between the connected dates. Set both gap and gap_type to null to clear it.",
+ "type": "number"
+ },
+ "gap_type": {
+ "anyOf": [
+ {
+ "const": "hours",
+ "type": "string"
+ },
+ {
+ "const": "days",
+ "type": "string"
+ }
+ ],
+ "description": "Unit for gap: hours or days."
+ },
+ "type": {
+ "anyOf": [
+ {
+ "const": "end-start",
+ "type": "string"
+ },
+ {
+ "const": "start-start",
+ "type": "string"
+ },
+ {
+ "const": "end-end",
+ "type": "string"
+ },
+ {
+ "const": "start-end",
+ "type": "string"
+ }
+ ],
+ "description": "Which source and target dates are linked: end-start, start-start, end-end or start-end."
+ }
+ },
+ "required": [
+ "gap_type"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "gap": {
+ "description": "Signed gap between the connected dates. Set both gap and gap_type to null to clear it.",
+ "type": "null"
+ },
+ "gap_type": {
+ "description": "Unit for gap: hours or days.",
+ "type": "null"
+ },
+ "type": {
+ "anyOf": [
+ {
+ "const": "end-start",
+ "type": "string"
+ },
+ {
+ "const": "start-start",
+ "type": "string"
+ },
+ {
+ "const": "end-end",
+ "type": "string"
+ },
+ {
+ "const": "start-end",
+ "type": "string"
+ }
+ ],
+ "description": "Which source and target dates are linked: end-start, start-start, end-end or start-end."
+ }
+ },
+ "required": [
+ "gap",
+ "gap_type"
+ ],
+ "type": "object"
+ }
+ ],
+ "description": "Partial dependency patch. A partial change of the gap or its units requires an existing gap."
+ },
+ "card_id": {
+ "description": "Numeric card ID on the source side of the scheduling dependency.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "target_card_id": {
+ "description": "Numeric card ID on the target side of the scheduling dependency.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "card_id",
+ "target_card_id",
+ "body"
+ ],
+ "type": "object"
+ },
+ "operation": {
+ "const": "update_planned_relation",
+ "description": "Change a scheduling dependency’s date endpoints or signed gap. To clear the gap, supply null for both gap and gap_type.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "args": {
+ "additionalProperties": false,
+ "description": "Delete the scheduling dependency between the source and target cards. Both cards remain available.",
+ "properties": {
+ "card_id": {
+ "description": "Numeric card ID on the source side of the scheduling dependency.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "target_card_id": {
+ "description": "Numeric card ID on the target side of the scheduling dependency.",
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "card_id",
+ "target_card_id"
+ ],
+ "type": "object"
+ },
+ "operation": {
+ "const": "remove_planned_relation",
+ "description": "Delete the scheduling dependency between the source and target cards. Both cards remain available.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation",
+ "args"
+ ],
+ "type": "object"
+ }
+]