log_time
Record time spent in Redmine for an issue or project by specifying hours, date, and optional comment or activity.
Instructions
Log time spent, tied to either an issue or a project.
Args: hours: amount of time worked (e.g. 2.5). date: date the work was done, YYYY-MM-DD format. issue_id: issue ID (use this OR project_identifier, not both). project_identifier: project identifier (if not tying this to a specific issue). activity_id: activity type ID (varies per instance; use list_time_entry_activities to see the options). comment: description of what was done.
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>",
"date": "<date>"
},
"name": "log_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| hours | Yes | ||
| comment | No | ||
| issue_id | No | ||
| activity_id | No | ||
| project_identifier | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |