create_time_entry
Log time spent on Freshservice tickets to track work hours and billable activities for accurate reporting and billing.
Instructions
Log time spent on a Freshservice ticket
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": {
"ticket_id": "<ticket_id>",
"agent_id": "<agent_id>",
"time_spent": "<time_spent>"
},
"name": "create_time_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticket_id | Yes | The ticket ID | |
| agent_id | Yes | Agent who performed the work | |
| time_spent | Yes | Time spent (e.g. '01:30' for 1h 30m) | |
| note | No | Description of work done | |
| billable | No | Whether this time is billable | |
| executed_at | No | When the work was done (ISO 8601) |