Skip to content

Expose runtime tool context schema#321

Open
chubes4 wants to merge 6 commits into
mainfrom
fix/runtime-tool-context-schema
Open

Expose runtime tool context schema#321
chubes4 wants to merge 6 commits into
mainfrom
fix/runtime-tool-context-schema

Conversation

@chubes4

@chubes4 chubes4 commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds explicit agents/chat client context schema fields for trusted runtime-local tool declarations and callbacks.
  • Keeps runtime tool context auditable instead of relying on undeclared ambient payload keys.

Testing

  • php -l src/Channels/register-agents-chat-ability.php
  • php tests/agents-chat-ability-smoke.php
  • git diff --check

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (openai/gpt-5.5)
  • Used for: Diagnosing the Studio Web browser runtime tool contract failure, drafting the schema/test change, and running focused verification.

@chubes4 chubes4 force-pushed the fix/runtime-tool-context-schema branch from 5de8b07 to 7489db6 Compare June 8, 2026 23:47
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.

1 participant