Skip to content

feat(OpenAI): add support for programmatic tool calling in Responses API - #790

Merged
iBotPeaches merged 7 commits into
openai-php:mainfrom
e4se:add-programmatic-tools-only
Jul 27, 2026
Merged

feat(OpenAI): add support for programmatic tool calling in Responses API#790
iBotPeaches merged 7 commits into
openai-php:mainfrom
e4se:add-programmatic-tools-only

Conversation

@e4se

@e4se e4se commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

What:

  • Bug Fix
  • New Feature

Description:

Adds support for Programmatic Tool Calling in the Responses API.

The client now parses and serializes program and program_output items in regular, streamed, stored, and conversation responses. It preserves caller linkage for function and custom tool calls and outputs, and supports allowed_callers and output_schema for eligible top-level and namespaced tools.

@iBotPeaches

Copy link
Copy Markdown
Collaborator

I'll sit on this till 0.21.0, so I'll cut a 0.20.1 later today.

@e4se

e4se commented Jul 20, 2026

Copy link
Copy Markdown
Contributor Author

Okay, I will update it and resolve my conflicts later today

e4se added 3 commits July 20, 2026 14:17
…s-only

# Conflicts:
#	src/Responses/Responses/Output/OutputFunctionToolCall.php
#	src/Responses/Responses/Streaming/OutputItem.php
#	tests/Responses/Responses/CreateStreamedResponse.php
#	tests/Responses/Responses/Output/OutputFunctionToolCall.php
@iBotPeaches iBotPeaches changed the title Feature: add support for programmatic tool calling in Responses API feat(OpenAI): add support for programmatic tool calling in Responses API Jul 27, 2026
@iBotPeaches
iBotPeaches merged commit 5d4dc90 into openai-php:main Jul 27, 2026
14 checks passed
@e4se
e4se deleted the add-programmatic-tools-only branch July 27, 2026 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants