mirror of
https://github.com/openai/codex.git
synced 2026-05-01 01:47:18 +00:00
add manual tool execution mode
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -1543,9 +1543,25 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ToolExecutionMode": {
|
||||
"enum": [
|
||||
"auto",
|
||||
"manual"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ToolsToml": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"execution_mode": {
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ToolExecutionMode"
|
||||
}
|
||||
],
|
||||
"default": null,
|
||||
"description": "Execution policy for approval-capable tools."
|
||||
},
|
||||
"view_image": {
|
||||
"default": null,
|
||||
"description": "Enable the `view_image` tool that lets the agent attach local images.",
|
||||
|
||||
Reference in New Issue
Block a user