track_time
Log working hours on a specific job by providing job ID and description. Supports duration in hours or start/end times for flexible time tracking.
Instructions
Log working hours on a specific job in easyJOB. Creates a TimeRecording entry for the configured user. Supports duration (amount) OR start/end times (from_time/to_time).
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": {
"job_id": "<job_id>",
"description": "<description>"
},
"name": "track_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Optional date for the entry in YYYY-MM-DD format. Defaults to today. | |
| amount | No | The duration of time in hours (e.g., 1.5 for 1h 30m). Optional if from_time and to_time are provided. | |
| job_id | Yes | The internal ID of the Job. | |
| to_time | No | Optional ending time in HH:MM format (e.g., '15:45'). | |
| from_time | No | Optional starting time in HH:MM format (e.g., '13:00'). | |
| product_id | No | Optional internal ProductId. | |
| activity_id | No | Optional internal ID of the Activity (Leistung) associated with the job (e.g., 32004). | |
| customer_id | No | Optional internal CustomerId. Usually resolved automatically from the JobId. | |
| description | Yes | Details of what was worked on. | |
| time_recording_type_id | No | Optional internal TimeRecordingTypeId (type of work). |