Edit Time Entry
ntime_edit_sessionUse this when you need to change a saved session's work item, activity type, start or end time, or note. Pauses merge into one block when times change. Running sessions allow only work, type, and note changes; invoiced sessions cannot be changed.
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": {
"session": "<session>"
},
"name": "ntime_edit_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| type | No | Activity type: coding, office, meeting, or learning. Defaults to the work item's inherited type, or office. Hobby, habit, and personal work use their own type. | |
| work | No | Work name, full path ("Studio / Ntime"), or ID; case-insensitive. | |
| endIso | No | New end time, ISO 8601, for example 2026-10-17T09:00:00+03:00. | |
| session | Yes | Session ID returned by a status or report result. | |
| startIso | No | New start time, ISO 8601, for example 2026-10-17T09:00:00+03:00. | |
| idempotencyKey | No | On a retry, the same key returns the first result without repeating the operation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| mode | Yes | ||
| note | Yes | ||
| work | Yes | ||
| state | Yes | ||
| source | Yes | ||
| workId | Yes | ||
| elapsed | Yes | ||
| activity | Yes | ||
| elapsedMs | Yes | ||
| startedAt | Yes | ||
| stoppedAt | Yes | ||
| lastSeenAt | Yes | ||
| idleMinutes | Yes |