git-log
Commit history for a ref / path.
id tool/git-logv1.0.0function git_log
Signature
| Parameter | Type | Required | Description |
|---|---|---|---|
ref | string | no | Ref to log (default: HEAD) |
path | string | no | Restrict to path |
limit | number | no | Max commits |
| returns | array | Commit objects {sha, author, date, subject}. |
Tool definition for the model
{
"name": "git_log",
"description": "Return commits for a ref or path.",
"input_schema": {
"type": "object",
"properties": {
"ref": {
"type": "string",
"description": "Ref to log (default: HEAD)"
},
"path": {
"type": "string",
"description": "Restrict to path"
},
"limit": {
"type": "number",
"description": "Max commits"
}
},
"required": []
}
}Author convergent-systems-key. Source convergent-systems-co/agent-atoms (original ↗). License Apache-2.0. Re-typed from tool-definition by scripts/migrate-policy-tool.py.