create_direct_session
Initiates a direct editing session for ChatGPT to apply patches to a repository, with optional read-only mode for verification-only tasks.
Instructions
Create a Direct editing session for ChatGPT to apply patches directly. Requires enableDirectProfile: true in config.
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": {
"repo_path": "<repo_path>"
},
"name": "create_direct_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional title describing the session's purpose | |
| repo_path | Yes | Repository path inside workspaceRoot (e.g., 'my-project') | |
| expected_changes | No | Set false for an explicitly read-only or verification-only session where an empty diff is expected. |