write_collection_add
Appends items to an existing Targetprocess entity collection without replacing current entries, letting you add or link related records while preserving existing data.
Instructions
Append items to a collection of any entity (raw); nothing is replaced.
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": {
"resource": "<resource>",
"id": "<id>",
"collection": "<collection>",
"items": "<items>"
},
"name": "write_collection_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| items | Yes | Items to add, e.g. [{"GeneralUser":{"Id":1},"Role":{"Id":13}}] or [{"Id":42}] to link an existing entity | |
| resource | Yes | Resource name (UserStory) or plural path (UserStories); see read_meta | |
| collection | Yes | Collection name from read_meta, e.g. Assignments, TagObjects, Builds |