generate_patch
Generate a validated unified diff for a coding task, constrained to allowed file paths, without modifying the repository.
Instructions
Generate a validated candidate unified diff without editing the repository.
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": {
"task": "<task>",
"file_context": "<file_context>",
"allowed_paths": "<allowed_paths>"
},
"name": "generate_patch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | ||
| model | No | gpt-5.6-sol | |
| constraints | No | ||
| file_context | Yes | ||
| allowed_paths | Yes | ||
| test_failures | No |