Extract PR details from completed session
jules_extract_pr_from_sessionRetrieve pull request details and change set (git patch, suggested commit message) from a completed Jules session. Get the PR URL, title, description, and branch refs, or the patch when no PR was created.
Instructions
Extract pull request and/or change set information from a completed Jules session's outputs. Returns the full pull request (url, title, description, baseRef, headRef) when AUTO_CREATE_PR was used, and the change set (git patch, suggested commit message) when present. Sessions that produced a patch but no PR still return their changeSet.
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": {
"session_id": "<session_id>"
},
"name": "jules_extract_pr_from_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | The completed Jules session ID |