wakatime_mark_consumed
Mark time ranges as consumed after a commit to prevent double-counting in subsequent WakaTime session duration calls.
Instructions
Mark time ranges as consumed after a commit. Prevents double-counting in subsequent session_duration calls.
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": {
"commit_hash": "<commit_hash>",
"file_paths": "<file_paths>"
},
"name": "wakatime_mark_consumed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | No | Branch name (optional) | |
| file_paths | Yes | File paths that were committed (required) | |
| commit_hash | Yes | Git commit hash (required) |