Skip to main content

delete_items

Remove one or many items from a project in one call, as one change: if any id is invalid nothing is deleted and the error names its index. Deleting a container takes its content along. At most 200 ids. A comment pin is deleted with delete_comment.

Tool name: delete_items

Parameters​

ParameterTypeRequiredDefaultDescription
projectIdstringYes—Target project (map) id.
itemIdsstring[]Yes—Ids of the items to delete, at most 200, e.g. from get_project.

Returns​

{ "deleted": 2, "itemIds": ["11aa22bb-...", "33cc44dd-..."] }

Example​

"Remove the outdated 'Q2 Goals' label and its arrow."

{
"projectId": "a1b2c3d4-...",
"itemIds": ["11aa22bb-...", "33cc44dd-..."]
}