task_commit
Links a Git commit to a task by reading its SHA, subject, and time from the repository; repeat calls are safe and keep the run lease active.
Instructions
Link a git commit to the task: sha, subject and time are read from the repository. Use repository for a nested repository of the project. Linking the same commit twice changes nothing. Keeps your run lease alive.
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": {
"task_id": "<task_id>"
},
"name": "task_commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commit | No | Commit sha or revision. Defaults to HEAD. | |
| task_id | Yes | Canonical UUIDv7 task identifier. | |
| repository | No | Repository folder relative to the project root, for projects with several repositories. Defaults to the root. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | ||
| error | No | ||
| commit | No | ||
| linked | Yes | ||
| schema_version | Yes |