Get a session's code changes
get_session_diffRetrieve the uncommitted changes a teammate attached to a shared session as a unified diff, so you can inspect exact code state and apply it with git apply.
Instructions
The uncommitted changes a teammate attached to a shared session, as a unified diff. Use it to see exact code state; to apply it, write it to a file and run git apply.
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": {
"id": "<id>"
},
"name": "get_session_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Session id | |
| max_chars | No | Cut the diff at this many characters (default 100000) |