Skip to content

Feature: add support for programmatic tool calling in Responses API#790

Open
e4se wants to merge 7 commits into
openai-php:mainfrom
e4se:add-programmatic-tools-only
Open

Feature: add support for programmatic tool calling in Responses API#790
e4se wants to merge 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
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