Log time
time_logLog hours spent on a Redmine issue or project and return the created time entry with its ID.
Instructions
Logs time on an issue or a project. Returns the created entry (with its id).
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": {
"hours": "<hours>"
},
"name": "time_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | Yes | Hours spent. | |
| comments | No | Short comment. | |
| issue_id | No | Issue id (or project_id; one is required). | |
| spent_on | No | Date YYYY-MM-DD (defaults to today). | |
| project_id | No | Project id or identifier. | |
| activity_id | No | Activity id (defaults to the server default). |