Get Kimi File Diff
kimi_get_diffRetrieve the exact diff for one changed file in a Kimi session workspace. Use after a handoff or review identifies a modified path to get precise patch content without modifying the file.
Instructions
Read the diff for one file in a Kimi session workspace. Use after kimi_get_handoff or kimi_review_package identifies a changed path and exact patch content is needed. This is read-only; it does not modify the file or session. The path should refer to a file in the target session workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Workspace-relative file path whose diff should be returned. Prefer a path reported by kimi_get_handoff or kimi_review_package. | |
| sessionId | Yes | Kimi session ID that owns the workspace/file change. |