Merge entries
merge_entriesCombine multiple time entries from the same project and day into the first one by summing minutes and joining notes; the other entries are removed.
Instructions
Fold several entries (same project, same day) into the first one: minutes are added and notes joined. The others are removed.
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": {
"ids": "<ids>"
},
"name": "merge_entries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Ids of the entries to merge; the first one is kept (2 to 20, same project and day) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The kept entry | |
| merged | Yes | How many entries were folded together | |
| minutes | Yes | Its new total |