get_commit
Retrieve detailed commit information from Pagure git forges by specifying project, commit hash, and namespace parameters.
Instructions
Get detailed information about a specific commit.
Args: project: Project name commit_hash: Commit hash (full or short) namespace: Project namespace (default: rpms)
Returns: JSON string with commit details
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": {
"project": "<project>",
"commit_hash": "<commit_hash>"
},
"name": "get_commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | ||
| commit_hash | Yes | ||
| namespace | No | rpms |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |