add manual tool execution mode

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
ashwinnathan-openai
2026-03-16 18:13:35 -07:00
parent b77fe8fefe
commit 5cc05f66aa
25 changed files with 450 additions and 6 deletions

View File

@@ -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.",