erpnext_remove_time_log
Removes a specific time log from a draft ERPNext timesheet by index and prevents removal of the last remaining log.
Instructions
Remove a specific time log from a draft timesheet. Cannot remove the last time log.
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": {
"timesheet": "<timesheet>",
"time_log_index": "<time_log_index>"
},
"name": "erpnext_remove_time_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timesheet | Yes | Timesheet ID (e.g., TS-00001) | |
| time_log_index | Yes | Index of the time log to remove (0-based) |