Add Commit
add_commitLog a commit for a task (secondary detail — the linked pull request is the primary deliverable, see link_pr).
When to use:
After a notable commit: log hash and message
When completing work: optionally pass commits to complete_task instead
Example: After git commit, call this with the commit hash and message.
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": {
"projectId": "<projectId>",
"taskId": "<taskId>",
"hash": "<hash>",
"message": "<message>"
},
"name": "add_commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | Yes | Commit hash (short or full) | |
| taskId | Yes | ||
| message | Yes | Commit message in conventional commits format: type(scope): description. E.g., "feat(auth): add OAuth login" | |
| projectId | Yes | Project ID. Use list_projects to find available project IDs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | Yes | ||
| taskId | Yes | ||
| success | Yes | ||
| dashboardUrl | No | Full dashboard URL of the affected resource |