Skip to main content
Glama

kaiten_workflows_write

Destructive

Change Kaiten iteration membership and schedules, time logs, service desk recipients, and automation rules, or route new cards through a configured incoming webhook.

Instructions

Change Kaiten iteration membership and schedules, time logs, service desk recipients and automation rules, or route a new card through a configured incoming webhook. Read current state and IDs with kaiten_workflows_read before writing.

  • Iterations. Writes require the feature and space access. Use add_iteration_member or remove_iteration_member with card_uids for 1–500 distinct cards. Kaiten checks restrictions before any bulk write. A later failure can leave earlier batches applied. delete_iteration permanently removes original links. Pass new_iteration_id for deletion or body.new_iteration_id when closing to transfer eligible cards to a planned or active iteration in the same space.

  • Time. To record an hour with add_card_time_log, pass the numeric card_id and a body such as {"time_spent":60,"for_date":"2026-11-24","role_id":-1}. Edits use the time_log_id returned for that card.

  • Recipients and rules. Check the service’s recipient policy. Read the current automation before replacing its action list or condition tree. Deleting a rule leaves its past card changes in place.

  • Card creation. Use send_card_webhook for the explicitly configured destination. The secret URL determines routing and Kaiten’s REST token stays off the webhook request. Use kaiten_cards_write for normal card creation. Failures including HTTP 429 are returned without automatic retries. Re-read upstream state before retrying a write with an uncertain outcome.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "request": "<request>"
    },
    "name": "kaiten_workflows_write"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYesChoose an operation, then provide its corresponding args object.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv4.0.0
    • changedInput schema / properties / request / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "args": {
      -        "additionalProperties": false,
      -        "description": "Create a planned iteration in a space with Iterations enabled.",
      -        "properties": {
      -          "body": {
      -            "additionalProperties": false,
      -            "description": "The planned iteration title, goal and dates.",
      -            "properties": {
      -              "finish_date": {
      -                "description": "Planned finish as ISO 8601; null clears it.",
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "goal": {
      -                "description": "Optional goal. Null leaves it unset.",
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "start_date": {
      -                "description": "Planned start as ISO 8601; null clears it.",
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "title": {
      -                "description": "Title displayed for the new iteration.",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "title"
      -            ],
      -            "type": "object"
      -          },
      -          "space_uid": {
      -            "description": "Space UUID from workspace discovery, distinct from the numeric space_id.",
      -            "minLength": 1,
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "space_uid",
      -          "body"
      -        ],
      -        "type": "object"
      -      },
      -      "operation": {
      -        "const": "create_iteration",
      -        "description": "Create a planned iteration in a space with Iterations enabled.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "operation",
      -      "args"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "args": {
      -        "additionalProperties": false,
      -        "description": "Edit the iteration or move it through planned, active and closed. Supply at least one of title, goal, status, start_date or finish_date.",
      -        "properties": {
      -          "body": {
      -            "additionalProperties": false,
      -            "description": "Fields to update. Unspecified fields keep their current values.",
      -            "properties": {
      -              "actual_finish_date": {
      -                "description": "Actual completion date, ISO 8601 or null.",
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "finish_date": {
      -                "description": "Planned finish as ISO 8601; null clears it.",
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "goal": {
      -                "description": "New goal. Null clears it.",
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "new_iteration_id": {
      -                "anyOf": [
      -                  {
      -                    "minLength": 1,
      -                    "type": "string"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ],
      -                "description": "On closure, optionally move eligible cards to this iteration in the same space."
      -              },
      -              "start_date": {
      -                "description": "Planned start as ISO 8601; null clears it.",
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "status": {
      -                "anyOf": [
      -                  {
      -                    "const": "active",
      -                    "type": "string"
      -                  },
      -                  {
      -                    "const": "planned",
      -                    "type": "string"
      -                  },
      -                  {
      -                    "const": "closed",
      -                    "type": "string"
      -                  }
      -                ],
      -                "description": "Native lifecycle state. Check the current state before moving to active or closed."
      -              },
      -              "title": {
      -                "description": "New title for this iteration.",
      -                "type": "string"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "id": {
      -            "description": "Iteration UUID from list_iterations.",
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "space_uid": {
      -            "description": "Space UUID from workspace discovery, distinct from the numeric space_id.",
      -            "minLength": 1,
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "space_uid",
      -          "id",
      -          "body"
      -        ],
      -        "type": "object"
      -      },
      -      "operation": {
      -        "const": "update_iteration",
      -        "description": "Edit the iteration or move it through planned, active and closed. Supply at least one of title, goal, status, start_date or finish_date.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "operation",
      -      "args"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "args": {
      -        "additionalProperties": false,
      -        "description": "Remove the iteration and its original card links permanently. A valid replacement can receive the cards.",
      -        "properties": {
      -          "id": {
      -            "description": "Iteration UUID from list_iterations.",
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "new_iteration_id": {
      -            "anyOf": [
      -              {
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ],
      -            "description": "Optional planned or active replacement iteration UUID from the same space. Omission sends no body; null sends an explicit empty replacement."
      -          },
      -          "space_uid": {
      -            "description": "Space UUID from workspace discovery, distinct from the numeric space_id.",
      -            "minLength": 1,
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "space_uid",
      -          "id"
      -        ],
      -        "type": "object"
      -      },
      -      "operation": {
      -        "const": "delete_iteration",
      -        "description": "Remove the iteration and its original card links permanently. A valid replacement can receive the cards.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "operation",
      -      "args"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "args": {
      -        "additionalProperties": false,
      -        "description": "Add one active card on a primary board to an iteration.",
      -        "properties": {
      -          "card_uid": {
      -            "description": "Card UUID, distinct from the numeric card_id.",
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "iteration_id": {
      -            "description": "Iteration UUID from list_iterations.",
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "space_uid": {
      -            "description": "Space UUID from workspace discovery, distinct from the numeric space_id.",
      -            "minLength": 1,
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "space_uid",
      -          "iteration_id",
      -          "card_uid"
      -        ],
      -        "type": "object"
      -      },
      -      "operation": {
      -        "const": "add_iteration_member",
      -        "description": "Add one active card on a primary board to an iteration.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "operation",
      -      "args"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "args": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "description": "Remove one card’s manual membership by card UID. This leaves the card intact. Closed iterations reject removal.",
      -            "properties": {
      -              "iteration_id": {
      -                "description": "Iteration UUID from list_iterations.",
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              "space_uid": {
      -                "description": "Space UUID from workspace discovery, distinct from the numeric space_id.",
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              "uid": {
      -                "description": "UUID of one card to remove. Use card_uid from list_iteration_memberships.",
      -                "minLength": 1,
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "space_uid",
      -              "iteration_id",
      -              "uid"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "additionalProperties": false,
      -            "description": "Bulk-remove manual memberships and return the records actually removed. Kaiten ignores cards outside the iteration and checks all restrictions before writing. Writes run in batches of up to 100, so an execution error can leave earlier batches applied. Read back memberships before retrying.",
      -            "properties": {
      -              "card_uids": {
      -                "description": "Supply 1 to 500 distinct card UIDs from list_iteration_memberships for the bulk form.",
      -                "items": {
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                "maxItems": 500,
      -                "minItems": 1,
      -                "type": "array",
      -                "uniqueItems": true
      -              },
      -              "iteration_id": {
      -                "description": "Iteration UUID from list_iterations.",
      -                "minLength": 1,
      -                "type": "string"
      -              },
      -              "space_uid": {
      -                "description": "Space UUID from workspace discovery, distinct from the numeric space_id.",
      -                "minLength": 1,
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "space_uid",
      -              "iteration_id",
      -              "card_uids"
      -            ],
      -            "type": "object"
      -          }
      -        ]
      -      },
      -      "operation": {
      -        "const": "remove_iteration_member",
      -        "description": "Choose the remove_iteration_member argument form matching your task.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "operation",
      -      "args"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "args": {
      -        "additionalProperties": false,
      -        "description": "Record time in minutes for the given card and calendar date.",
      -        "properties": {
      -          "body": {
      -            "additionalProperties": false,
      -            "description": "Work date, role and duration.",
      -            "properties": {
      -              "comment": {
      -                "description": "Optional note for this work. An empty string is passed through.",
      -                "type": "string"
      -              },
      -              "for_date": {
      -                "description": "Calendar date in YYYY-MM-DD.",
      -                "format": "date",
      -                "type": "string"
      -              },
      -              "role_id": {
      -                "anyOf": [
      -                  {
      -                    "const": -1,
      -                    "type": "number"
      -                  },
      -                  {
      -                    "exclusiveMinimum": 0,
      -                    "type": "integer"
      -                  }
      -                ],
      -                "description": "Role ID from workspace role lookup. Pass -1 for the built-in Employee role."
      -              },
      -              "time_spent": {
      -                "description": "Time spent in minutes.",
      -                "type": "number"
      -              }
      -            },
      -            "required": [
      -              "role_id",
      -              "time_spent",
      -              "for_date"
      -            ],
      -            "type": "object"
      -          },
      -          "card_id": {
      -            "description": "Numeric card ID from card search or details.",
      -            "exclusiveMinimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "card_id",
      -          "body"
      -        ],
      -        "type": "object"
      -      },
      -      "operation": {
      -        "const": "add_card_time_log",
      -        "description": "Record time in minutes for the given card and calendar date.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "operation",
      -      "args"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "args": {
      -        "additionalProperties": false,
      -        "description": "Edit at least one field of an existing time-log entry. Omitted fields stay unchanged.",
      -        "properties": {
      -          "body": {
      -            "additionalProperties": false,
      -            "description": "Fields to replace on the existing log.",
      -            "properties": {
      -              "comment": {
      -                "description": "Optional note for this work. An empty string is passed through.",
      -                "type": "string"
      -              },
      -              "for_date": {
      -                "description": "Calendar date in YYYY-MM-DD.",
      -                "format": "date",
      -                "type": "string"
      -              },
      -              "role_id": {
      -                "anyOf": [
      -                  {
      -                    "const": -1,
      -                    "type": "number"
      -                  },
      -                  {
      -                    "exclusiveMinimum": 0,
      -                    "type": "integer"
      -                  }
      -                ],
      -                "description": "Role ID from workspace role lookup. Pass -1 for the built-in Employee role."
      -              },
      -              "time_spent": {
      -                "description": "Time spent in minutes.",
      -                "type": "number"
      -              }
      -            },
      -            "type": "object"
      -          },
      -          "card_id": {
      -            "description": "Numeric card ID from card search or details.",
      -            "exclusiveMinimum": 0,
      -            "type": "integer"
      -          },
      -          "time_log_id": {
      -            "description": "ID of the log record returned by list_card_time_logs or get_timesheet.",
      -            "exclusiveMinimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "card_id",
      -          "time_log_id",
      -          "body"
      -        ],
      -        "type": "object"
      -      },
      -      "operation": {
      -        "const": "update_card_time_log",
      -        "description": "Edit at least one field of an existing time-log entry. Omitted fields stay unchanged.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "operation",
      -      "args"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "args": {
      -        "additionalProperties": false,
      -        "description": "Delete the recorded time entry; subsequent reports exclude that entry.",
      -        "properties": {
      -          "card_id": {
      -            "description": "Numeric card ID from card search or details.",
      -            "exclusiveMinimum": 0,
      -            "type": "integer"
      -          },
      -          "time_log_id": {
      -            "description": "ID of the exact log record to delete.",
      -            "exclusiveMinimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "card_id",
      -          "time_log_id"
      -        ],
      -        "type": "object"
      -      },
      -      "operation": {
      -        "const": "delete_card_time_log",
      -        "description": "Delete the recorded time entry; subsequent reports exclude that entry.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "operation",
      -      "args"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "args": {
      -        "additionalProperties": false,
      -        "description": "Add an external address to a service desk card’s notification recipients. Kaiten enforces feature and policy restrictions.",
      -        "properties": {
      -          "card_id": {
      -            "description": "Numeric card ID from card search or details.",
      -            "exclusiveMinimum": 0,
      -            "type": "integer"
      -          },
      -          "email": {
      -            "description": "Email address that should receive future card notifications.",
      -            "minLength": 1,
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "card_id",
      -          "email"
      -        ],
      -        "type": "object"
      -      },
      -      "operation": {
      -        "const": "add_service_desk_recipient",
      -        "description": "Add an external address to a service desk card’s notification recipients. Kaiten enforces feature and policy restrictions.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "operation",
      -      "args"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "args": {
      -        "additionalProperties": false,
      -        "description": "Remove an external address from future notifications on the given card.",
      -        "properties": {
      -          "card_id": {
      -            "description": "Numeric card ID from card search or details.",
      -            "exclusiveMinimum": 0,
      -            "type": "integer"
      -          },
      -          "email": {
      -            "description": "Exact configured address to remove, including any plus suffix.",
      -            "minLength": 1,
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "card_id",
      -          "email"
      -        ],
      -        "type": "object"
      -      },
      -      "operation": {
      -        "const": "remove_service_desk_recipient",
      -        "description": "Remove an external address from future notifications on the given card.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "operation",
      -      "args"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "args": {
      -        "additionalProperties": false,
      -        "description": "Configure an event, date, or on-demand rule. Event and date types require a trigger. On-demand requires a name. Supply at least one action.",
      -        "properties": {
      -          "body": {
      -            "anyOf": [
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "actions": {
      -                    "description": "Nonempty list of native actions with type and settings.",
      -                    "items": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "created": {
      -                          "type": "string"
      -                        },
      -                        "data": {
      -                          "additionalProperties": {
      -                            "$ref": "#/$defs/__schema0"
      -                          },
      -                          "propertyNames": {
      -                            "type": "string"
      -                          },
      -                          "type": "object"
      -                        },
      -                        "type": {
      -                          "minLength": 1,
      -                          "type": "string"
      -                        }
      -                      },
      -                      "required": [
      -                        "type",
      -                        "data"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "minItems": 1,
      -                    "type": "array"
      -                  },
      -                  "conditions": {
      -                    "$ref": "#/$defs/__schema1",
      -                    "description": "Recursive condition groups, joined by and/or, for triggered rules."
      -                  },
      -                  "name": {
      -                    "description": "Display name. Required for on-demand rules.",
      -                    "type": "string"
      -                  },
      -                  "trigger": {
      -                    "additionalProperties": false,
      -                    "description": "Event/date trigger type and its native settings. Applies only to triggered rules.",
      -                    "properties": {
      -                      "data": {
      -                        "additionalProperties": {
      -                          "$ref": "#/$defs/__schema0"
      -                        },
      -                        "propertyNames": {
      -                          "type": "string"
      -                        },
      -                        "type": "object"
      -                      },
      -                      "hasToFireOnCardCreation": {
      -                        "type": "boolean"
      -                      },
      -                      "type": {
      -                        "enum": [
      -                          "card_moved_in_path",
      -                          "card_created",
      -                          "comment_posted",
      -                          "card_user_added",
      -                          "responsible_added",
      -                          "card_type_changed",
      -                          "card_state_changed",
      -                          "custom_property_changed",
      -                          "due_date_changed",
      -                          "checklist_item_checked",
      -                          "checklists_completed",
      -                          "child_cards_state_changed",
      -                          "tag_added",
      -                          "tag_removed",
      -                          "blocked",
      -                          "unblocked",
      -                          "blocker_added",
      -                          "due_date_on_date",
      -                          "checklist_item_due_date_on_date",
      -                          "custom_property_date_on_date",
      -                          "all_conditions_met"
      -                        ],
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "type"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": {
      -                    "description": "on_action for an event, on_date for a date trigger, or on_demand for the named manually triggered rule.",
      -                    "enum": [
      -                      "on_action",
      -                      "on_date"
      -                    ],
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "type",
      -                  "trigger",
      -                  "actions"
      -                ],
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "actions": {
      -                    "description": "Nonempty list of native actions with type and settings.",
      -                    "items": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "created": {
      -                          "type": "string"
      -                        },
      -                        "data": {
      -                          "additionalProperties": {
      -                            "$ref": "#/$defs/__schema0"
      -                          },
      -                          "propertyNames": {
      -                            "type": "string"
      -                          },
      -                          "type": "object"
      -                        },
      -                        "type": {
      -                          "minLength": 1,
      -                          "type": "string"
      -                        }
      -                      },
      -                      "required": [
      -                        "type",
      -                        "data"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "minItems": 1,
      -                    "type": "array"
      -                  },
      -                  "name": {
      -                    "description": "Display name. Required for on-demand rules.",
      -                    "type": "string"
      -                  },
      -                  "type": {
      -                    "const": "on_demand",
      -                    "description": "on_action for an event, on_date for a date trigger, or on_demand for the named manually triggered rule.",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "type",
      -                  "name",
      -                  "actions"
      -                ],
      -                "type": "object"
      -              }
      -            ],
      -            "description": "Select the trigger-based or on-demand definition to match the intended rule."
      -          },
      -          "space_id": {
      -            "description": "Numeric space ID from workspace discovery.",
      -            "exclusiveMinimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "space_id",
      -          "body"
      -        ],
      -        "type": "object"
      -      },
      -      "operation": {
      -        "const": "create_automation",
      -        "description": "Configure an event, date, or on-demand rule. Event and date types require a trigger. On-demand requires a name. Supply at least one action.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "operation",
      -      "args"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "args": {
      -        "additionalProperties": false,
      -        "description": "Update only supplied rule fields. Provide the full desired action list or condition tree when changing it.",
      -        "properties": {
      -          "automation_uid": {
      -            "description": "Automation UID returned by list_automations for the same space.",
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "body": {
      -            "anyOf": [
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "actions": {
      -                    "description": "Complete desired action list, with at least one action if supplied.",
      -                    "items": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "created": {
      -                          "type": "string"
      -                        },
      -                        "data": {
      -                          "additionalProperties": {
      -                            "$ref": "#/$defs/__schema0"
      -                          },
      -                          "propertyNames": {
      -                            "type": "string"
      -                          },
      -                          "type": "object"
      -                        },
      -                        "type": {
      -                          "minLength": 1,
      -                          "type": "string"
      -                        }
      -                      },
      -                      "required": [
      -                        "type",
      -                        "data"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "minItems": 1,
      -                    "type": "array"
      -                  },
      -                  "conditions": {
      -                    "$ref": "#/$defs/__schema1",
      -                    "description": "Replacement recursive condition tree for a triggered rule."
      -                  },
      -                  "name": {
      -                    "description": "New display name for the rule.",
      -                    "type": "string"
      -                  },
      -                  "trigger": {
      -                    "additionalProperties": false,
      -                    "description": "Replacement trigger and settings when changing a trigger-based rule.",
      -                    "properties": {
      -                      "data": {
      -                        "additionalProperties": {
      -                          "$ref": "#/$defs/__schema0"
      -                        },
      -                        "propertyNames": {
      -                          "type": "string"
      -                        },
      -                        "type": "object"
      -                      },
      -                      "hasToFireOnCardCreation": {
      -                        "type": "boolean"
      -                      },
      -                      "type": {
      -                        "enum": [
      -                          "card_moved_in_path",
      -                          "card_created",
      -                          "comment_posted",
      -                          "card_user_added",
      -                          "responsible_added",
      -                          "card_type_changed",
      -                          "card_state_changed",
      -                          "custom_property_changed",
      -                          "due_date_changed",
      -                          "checklist_item_checked",
      -                          "checklists_completed",
      -                          "child_cards_state_changed",
      -                          "tag_added",
      -                          "tag_removed",
      -                          "blocked",
      -                          "unblocked",
      -                          "blocker_added",
      -                          "due_date_on_date",
      -                          "checklist_item_due_date_on_date",
      -                          "custom_property_date_on_date",
      -                          "all_conditions_met"
      -                        ],
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "type"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": {
      -                    "description": "Rule kind controlling which trigger fields can be supplied.",
      -                    "enum": [
      -                      "on_action",
      -                      "on_date"
      -                    ],
      -                    "type": "string"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "actions": {
      -                    "description": "Complete desired action list, with at least one action if supplied.",
      -                    "items": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "created": {
      -                          "type": "string"
      -                        },
      -                        "data": {
      -                          "additionalProperties": {
      -                            "$ref": "#/$defs/__schema0"
      -                          },
      -                          "propertyNames": {
      -                            "type": "string"
      -                          },
      -                          "type": "object"
      -                        },
      -                        "type": {
      -                          "minLength": 1,
      -                          "type": "string"
      -                        }
      -                      },
      -                      "required": [
      -                        "type",
      -                        "data"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "minItems": 1,
      -                    "type": "array"
      -                  },
      -                  "name": {
      -                    "description": "New display name for the rule.",
      -                    "type": "string"
      -                  },
      -                  "type": {
      -                    "const": "on_demand",
      -                    "description": "Rule kind controlling which trigger fields can be supplied.",
      -                    "type": "string"
      -                  }
      -                },
      -                "type": "object"
      -              }
      -            ],
      -            "description": "Fields to update. Inspect the current rule first to retain existing actions and conditions."
      -          },
      -          "space_id": {
      -            "description": "Numeric space ID from workspace discovery.",
      -            "exclusiveMinimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "space_id",
      -          "automation_uid",
      -          "body"
      -        ],
      -        "type": "object"
      -      },
      -      "operation": {
      -        "const": "update_automation",
      -        "description": "Update only supplied rule fields. Provide the full desired action list or condition tree when changing it.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "operation",
      -      "args"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "args": {
      -        "additionalProperties": false,
      -        "description": "Remove the rule by UID. Existing card changes made by it are not rolled back.",
      -        "properties": {
      -          "automation_uid": {
      -            "description": "Automation UID returned by list_automations for the same space.",
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "space_id": {
      -            "description": "Numeric space ID from workspace discovery.",
      -            "exclusiveMinimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "space_id",
      -          "automation_uid"
      -        ],
      -        "type": "object"
      -      },
      -      "operation": {
      -        "const": "delete_automation",
      -        "description": "Remove the rule by UID. Existing card changes made by it are not rolled back.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "operation",
      -      "args"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "args": {
      -        "additionalProperties": false,
      -        "description": "Create a card through a previously configured incoming webhook. HTTPS is required except for local loopback. No API token is sent and redirects are not followed.",
      -        "properties": {
      -          "body": {
      -            "additionalProperties": false,
      -            "description": "Card title and optional fields accepted by the incoming webhook.",
      -            "properties": {
      -              "asap": {
      -                "description": "Whether to mark the card urgent.",
      -                "type": "boolean"
      -              },
      -              "description": {
      -                "description": "Text to store in the description of the card.",
      -                "type": "string"
      -              },
      -              "due_date": {
      -                "description": "Native Kaiten due date sent to the webhook.",
      -                "type": "string"
      -              },
      -              "links": {
      -                "description": "External links and their optional descriptions.",
      -                "items": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "description": {
      -                      "type": [
      -                        "string",
      -                        "null"
      -                      ]
      -                    },
      -                    "url": {
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "url"
      -                  ],
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              "members": {
      -                "description": "Numeric Kaiten user IDs to include as card members.",
      -                "items": {
      -                  "exclusiveMinimum": 0,
      -                  "type": "integer"
      -                },
      -                "type": "array"
      -              },
      -              "owner_id": {
      -                "description": "Numeric Kaiten user ID to set as card owner.",
      -                "exclusiveMinimum": 0,
      -                "type": "integer"
      -              },
      -              "properties": {
      -                "additionalProperties": {
      -                  "$ref": "#/$defs/__schema2"
      -                },
      -                "description": "Native id_ property keys and values. Resolve the property definitions before assigning them.",
      -                "propertyNames": {
      -                  "pattern": "^id_[1-9]\\d*$",
      -                  "type": "string"
      -                },
      -                "type": "object"
      -              },
      -              "tags": {
      -                "description": "Tag names passed to the webhook.",
      -                "items": {
      -                  "type": "string"
      -                },
      -                "type": "array"
      -              },
      -              "title": {
      -                "description": "Title of the new card.",
      -                "minLength": 1,
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "title"
      -            ],
      -            "type": "object"
      -          },
      -          "webhook_url": {
      -            "description": "Exact secret webhook URL configured for the intended destination. Do not include it in user-facing summaries.",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "webhook_url",
      -          "body"
      -        ],
      -        "type": "object"
      -      },
      -      "operation": {
      -        "const": "send_card_webhook",
      -        "description": "Create a card through a previously configured incoming webhook. HTTPS is required except for local loopback. No API token is sent and redirects are not followed.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "operation",
      -      "args"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "args": {
      +        "additionalProperties": false,
      +        "description": "Create a planned iteration in a space with Iterations enabled.",
      +        "properties": {
      +          "body": {
      +            "additionalProperties": false,
      +            "description": "The planned iteration title, goal and dates.",
      +            "properties": {
      +              "finish_date": {
      +                "description": "Planned finish as ISO 8601; null clears it.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "goal": {
      +                "description": "Optional goal. Null leaves it unset.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "start_date": {
      +                "description": "Planned start as ISO 8601; null clears it.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "title": {
      +                "description": "Title displayed for the new iteration.",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "title"
      +            ],
      +            "type": "object"
      +          },
      +          "space_uid": {
      +            "description": "Space UUID from workspace discovery, distinct from the numeric space_id.",
      +            "minLength": 1,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "space_uid",
      +          "body"
      +        ],
      +        "type": "object"
      +      },
      +      "operation": {
      +        "const": "create_iteration",
      +        "description": "Create a planned iteration in a space with Iterations enabled.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "operation",
      +      "args"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "args": {
      +        "additionalProperties": false,
      +        "description": "Edit the iteration or move it through planned, active and closed. Supply at least one of title, goal, status, start_date or finish_date.",
      +        "properties": {
      +          "body": {
      +            "additionalProperties": false,
      +            "description": "Fields to update. Unspecified fields keep their current values.",
      +            "properties": {
      +              "actual_finish_date": {
      +                "description": "Actual completion date, ISO 8601 or null.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "finish_date": {
      +                "description": "Planned finish as ISO 8601; null clears it.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "goal": {
      +                "description": "New goal. Null clears it.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "new_iteration_id": {
      +                "anyOf": [
      +                  {
      +                    "minLength": 1,
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "description": "On closure, optionally move eligible cards to this iteration in the same space."
      +              },
      +              "start_date": {
      +                "description": "Planned start as ISO 8601; null clears it.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "status": {
      +                "anyOf": [
      +                  {
      +                    "const": "active",
      +                    "type": "string"
      +                  },
      +                  {
      +                    "const": "planned",
      +                    "type": "string"
      +                  },
      +                  {
      +                    "const": "closed",
      +                    "type": "string"
      +                  }
      +                ],
      +                "description": "Native lifecycle state. Check the current state before moving to active or closed."
      +              },
      +              "title": {
      +                "description": "New title for this iteration.",
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "id": {
      +            "description": "Iteration UUID from list_iterations.",
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "space_uid": {
      +            "description": "Space UUID from workspace discovery, distinct from the numeric space_id.",
      +            "minLength": 1,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "space_uid",
      +          "id",
      +          "body"
      +        ],
      +        "type": "object"
      +      },
      +      "operation": {
      +        "const": "update_iteration",
      +        "description": "Edit the iteration or move it through planned, active and closed. Supply at least one of title, goal, status, start_date or finish_date.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "operation",
      +      "args"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "args": {
      +        "additionalProperties": false,
      +        "description": "Remove the iteration and its original card links permanently. A valid replacement can receive the cards.",
      +        "properties": {
      +          "id": {
      +            "description": "Iteration UUID from list_iterations.",
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "new_iteration_id": {
      +            "anyOf": [
      +              {
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Optional planned or active replacement iteration UUID from the same space. Omission sends no body; null sends an explicit empty replacement."
      +          },
      +          "space_uid": {
      +            "description": "Space UUID from workspace discovery, distinct from the numeric space_id.",
      +            "minLength": 1,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "space_uid",
      +          "id"
      +        ],
      +        "type": "object"
      +      },
      +      "operation": {
      +        "const": "delete_iteration",
      +        "description": "Remove the iteration and its original card links permanently. A valid replacement can receive the cards.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "operation",
      +      "args"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "args": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "description": "Add one active card from a primary board of this space to a planned or active iteration. This transfers the card if it already belongs to another planned or active iteration.",
      +            "properties": {
      +              "card_uid": {
      +                "description": "Card UUID, distinct from the numeric card_id.",
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "iteration_id": {
      +                "description": "Iteration UUID from list_iterations.",
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "space_uid": {
      +                "description": "Space UUID from workspace discovery, distinct from the numeric space_id.",
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "space_uid",
      +              "iteration_id",
      +              "card_uid"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "additionalProperties": false,
      +            "description": "Add active cards from primary boards of this space to a planned or active iteration. Cards in another planned or active iteration move to the target. Kaiten checks addition and active-source removal restrictions for the whole batch before writing. Later errors can leave transactions of up to 100 cards applied. Re-read memberships and card iteration histories before retrying.",
      +            "properties": {
      +              "card_uids": {
      +                "description": "Supply 1 to 500 distinct card UUIDs. Get each result.uid from kaiten_cards_read get_card with format=full.",
      +                "items": {
      +                  "format": "uuid",
      +                  "type": "string"
      +                },
      +                "maxItems": 500,
      +                "minItems": 1,
      +                "type": "array",
      +                "uniqueItems": true
      +              },
      +              "iteration_id": {
      +                "description": "Iteration UUID from list_iterations.",
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "space_uid": {
      +                "description": "Space UUID from workspace discovery, distinct from the numeric space_id.",
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "space_uid",
      +              "iteration_id",
      +              "card_uids"
      +            ],
      +            "type": "object"
      +          }
      +        ]
      +      },
      +      "operation": {
      +        "const": "add_iteration_member",
      +        "description": "Choose the add_iteration_member argument form matching your task.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "operation",
      +      "args"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "args": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "description": "Remove one card’s manual membership by card UID. This leaves the card intact. Closed iterations reject removal.",
      +            "properties": {
      +              "iteration_id": {
      +                "description": "Iteration UUID from list_iterations.",
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "space_uid": {
      +                "description": "Space UUID from workspace discovery, distinct from the numeric space_id.",
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "uid": {
      +                "description": "UUID of one card to remove. Use card_uid from list_iteration_memberships.",
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "space_uid",
      +              "iteration_id",
      +              "uid"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "additionalProperties": false,
      +            "description": "Bulk-remove manual memberships and return the records actually removed. Kaiten ignores cards outside the iteration and checks all restrictions before writing. Writes run in batches of up to 100, so an execution error can leave earlier batches applied. Read back memberships before retrying.",
      +            "properties": {
      +              "card_uids": {
      +                "description": "Supply 1 to 500 distinct card UIDs from list_iteration_memberships for the bulk form.",
      +                "items": {
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "maxItems": 500,
      +                "minItems": 1,
      +                "type": "array",
      +                "uniqueItems": true
      +              },
      +              "iteration_id": {
      +                "description": "Iteration UUID from list_iterations.",
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "space_uid": {
      +                "description": "Space UUID from workspace discovery, distinct from the numeric space_id.",
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "space_uid",
      +              "iteration_id",
      +              "card_uids"
      +            ],
      +            "type": "object"
      +          }
      +        ]
      +      },
      +      "operation": {
      +        "const": "remove_iteration_member",
      +        "description": "Choose the remove_iteration_member argument form matching your task.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "operation",
      +      "args"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "args": {
      +        "additionalProperties": false,
      +        "description": "Record time in minutes for the given card and calendar date.",
      +        "properties": {
      +          "body": {
      +            "additionalProperties": false,
      +            "description": "Work date, role and duration.",
      +            "properties": {
      +              "comment": {
      +                "description": "Optional note for this work. An empty string is passed through.",
      +                "type": "string"
      +              },
      +              "for_date": {
      +                "description": "Calendar date in YYYY-MM-DD.",
      +                "format": "date",
      +                "type": "string"
      +              },
      +              "role_id": {
      +                "anyOf": [
      +                  {
      +                    "const": -1,
      +                    "type": "number"
      +                  },
      +                  {
      +                    "exclusiveMinimum": 0,
      +                    "type": "integer"
      +                  }
      +                ],
      +                "description": "Role ID from workspace role lookup. Pass -1 for the built-in Employee role."
      +              },
      +              "time_spent": {
      +                "description": "Time spent in minutes.",
      +                "type": "number"
      +              }
      +            },
      +            "required": [
      +              "role_id",
      +              "time_spent",
      +              "for_date"
      +            ],
      +            "type": "object"
      +          },
      +          "card_id": {
      +            "description": "Numeric card ID from card search or details.",
      +            "exclusiveMinimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "card_id",
      +          "body"
      +        ],
      +        "type": "object"
      +      },
      +      "operation": {
      +        "const": "add_card_time_log",
      +        "description": "Record time in minutes for the given card and calendar date.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "operation",
      +      "args"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "args": {
      +        "additionalProperties": false,
      +        "description": "Edit at least one field of an existing time-log entry. Omitted fields stay unchanged.",
      +        "properties": {
      +          "body": {
      +            "additionalProperties": false,
      +            "description": "Fields to replace on the existing log.",
      +            "properties": {
      +              "comment": {
      +                "description": "Optional note for this work. An empty string is passed through.",
      +                "type": "string"
      +              },
      +              "for_date": {
      +                "description": "Calendar date in YYYY-MM-DD.",
      +                "format": "date",
      +                "type": "string"
      +              },
      +              "role_id": {
      +                "anyOf": [
      +                  {
      +                    "const": -1,
      +                    "type": "number"
      +                  },
      +                  {
      +                    "exclusiveMinimum": 0,
      +                    "type": "integer"
      +                  }
      +                ],
      +                "description": "Role ID from workspace role lookup. Pass -1 for the built-in Employee role."
      +              },
      +              "time_spent": {
      +                "description": "Time spent in minutes.",
      +                "type": "number"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "card_id": {
      +            "description": "Numeric card ID from card search or details.",
      +            "exclusiveMinimum": 0,
      +            "type": "integer"
      +          },
      +          "time_log_id": {
      +            "description": "ID of the log record returned by list_card_time_logs or get_timesheet.",
      +            "exclusiveMinimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "card_id",
      +          "time_log_id",
      +          "body"
      +        ],
      +        "type": "object"
      +      },
      +      "operation": {
      +        "const": "update_card_time_log",
      +        "description": "Edit at least one field of an existing time-log entry. Omitted fields stay unchanged.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "operation",
      +      "args"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "args": {
      +        "additionalProperties": false,
      +        "description": "Delete the recorded time entry; subsequent reports exclude that entry.",
      +        "properties": {
      +          "card_id": {
      +            "description": "Numeric card ID from card search or details.",
      +            "exclusiveMinimum": 0,
      +            "type": "integer"
      +          },
      +          "time_log_id": {
      +            "description": "ID of the exact log record to delete.",
      +            "exclusiveMinimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "card_id",
      +          "time_log_id"
      +        ],
      +        "type": "object"
      +      },
      +      "operation": {
      +        "const": "delete_card_time_log",
      +        "description": "Delete the recorded time entry; subsequent reports exclude that entry.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "operation",
      +      "args"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "args": {
      +        "additionalProperties": false,
      +        "description": "Add an external address to a service desk card’s notification recipients. Kaiten enforces feature and policy restrictions.",
      +        "properties": {
      +          "card_id": {
      +            "description": "Numeric card ID from card search or details.",
      +            "exclusiveMinimum": 0,
      +            "type": "integer"
      +          },
      +          "email": {
      +            "description": "Email address that should receive future card notifications.",
      +            "minLength": 1,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "card_id",
      +          "email"
      +        ],
      +        "type": "object"
      +      },
      +      "operation": {
      +        "const": "add_service_desk_recipient",
      +        "description": "Add an external address to a service desk card’s notification recipients. Kaiten enforces feature and policy restrictions.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "operation",
      +      "args"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "args": {
      +        "additionalProperties": false,
      +        "description": "Remove an external address from future notifications on the given card.",
      +        "properties": {
      +          "card_id": {
      +            "description": "Numeric card ID from card search or details.",
      +            "exclusiveMinimum": 0,
      +            "type": "integer"
      +          },
      +          "email": {
      +            "description": "Exact configured address to remove, including any plus suffix.",
      +            "minLength": 1,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "card_id",
      +          "email"
      +        ],
      +        "type": "object"
      +      },
      +      "operation": {
      +        "const": "remove_service_desk_recipient",
      +        "description": "Remove an external address from future notifications on the given card.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "operation",
      +      "args"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "args": {
      +        "additionalProperties": false,
      +        "description": "Configure an event, date, or on-demand rule. Event and date types require a trigger. On-demand requires a name. Supply at least one action.",
      +        "properties": {
      +          "body": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "actions": {
      +                    "description": "Nonempty list of native actions with type and settings.",
      +                    "items": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "created": {
      +                          "type": "string"
      +                        },
      +                        "data": {
      +                          "additionalProperties": {
      +                            "$ref": "#/$defs/__schema0"
      +                          },
      +                          "propertyNames": {
      +                            "type": "string"
      +                          },
      +                          "type": "object"
      +                        },
      +                        "type": {
      +                          "minLength": 1,
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "type",
      +                        "data"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "minItems": 1,
      +                    "type": "array"
      +                  },
      +                  "conditions": {
      +                    "$ref": "#/$defs/__schema1",
      +                    "description": "Recursive condition groups, joined by and/or, for triggered rules."
      +                  },
      +                  "name": {
      +                    "description": "Display name. Required for on-demand rules.",
      +                    "type": "string"
      +                  },
      +                  "trigger": {
      +                    "additionalProperties": false,
      +                    "description": "Event/date trigger type and its native settings. Applies only to triggered rules.",
      +                    "properties": {
      +                      "data": {
      +                        "additionalProperties": {
      +                          "$ref": "#/$defs/__schema0"
      +                        },
      +                        "propertyNames": {
      +                          "type": "string"
      +                        },
      +                        "type": "object"
      +                      },
      +                      "hasToFireOnCardCreation": {
      +                        "type": "boolean"
      +                      },
      +                      "type": {
      +                        "description": "For Iterations, use iteration_card_added or iteration_card_removed with on_action for membership events. Use iteration_start_date_on_date or iteration_finish_date_on_date with on_date for the relevant date in this space. These triggers require the Iterations feature.",
      +                        "enum": [
      +                          "card_moved_in_path",
      +                          "card_created",
      +                          "comment_posted",
      +                          "card_user_added",
      +                          "responsible_added",
      +                          "card_type_changed",
      +                          "card_state_changed",
      +                          "custom_property_changed",
      +                          "due_date_changed",
      +                          "checklist_item_checked",
      +                          "checklists_completed",
      +                          "child_cards_state_changed",
      +                          "tag_added",
      +                          "tag_removed",
      +                          "blocked",
      +                          "unblocked",
      +                          "blocker_added",
      +                          "due_date_on_date",
      +                          "checklist_item_due_date_on_date",
      +                          "custom_property_date_on_date",
      +                          "all_conditions_met",
      +                          "iteration_card_added",
      +                          "iteration_card_removed",
      +                          "iteration_start_date_on_date",
      +                          "iteration_finish_date_on_date"
      +                        ],
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "type"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": {
      +                    "description": "on_action for an event, on_date for a date trigger, or on_demand for the named manually triggered rule.",
      +                    "enum": [
      +                      "on_action",
      +                      "on_date"
      +                    ],
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "type",
      +                  "trigger",
      +                  "actions"
      +                ],
      +                "type": "object"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "actions": {
      +                    "description": "Nonempty list of native actions with type and settings.",
      +                    "items": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "created": {
      +                          "type": "string"
      +                        },
      +                        "data": {
      +                          "additionalProperties": {
      +                            "$ref": "#/$defs/__schema0"
      +                          },
      +                          "propertyNames": {
      +                            "type": "string"
      +                          },
      +                          "type": "object"
      +                        },
      +                        "type": {
      +                          "minLength": 1,
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "type",
      +                        "data"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "minItems": 1,
      +                    "type": "array"
      +                  },
      +                  "name": {
      +                    "description": "Display name. Required for on-demand rules.",
      +                    "type": "string"
      +                  },
      +                  "type": {
      +                    "const": "on_demand",
      +                    "description": "on_action for an event, on_date for a date trigger, or on_demand for the named manually triggered rule.",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "type",
      +                  "name",
      +                  "actions"
      +                ],
      +                "type": "object"
      +              }
      +            ],
      +            "description": "Select the trigger-based or on-demand definition to match the intended rule."
      +          },
      +          "space_id": {
      +            "description": "Numeric space ID from workspace discovery.",
      +            "exclusiveMinimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "space_id",
      +          "body"
      +        ],
      +        "type": "object"
      +      },
      +      "operation": {
      +        "const": "create_automation",
      +        "description": "Configure an event, date, or on-demand rule. Event and date types require a trigger. On-demand requires a name. Supply at least one action.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "operation",
      +      "args"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "args": {
      +        "additionalProperties": false,
      +        "description": "Update only supplied rule fields. Provide the full desired action list or condition tree when changing it.",
      +        "properties": {
      +          "automation_uid": {
      +            "description": "Automation UID returned by list_automations for the same space.",
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "body": {
      +            "anyOf": [
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "actions": {
      +                    "description": "Complete desired action list, with at least one action if supplied.",
      +                    "items": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "created": {
      +                          "type": "string"
      +                        },
      +                        "data": {
      +                          "additionalProperties": {
      +                            "$ref": "#/$defs/__schema0"
      +                          },
      +                          "propertyNames": {
      +                            "type": "string"
      +                          },
      +                          "type": "object"
      +                        },
      +                        "type": {
      +                          "minLength": 1,
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "type",
      +                        "data"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "minItems": 1,
      +                    "type": "array"
      +                  },
      +                  "conditions": {
      +                    "$ref": "#/$defs/__schema1",
      +                    "description": "Replacement recursive condition tree for a triggered rule."
      +                  },
      +                  "name": {
      +                    "description": "New display name for the rule.",
      +                    "type": "string"
      +                  },
      +                  "trigger": {
      +                    "additionalProperties": false,
      +                    "description": "Replacement trigger and settings when changing a trigger-based rule.",
      +                    "properties": {
      +                      "data": {
      +                        "additionalProperties": {
      +                          "$ref": "#/$defs/__schema0"
      +                        },
      +                        "propertyNames": {
      +                          "type": "string"
      +                        },
      +                        "type": "object"
      +                      },
      +                      "hasToFireOnCardCreation": {
      +                        "type": "boolean"
      +                      },
      +                      "type": {
      +                        "description": "For Iterations, use iteration_card_added or iteration_card_removed with on_action for membership events. Use iteration_start_date_on_date or iteration_finish_date_on_date with on_date for the relevant date in this space. These triggers require the Iterations feature.",
      +                        "enum": [
      +                          "card_moved_in_path",
      +                          "card_created",
      +                          "comment_posted",
      +                          "card_user_added",
      +                          "responsible_added",
      +                          "card_type_changed",
      +                          "card_state_changed",
      +                          "custom_property_changed",
      +                          "due_date_changed",
      +                          "checklist_item_checked",
      +                          "checklists_completed",
      +                          "child_cards_state_changed",
      +                          "tag_added",
      +                          "tag_removed",
      +                          "blocked",
      +                          "unblocked",
      +                          "blocker_added",
      +                          "due_date_on_date",
      +                          "checklist_item_due_date_on_date",
      +                          "custom_property_date_on_date",
      +                          "all_conditions_met",
      +                          "iteration_card_added",
      +                          "iteration_card_removed",
      +                          "iteration_start_date_on_date",
      +                          "iteration_finish_date_on_date"
      +                        ],
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "type"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "type": {
      +                    "description": "Rule kind controlling which trigger fields can be supplied.",
      +                    "enum": [
      +                      "on_action",
      +                      "on_date"
      +                    ],
      +                    "type": "string"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "actions": {
      +                    "description": "Complete desired action list, with at least one action if supplied.",
      +                    "items": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "created": {
      +                          "type": "string"
      +                        },
      +                        "data": {
      +                          "additionalProperties": {
      +                            "$ref": "#/$defs/__schema0"
      +                          },
      +                          "propertyNames": {
      +                            "type": "string"
      +                          },
      +                          "type": "object"
      +                        },
      +                        "type": {
      +                          "minLength": 1,
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "type",
      +                        "data"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "minItems": 1,
      +                    "type": "array"
      +                  },
      +                  "name": {
      +                    "description": "New display name for the rule.",
      +                    "type": "string"
      +                  },
      +                  "type": {
      +                    "const": "on_demand",
      +                    "description": "Rule kind controlling which trigger fields can be supplied.",
      +                    "type": "string"
      +                  }
      +                },
      +                "type": "object"
      +              }
      +            ],
      +            "description": "Fields to update. Inspect the current rule first to retain existing actions and conditions."
      +          },
      +          "space_id": {
      +            "description": "Numeric space ID from workspace discovery.",
      +            "exclusiveMinimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "space_id",
      +          "automation_uid",
      +          "body"
      +        ],
      +        "type": "object"
      +      },
      +      "operation": {
      +        "const": "update_automation",
      +        "description": "Update only supplied rule fields. Provide the full desired action list or condition tree when changing it.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "operation",
      +      "args"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "args": {
      +        "additionalProperties": false,
      +        "description": "Remove the rule by UID. Existing card changes made by it are not rolled back.",
      +        "properties": {
      +          "automation_uid": {
      +            "description": "Automation UID returned by list_automations for the same space.",
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "space_id": {
      +            "description": "Numeric space ID from workspace discovery.",
      +            "exclusiveMinimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "space_id",
      +          "automation_uid"
      +        ],
      +        "type": "object"
      +      },
      +      "operation": {
      +        "const": "delete_automation",
      +        "description": "Remove the rule by UID. Existing card changes made by it are not rolled back.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "operation",
      +      "args"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "args": {
      +        "additionalProperties": false,
      +        "description": "Create a card through a previously configured incoming webhook. HTTPS is required except for local loopback. No API token is sent and redirects are not followed.",
      +        "properties": {
      +          "body": {
      +            "additionalProperties": false,
      +            "description": "Card title and optional fields accepted by the incoming webhook.",
      +            "properties": {
      +              "asap": {
      +                "description": "Whether to mark the card urgent.",
      +                "type": "boolean"
      +              },
      +              "description": {
      +                "description": "Text to store in the description of the card.",
      +                "type": "string"
      +              },
      +              "due_date": {
      +                "description": "Native Kaiten due date sent to the webhook.",
      +                "type": "string"
      +              },
      +              "links": {
      +                "description": "External links and their optional descriptions.",
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "description": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "url": {
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "url"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "members": {
      +                "description": "Numeric Kaiten user IDs to include as card members.",
      +                "items": {
      +                  "exclusiveMinimum": 0,
      +                  "type": "integer"
      +                },
      +                "type": "array"
      +              },
      +              "owner_id": {
      +                "description": "Numeric Kaiten user ID to set as card owner.",
      +                "exclusiveMinimum": 0,
      +                "type": "integer"
      +              },
      +              "properties": {
      +                "additionalProperties": {
      +                  "$ref": "#/$defs/__schema2"
      +                },
      +                "description": "Native id_ property keys and values. Resolve the property definitions before assigning them.",
      +                "propertyNames": {
      +                  "pattern": "^id_[1-9]\\d*$",
      +                  "type": "string"
      +                },
      +                "type": "object"
      +              },
      +              "tags": {
      +                "description": "Tag names passed to the webhook.",
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              "title": {
      +                "description": "Title of the new card.",
      +                "minLength": 1,
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "title"
      +            ],
      +            "type": "object"
      +          },
      +          "webhook_url": {
      +            "description": "Exact secret webhook URL configured for the intended destination. Do not include it in user-facing summaries.",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "webhook_url",
      +          "body"
      +        ],
      +        "type": "object"
      +      },
      +      "operation": {
      +        "const": "send_card_webhook",
      +        "description": "Create a card through a previously configured incoming webhook. HTTPS is required except for local loopback. No API token is sent and redirects are not followed.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "operation",
      +      "args"
      +    ],
      +    "type": "object"
      +  }
      +]
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "result": {
      -        "$ref": "#/$defs/__schema0",
      -        "description": "The selected mutation’s native Kaiten JSON."
      -      }
      -    },
      -    "required": [
      -      "result"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "result": {
      -        "additionalProperties": {},
      -        "properties": {
      -          "removed": {
      -            "description": "Manual membership records that Kaiten removed.",
      -            "items": {
      -              "$ref": "#/$defs/__schema1"
      -            },
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "removed"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "result"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "result": {
      +        "$ref": "#/$defs/__schema0",
      +        "description": "The selected mutation’s native Kaiten JSON."
      +      }
      +    },
      +    "required": [
      +      "result"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "result": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "added": {
      +            "description": "New memberships in the target iteration.",
      +            "items": {
      +              "additionalProperties": {},
      +              "properties": {
      +                "card_uid": {
      +                  "type": "string"
      +                },
      +                "iteration_id": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "iteration_id",
      +                "card_uid"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "ineligible": {
      +            "description": "Card UUIDs that became ineligible during execution.",
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "removed": {
      +            "description": "Memberships removed from previous iterations during transfers.",
      +            "items": {
      +              "additionalProperties": {},
      +              "properties": {
      +                "card_uid": {
      +                  "type": "string"
      +                },
      +                "iteration_id": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "iteration_id",
      +                "card_uid"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          "skipped": {
      +            "description": "Existing memberships already in the target iteration.",
      +            "items": {
      +              "additionalProperties": {},
      +              "properties": {
      +                "card_uid": {
      +                  "type": "string"
      +                },
      +                "iteration_id": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "iteration_id",
      +                "card_uid"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "added",
      +          "removed",
      +          "skipped",
      +          "ineligible"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "result"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "result": {
      +        "additionalProperties": {},
      +        "properties": {
      +          "removed": {
      +            "description": "Manual membership records that Kaiten removed.",
      +            "items": {
      +              "$ref": "#/$defs/__schema1"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "removed"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "result"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Addedv3.0.0

TDQS

A4.8/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare destructiveHint=true and idempotentHint=false, but the description adds material behavior beyond them: Kaiten validates restrictions before a bulk write yet a later failure can leave earlier batches applied, delete_iteration permanently removes original card links, deleting a rule leaves past card changes intact, and 429 failures are returned without automatic retries. It also discloses auth/routing behavior for send_card_webhook (secret URL determines routing, REST token is not sent, HTTPS required, redirects not followed).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The summary sentence and the read-first rule are front-loaded, and the four bullets map cleanly onto the operation families. It is dense but proportionate to a 14-operation tool; the one redundancy is the verbatim time-log body example, which largely restates the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a high-complexity multi-operation write tool, the description covers cross-cutting hazards (partial batch application, no retries, re-read state before retrying), permission/feature requirements, and sibling routing. An output schema exists, so return-value details are appropriately omitted.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the discriminated union already documents each operation's args, so the schema carries most of the load. The description still adds disambiguation the schema only implies, notably the distinction between 'new_iteration_id for deletion' versus 'body.new_iteration_id when closing', the 1-500 distinct card_uids bulk limit, and a concrete time-log body example with role_id -1 for the built-in Employee role.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the concrete domains it mutates (iteration membership and schedules, time logs, service desk recipients, automation rules, webhook card creation) and uses specific verbs like 'add_iteration_member', 'record an hour', and 'route a new card'. It also explicitly separates itself from two siblings: read state with kaiten_workflows_read and use kaiten_cards_write for normal card creation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states a read-before-write prerequisite ('Read current state and IDs with kaiten_workflows_read before writing'), names an alternative for the overlapping card-creation case ('Use kaiten_cards_write for normal card creation'), and gives per-domain preconditions such as checking the service's recipient policy and reading the current automation before replacing its action list.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.