create_time_entry_until
Create a completed OpenProject time entry using start and end times; hours are calculated locally, avoiding manual duration input.
Instructions
Create a time entry by start/end time instead of a duration.
Computes hours = end_time - start_time locally; only hours and start_time are sent to OpenProject (end_time itself is never accepted by the server, see create_time_entry's docstring). end_time must be strictly after start_time. There is no ongoing parameter here -- a time entry with a known end time is complete, not still running; use create_time_entry for an ongoing entry.
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": {
"activity": "<activity>",
"start_time": "<start_time>",
"end_time": "<end_time>",
"spent_on": "<spent_on>"
},
"name": "create_time_entry_until"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | No | ||
| comment | No | ||
| confirm | No | false: preview only, nothing changes. true: applies it; get the user's approval of the preview first. | |
| project | No | Project identifier, id, or name; a unique part of a name or identifier also matches. | |
| activity | Yes | ||
| end_time | Yes | ||
| spent_on | Yes | ||
| start_time | Yes | ||
| work_package_id | No | Work package id (e.g. 952) or display id (e.g. "PROJ-51"), not the bare number 51. |