mirror of
https://github.com/openai/codex.git
synced 2026-04-25 15:15:15 +00:00
Add optional tool context to request_user_input
Add optional tool/arguments fields to request_user_input events and app-server tool/requestUserInput params, then wire MCP approval flows to populate and forward them.
This commit is contained in:
@@ -549,6 +549,7 @@
|
||||
"ToolRequestUserInputParams": {
|
||||
"description": "EXPERIMENTAL. Params sent with a request_user_input event.",
|
||||
"properties": {
|
||||
"arguments": true,
|
||||
"itemId": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -561,6 +562,12 @@
|
||||
"threadId": {
|
||||
"type": "string"
|
||||
},
|
||||
"tool": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"turnId": {
|
||||
"type": "string"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user