log_time
Record time spent on a Redmine task by specifying issue ID, hours, and comment, with optional activity and date.
Instructions
Log thời gian làm việc vào task với đầy đủ parameters. Args: issue_id: ID của task hours: Số giờ (ví dụ 1.5) comment: Mô tả công việc đã làm activity_id: ID của activity (ví dụ: 14 cho Development). Default: từ cache spent_on: Ngày làm việc (YYYY-MM-DD). Default: today custom_fields: Custom fields dạng JSON string (ví dụ: '[{"id": 64, "value": "Coding"}]')
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": {
"issue_id": "<issue_id>",
"hours": "<hours>",
"comment": "<comment>"
},
"name": "log_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issue_id | Yes | ||
| hours | Yes | ||
| comment | Yes | ||
| activity_id | No | ||
| spent_on | No | ||
| custom_fields | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |