CreatePieceTool
Create new work items (Tasks, Stories, Epics, Recurents) in McpTask.online with full authorization controls. A dependency on another piece is declared with blocked_by_relative_ids — the new piece waits for the ids listed there. Existing links are managed with ManageBlockerLinksTool, where piece_relative_id is the WAITING piece and blocker_relative_ids are the pieces it waits for.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name/title of the piece | |
| repeat_on | No | Days to repeat on (for Recurents) - comma separated weekday names | |
| sprint_id | No | Database ID (primary key) of the sprint to assign the piece to (not relative_id) | |
| for_errors | No | Whether this Epic is the project's bug bucket (Epic only). Passing it for another piece type returns a validation error. | |
| piece_type | Yes | Type of piece to create: Task, Story, Epic, or Recurent | |
| description | No | Optional description of the piece | |
| account_code | Yes | Account code (e.g., "bcp", "jchsoft") | |
| repeat_after | No | Days to repeat after (for Recurents) | |
| priority_code | No | Priority code | |
| task_type_code | No | Task type code (for Tasks only) | |
| assigned_user_id | No | Database ID (primary key) of the user to assign the piece to. Must belong to the same account; unknown IDs return an error rather than silently producing an unassigned piece. | |
| scrum_point_code | No | Scrum point/complexity code. Task/Recurent: ! (0), S (3), M (5), L (8), XL (13), XXL (40), XXXL (100). Story: m! (0), mS (42), mM (70), mL (112), mXL (182), mXXL (560), mXXXL (1400) | |
| parent_relative_id | No | Relative ID of a parent piece in the same project. Omit to attach to the project root. Story/Recurent/Epic parent must be an Epic; Task may parent an Epic, Story, Recurent, or Task | |
| project_relative_id | Yes | Account-scoped relative ID of the target project (not the database ID) | |
| blocked_by_relative_ids | No | Relative IDs of the pieces this piece waits for (its blocked_by links). Additive: it only adds links — remove them with ManageBlockerLinksTool(action: "remove"); an id already linked is refused, do not re-send it. All-or-nothing: one id that does not resolve in the account rejects the whole call and creates nothing. |