WIP: RequestUserInput tool

This commit is contained in:
shijie-openai
2026-01-16 23:20:59 -08:00
parent c6ce1c70fa
commit e3f7223f54
22 changed files with 594 additions and 14 deletions

View File

@@ -505,6 +505,12 @@ server_request_definitions! {
response: v2::FileChangeRequestApprovalResponse,
},
/// Request input from the user for a tool call.
ToolRequestUserInput => "item/tool/requestUserInput" {
params: v2::ToolRequestUserInputParams,
response: v2::ToolRequestUserInputResponse,
},
/// DEPRECATED APIs below
/// Request to approve a patch.
/// This request is used for Turns started via the legacy APIs (i.e. SendUserTurn, SendUserMessage).